2011-02-28, 12:43
My apologies if this has a thread, but searching hasn't turned up any.
A lot is changing in how Linux handles IR remotes, with drivers moving to "IR core" in the kernel instead of being part of LIRC.
I don't really know a lot about it, and almost all the information available doesn't discuss it at all. I added a section to the wiki with a short explanation and a few links, but since I haven't actually managed to get my iMON Pad remote working perfectly yet I won't presume to do an actual guide.
Hopefully this thread can collect experiences so we can cut down on frustration
Personally I have an iMON Pad and my box is running Ubuntu 10.10. There is a kernel driver (imon) that works, so Lirc needs to be setup with "devinput" as the driver and /dev/input/eventX as the device (eventX being a number that changes at boot).
Simply installing LIRC gets the remote working, but I have so far been unable to change the keymapping. It doesn't help that irw won't work and adding <showremotecodes>true</showremotecodes> (or <showremotecode>true</showremotecode> since the wiki is unclear as to which is correct) doesn't make XBMC show me the remote codes.
Changing the keyboard.xml is the only thing I have had any success with so far (swapping left/right on both the remote and the keyboard), but since I haven't been able to see which remote key sends which keyboard key it is not exactly a fun job trying to nail down every single button.
I eventually got irrecord to work, but it seems like the setup gets ignored whatever I try
Anyways, according to this Ubuntu 10.10 doesn't have the feshest bits in place, so I'll try another kernel (or probably just another distro like Arch) and see if that solves my problems.
Any pointers would be greatly appreciated.
A lot is changing in how Linux handles IR remotes, with drivers moving to "IR core" in the kernel instead of being part of LIRC.
I don't really know a lot about it, and almost all the information available doesn't discuss it at all. I added a section to the wiki with a short explanation and a few links, but since I haven't actually managed to get my iMON Pad remote working perfectly yet I won't presume to do an actual guide.
Hopefully this thread can collect experiences so we can cut down on frustration
Personally I have an iMON Pad and my box is running Ubuntu 10.10. There is a kernel driver (imon) that works, so Lirc needs to be setup with "devinput" as the driver and /dev/input/eventX as the device (eventX being a number that changes at boot).
Simply installing LIRC gets the remote working, but I have so far been unable to change the keymapping. It doesn't help that irw won't work and adding <showremotecodes>true</showremotecodes> (or <showremotecode>true</showremotecode> since the wiki is unclear as to which is correct) doesn't make XBMC show me the remote codes.
Changing the keyboard.xml is the only thing I have had any success with so far (swapping left/right on both the remote and the keyboard), but since I haven't been able to see which remote key sends which keyboard key it is not exactly a fun job trying to nail down every single button.
I eventually got irrecord to work, but it seems like the setup gets ignored whatever I try
Anyways, according to this Ubuntu 10.10 doesn't have the feshest bits in place, so I'll try another kernel (or probably just another distro like Arch) and see if that solves my problems.
Any pointers would be greatly appreciated.