Linux multiple key presses registered when using IR remote buttons
#1
Question 
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?
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
multiple key presses registered when using IR remote buttons00
This forum uses Lukasz Tkacz MyBB addons.