Forum
Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again (/thread-817.html)



Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again - equildi - 20th Apr, 2013 11:16 PM

Hi,

I have a Cypress MCE Remote and while it did not work at all with xbian 1.0a5, in the latest version of xbian with XBMC 12.1 it works at least partly. But each single key press is repeated many (up to a few hundred) times and makes the remote unusable. Sometimes the repetitions last up to >10 seconds (!).

The remote is mapped to lirc via devinput. I played around with the "repeat", "min_repeat" and other repeat/timing-related settings in devinput.conf already and with the settings "remoterepeat", "remotedelay" in advancedsettings.xml of XBMC, but to no avail.

Also tried the things suggested over here http://openelec.tv/forum/103-infared-remotes/26097-how-can-i-make-openelec-tv-with-standalone-lirc-support again to no avail.

To me it seems as the key press is not purged from the input buffer somehow after processing and not to come by with timing/delay settings.

Can somebody help? Huh

dmesg output:
[ 1371.895114] usb 1-1.3: USB disconnect, device number 5
[ 1375.204196] usb 1-1.3: new low-speed USB device number 6 using dwc_otg
[ 1375.312447] usb 1-1.3: New USB device found, idVendor=04b4, idProduct=0100
[ 1375.312476] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1375.312491] usb 1-1.3: Product: Cypress USB Keyboard
[ 1375.312503] usb 1-1.3: Manufacturer: Cypress
[ 1375.338906] input: Cypress Cypress USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
[ 1375.343718] hid-generic 0003:04B4:0100.0003: input,hidraw1: USB HID v1.10 Keyboard [Cypress Cypress USB Keyboard] on usb-bcm2708_usb-1.3/input0

XBMC log:

22:43:33 T:3042164736 NOTICE: -----------------------------------------------------------------------
22:43:33 T:3042164736 NOTICE: Starting XBMC (12.1 Git:20130317-0d373cc), Platform: Linux (7.0, 3.6.11+ armv6l). Built on Mar 18 2013
...
18:46:29 T:3042164736 DEBUG: OnKey: left (f082) pressed, action is Left
18:46:29 T:3042164736 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
18:46:29 T:3042164736 DEBUG: OnKey: left (f082) pressed, action is Left
18:46:29 T:3042164736 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
18:46:29 T:3042164736 DEBUG: OnKey: left (f082) pressed, action is Left
18:46:29 T:3042164736 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
....
18:46:34 T:3042164736 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
18:46:34 T:3042164736 DEBUG: OnKey: left (f082) pressed, action is Left
18:46:35 T:3042164736 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
18:46:35 T:3042164736 DEBUG: OnKey: left (f082) pressed, action is Left

This is the reaction to ONE key press.


RE: Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again - CurlyMo - 20th Apr, 2013 11:27 PM

Is it a bluetooth device?


RE: Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again - rikardo1979 - 20th Apr, 2013 11:39 PM

so many devices has this "sticky keys" issue on RPi
I have had two USB wired keyboards and it has the same issue
not sure if there would be any fix for this


RE: Problem with repeated keypresses: MCE IR Controller "Cypress USB Keyboard" again - equildi - 21st Apr, 2013 01:25 AM

(20th Apr, 2013 11:27 PM)CurlyMo Wrote:  Is it a bluetooth device?

No, IR with USB IR receiver. As MCE it identifies itself as keyboard/mouse and sends keyboard key codes.