I have an MCE remote I bought from maplins (model RC118) that just worked. Didn't need to perform any button translation which was good. Now its broke. Tried a few things:
- Restart xbmc (service lightdm restart)
- Restart server
- Reseat Infrared receiver
dmesg shows me that the Infrared receiver is registering:
mceusb 8-2:1.0: Registered Formosa21 eHome Infrared Transceiver on usb8:2
XBMC just isn't able to understand the key presses. Now I know from reading the xbmc forums that lirc is partly responsible for remote controls. I try to restart lirc (service lirc restart) and it complains about missing kernel modules. w000000t. Nothing has happened on the media centre to remove kernel modules in the time I was (ahem, I mean my son was) watching Thomas the Tank Engine.
Found the 'irw' command:
000000037ff05bf2 00 Home mceusb_hauppauge
It works which proves the hardware is functioning. Now whats up with XBMC. Nothing obvious in the logs (other than the reference to lirc not starting). Google tells me to check ~userdata/Lircmap.xml. Oh, right. That doesn't exist. I'm assuming thats my problem. But this worked like an hour ago. Whats caused the file to disappear? (i still dont have a clue).
Oh well, to resolve:
cp -p /usr/share/xbmc/system/Lircmap.xml /home/bleh/.xbmc/userdata/
Edit Lircmap.xml in the new location. I deleted all sections other than the one starting:
Then I renamed mceusb to the name irw was showing the device as (mceusb_hauppauge). I then had to edit the /etc/lirc/hardware.conf file to remove the offending kernel module:
Restarted lirc, followed by restarting XBMC and voila. A working remote.
I need to read up to understand what happened, whether removing the kernel module (lirc_mceusb2) has any nasty side effects and on lirc in general.
Hope this helps anyone with the same issue!