YEEES! Finally I've made it all work. Here's an HOW-TO for Ubuntu Jaunty Jackalope 9.04:
1. Install some required modules with
Code:
$ sudo apt-get install lirc lirc-modules-source module-assistant
2. and then run the following command
Code:
$ sudo dpkg-reconfigure lirc-modules-source
3. Open the the hardware.conf file with this command
Code:
$ sudo gedit /etc/lirc/hardware.conf
4. Change two of the lines so they look like this:
Code:
REMOTE_MODULES="lirc_mod_mce"
LOAD_MODULES="true"
Save and exit.
5. Run the following commands
Code:
$ sudo m-a update,prepare
$ sudo m-a clean lirc
$ sudo m-a a-i -f lirc (if this one fails, choose "skip and continue with the next operation")
$ sudo depmod -a
6. Download and unpack the attached files "lircd.conf" and "lircrc". Put them in /etc/lirc.
7. Now download the lirc_mod_mce v.0.1.5 file from http://sourceforge.net/project/showf...kage_id=203215, but be sure to download version 0.1.5 and NOT the v0.2.0. The later one has the famous "keypress repeats forever"-bug and should be avoided. Unpack the archive on e.g. your desktop.
8. Replace the "lirc_dev.h" file with the one located in "/usr/src/%YOUR_LIRC_VERSION%/drivers/lirc_dev"
9. In the file named "lirc_mod_mce.c", you have to change one of the lines:
Code:
input_dev->cdev.dev = &dev->dev;
to
input_dev->dev.parent = &dev->dev;
Save and exit.
10. Now, execute
11. Create a new directory in "/lib/modules/%YOUR_CURRENT_KERNEL%" and name it "misc".
12. Some extra files have been created in the "lirc_mod_mce" directory.
One of them is "lirc_mod_mce.ko". Copy it to the new directory you just created.
13. Run
Code:
sudo depmod -a
modprobe lirc_mod_mce
14. At last we have to blacklist the "lirc_mceusb2" module. Otherwise it will
interfere with the "lirc_mod_mce" one and make all of our work useless. Execute:
Code:
$ sudo gedit /etc/modprobe.d/blacklist.conf
and add the line
Code:
blacklist lirc_mceusb2
on an own row e.g. in the bottom of the file. Save and close.
15. Reboot
16. And VOILA! Your MCE Keyboard should be working!
Bookmarks