Kodi Community Forum
Linux multiple key presses registered when using IR remote buttons - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux multiple key presses registered when using IR remote buttons (/showthread.php?tid=219241)



multiple key presses registered when using IR remote buttons - immerc - 2015-02-22

When I press keys on the remote they generate multiple key presses in Kodi.

I'm using:

Code:
Ubuntu 14.04.2 LTS
Kodi: 2:14.1~git20150130.1238-final-0trusty

I'm using the in-kernel drivers for infrared.

My USB IR receiver shows up as:

Code:
/dev/input/by-id/usb-Topseed_Technology_Corp._eHome_Infrared_Transceiver_TS000KKM-event-if00

And I have 2 event interfaces related to it:

Code:
Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)
MCE IR Keyboard/Mouse (mceusb)

I think the fact that I have two interfaces is probably part of the problem, because some of the remote buttons seem to be handled by mceusb and others are not. When I use "ir-keytable --test" the keys that seem to be handled by the mceusb driver don't show up, and I think they're the ones that are generating multiple keypresses.

When I use evtest with the "Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)" device, I don't see most of the keys but the ones I do don't get multiple keypresses. When I use it with "MCE IR Keyboard/Mouse (mceusb)" I see the rest of the keys (the majority) but I get multiple keypresses.

I thing what I'd like to do is to have the "Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)" device handle everything the remote does, but I don't know how to do that. The in-kernel stuff seems to be cleaner and involve fewer layers than the old Lirc stuff, but it is also very much less well documented (not that the Lirc documentation was great).

Anybody know how to configure the kernel-based IR stuff?