Kodi Community Forum

Full Version: Asrock 330HT remote and Ubuntu lucid 10.04rc1?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yesterday I tried to get the above combination to work. But failed.

This works good for xbmc live 9.11 v14:
Code:
sudo –s
apt-get install wget
wget http://tinyurl.com/cir-driver-ion330ht (this is the 1.01 driver from Asrock)
dpkg -i ir-driver-ion330ht.deb
reboot

I cant get the above working on lucid (clean ubuntu install + xbmc). For some reason the lirc service cant start (maybe due to driver issues?)

Anyone that tried to get the Asrock remote working on lucid yet?

Tonight I will add the error message. Any logs I should check specifically?

EDIT:
Also tried the 1.04 driver from the Asrock website (.deb file is inclued for 9.10, so maybe I need to use the source?) Followed the steps from the included pdf document. Lirc wont start Sad

EDIT2:
Made a support request at Asrock. No luck sofar. The Q/A below:
Q:In the download section of the IOn 300HT there is a driver for the for the remote. Made for Ubuntu 9.10. This driver wont work with Ubuntu 10.04 Lucid lynx. LIRC wont start with it.

Can you make a new .deb file for Ubuntu 10.04 Lucid Lynx?

A:Thank you for contacting ASRock.

For the MCE remote control, please kindly use the Ubuntu 9.10 version first.
Hello

This is solved/worked around in this Launchpad bug:

https://bugs.launchpad.net/ubuntu/+sourc...bug/570700

To summarize:

1. Download latest drivers (1.04 as of today)

$ wget http://europe.asrock.com/downloadsite/dr...(9.10).zip

2. Unpack & install

$ unzip IR(9.10).zip

$ sudo aptitude install lirc-modules-source
$ sudo dpkg -i lirc-nct677x-src-1.0.4-ubuntu9.10.deb lirc-nct677x-1.0.4-ubuntu9.10.deb

(or x64 if you have 64-bit system but that is not tested by me)

3. Install a custom version of lirc-modules-source to remove a patch

$ cd /tmp
$ apt-get source lirc-modules-source
$ sudo apt-get build-dep lirc-modules-source
$ cd /tmp/lirc-0.8.6
$ vi debian/patches/series # remove the lirc_dev-2.6.33.patch line and save
$ debuild
$ sudo dpkg -i ../lirc-modules-source*deb

4. Create updated lirc_wb677 module

$ sudo dkms add -m lirc-nct677x-src -v 1.0.4-ubuntu9.10
$ sudo dkms build -m lirc-nct677x-src -v 1.0.4-ubuntu9.10
$ sudo dkms install -m lirc-nct677x-src -v 1.0.4-ubuntu9.10

(IIRC I had to remove /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_wb677/lirc_wb677.ko first. If you get a error that says that version already exists, remove it and then re-run all dkms commands after first using dkmg remove ...)

5. Reboot and the module should be loaded!

$ lsmod | grep lirc_wb677
lirc_wb677 25628 0
lirc_dev 8884 1 lirc_wb677

$ modinfo lirc_wb677 | grep vermag
vermagic: 2.6.32-21-generic SMP mod_unload modversions 586
Hi Novin,

Thanks for your reply. My remote works now with XBMC and 10.04 LTS.

Also had to remove the file you mentioned.

Had to install some build tools. But with apt-get no problem.
Thanks a lot for your post Novin it works like a charm with XBMC on 10.04 x64 Laugh
There is a updated driver released now from Asrock:

http://www.asrock.com/Nettop/download.as...HT&o=Linux
I have downloaded the driver on http://www.asrock.com/Nettop/download.as...HT&o=Linux and installed it without problems on Ubuntu 10.04.

Linux XBMC 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux

Package: lirc-nct677x
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 69
Maintainer: Nuvoton Technology Co. (PS00) <[email protected]>
Architecture: all
Version: 1.0.4-ubuntu10.04
Depends: lirc (>= 0.8.6-0ubuntu2)
Conflicts: lirc (<< 0.6.3-1)
Description: infra-red remote control support for nuvoton nct6775 / w836x7 - kernel module source
LIRC stands for 'Linux Infra-red Remote Control'.
.
This package provides the source for the kernel modules to support
infra-red remote controls under Linux.
Homepage: http://www.nuvoton.com

I had tried the same a few days back and it didn't work... so most likely the driver got updated in the meantime.

Chris.
Weird I can't make it work. I downloaded the latest drivers and they seem to be the same as before. Maybe it's because I'm on x64 Blush

Anyway here is what I have:
Code:
root@xbmc:/home/xbmc# dpkg -i lirc-nct677x-x64-1.0.4-ubuntu10.04.deb
Selecting previously deselected package lirc-nct677x-x64.
(Reading database ... 71020 files and directories currently installed.)
Unpacking lirc-nct677x-x64 (from lirc-nct677x-x64-1.0.4-ubuntu10.04.deb) ...
Setting up lirc-nct677x-x64 (1.0.4-ubuntu10.04) ...
Copy patch file...
`/usr/share/lirc_wb677/lirc_wb677.ko' -> `/lib/modules/2.6.32-22-generic/kernel/ubuntu/lirc/lirc_wb677/lirc_wb677.ko'
/etc/lirc/lircrc not existed. copy it directly.
patching file /usr/share/lirc/lirc.hwdb
* Stopping execution daemon: irexec                                     [fail]
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
* Starting execution daemon: irexec                                     [fail]
I can't get this to work either. Same error as above post.
Exact same problem here too! Sad
rvrutten Wrote:Exact same problem here too! Sad

Used source file to compile. Fixed the problem.
Hi all,

I am running into the same problem as Wilthrill with the new drivers.

@rvrutten: Could you be more specific as to what step you changed/added to Novin's summary.

Cheers
Gerrit

P.s. Thanks Novin for the summary!
Worked fine for me. Upgraded linux-common (etc) and it stopped working.
Reinstalling the ASRock drivers doesn't work.