Getting MceUsb Remote to Work on Mythbuntu 10.04

I have been trying to get my remote to work on my new Mythbuntu installation — so far no luck.  So, don’t expect and answer at the end of this.  I will try to post an answer when I get one.

Here is first clue:

sudo /etc/init.d/lirc restart verbose
* Stopping remote control daemon(s): LIRC                               [ OK ]
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
sudo /etc/init.d/lirc restart verbose
* Stopping remote control daemon(s): LIRC                               [ OK ]
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf

So, I found this article with the same problem.  The solution was to install a generic kernel, so I wanted to check a few other threads.  Then, I found this article.  I went with it since it was a more recent version. It calls for these two commands:

skp@gabriel:~$ sudo mv /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko ~/.
[sudo] password for skp:
skp@gabriel:~$ sudo dpkg-reconfigure lirc-modules-source
Package `lirc-modules-source' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: lirc-modules-source is not installed

Since it said I didn’t have the package installed, I tried to install it:

skp@gabriel:~$ sudo apt-get install lirc-modules-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  kernel-source
The following NEW packages will be installed:
  lirc-modules-source
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 273kB of archives.
After this operation, 1,204kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe lirc-modules-source 0.8.6-0ubuntu4 [273kB]
Fetched 273kB in 1s (159kB/s)
Selecting previously deselected package lirc-modules-source.
(Reading database ... 160587 files and directories currently installed.)
Unpacking lirc-modules-source (from .../lirc-modules-source_0.8.6-0ubuntu4_all.deb) ...
Setting up lirc-modules-source (0.8.6-0ubuntu4) ...
Loading new lirc-0.8.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.32-22-generic
Building for architecture x86_64
Building initial module for 2.6.32-22-generic
Done.

lirc_dev.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_atiusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_bt829.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ite8709.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_i2c.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_igorplugusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_imon.ko:
Running module version sanity check.

Error! Module version 0.6 for lirc_imon.ko
is not newer than what is already found in kernel 2.6.32-22-generic (0.6).
You may override by specifying --force.

lirc_it87.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_mceusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ttusbir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sasem.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_serial.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_streamzap.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ene0100.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_wpc8769l.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

depmod........

DKMS: install Completed.

With that complete, I checked to make sure it reinstalled that module:

skp@gabriel:~$ ls -l /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko
ls: cannot access /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko: No such file or directory

Nope, but maybe this isn’t my kernel:

skp@gabriel:~$ uname -r
2.6.32-22-generic

So, let’s try that again with the uname -r in place:

skp@gabriel:~$ sudo mv /lib/modules/`uname -r`/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko ~/.
skp@gabriel:~$ sudo dpkg-reconfigure lirc-modules-source
Removing all DKMS Modules
Done.
Loading new lirc-0.8.6 DKMS files...
Building only for 2.6.32-22-generic
Building for architecture x86_64
Building initial module for 2.6.32-22-generic
Done.

lirc_dev.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_atiusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_bt829.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ite8709.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_i2c.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_igorplugusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_imon.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_it87.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_mceusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ttusbir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sasem.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_serial.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_streamzap.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ene0100.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_wpc8769l.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

depmod....

DKMS: install Completed.

It worked, time to test:

skp@gabriel:~$ sudo /etc/init.d/lirc restart verbose
 * Stopping remote control daemon(s): LIRC                               [ OK ]
 * Loading LIRC modules                                                  [ OK ]
 * Unable to load LIRC kernel modules. Verify your
 * selected kernel modules in /etc/lirc/hardware.conf

Still no luck.

Resources

3 thoughts on “Getting MceUsb Remote to Work on Mythbuntu 10.04

Leave a Comment

Your email address will not be published. Required fields are marked *