Chris Williams - 2008-03-30

This for information purposes.

I've just been trying to get V0.1.4 of lirc_mod_mce to build on my Gentoo machine.  Here are some stats:
chrisw@newton ~ $ uname -a
Linux newton 2.6.24-gentoo-r3 #5 SMP PREEMPT Mon Mar 24 18:03:30 EST 2008 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux
chrisw@newton ~ $ equery list lirc
[ Searching for package 'lirc' in all categories among: ]
* installed packages
[I--] [  ] app-misc/lirc-0.8.3_pre1 (0)

After applying the patch at to get past the 2.6.24 macro changes I get a building and loading module.  Unfortunately it loads:
lirc_mod_mce: Input driver for Microsoft MCE 2005 keyboard v0.1.3
lirc_mod_mce: Florian Demski
usb 5-1: reset full speed USB device using uhci_hcd and address 2
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_dev: lirc_register_plugin: no module owner registered
lirc_mod_mce[2]: out of memory (code=9)
lirc_mod_mce: probe of 5-1:1.0 failed with error -12
usbcore: registered new interface driver lirc_mod_mce

The "no module owner registered" message arises because 0.8.3 has incompatibly changed "struct lirc_plugin" in lirc_dev.h.  Copying the file from lirc into the lirc_mod_mce directory gets past this problem.  I'm not sure if it creates any others.