2014-01-06, 20:54
Hi Folks,
So I was testing my remote with the ir-keytable -t command and I've been having a lot of issues with repeat key strokes (its a universal controller programmed as a DVR box). So to test I mapped a key to the "S" letter and went into XBMC to test. I thought XBMC would use the key event but seems like it uses each event on its own:
So as you can see, the CIR saw 6 scancodes immediately but only issues the Key_S down 2 times (I think, i'm pretty sure one is declarative so it decoded the signal is one down, and then the key up). XBMC on the other hand typed the command 6 times....
This is the output of the ir-keytable command:
This is the command in my rc.local:
And my advancedsettings.xml (which I don't think applies to this since its emulating key strokes but felt like worth a shot):
Could you folks help me fix this repeat key bug, its incredibly frustrating!
Thanks!
So I was testing my remote with the ir-keytable -t command and I've been having a lot of issues with repeat key strokes (its a universal controller programmed as a DVR box). So to test I mapped a key to the "S" letter and went into XBMC to test. I thought XBMC would use the key event but seems like it uses each event on its own:
PHP Code:
$ sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1389033864.246134: event MSC: scancode = 84790a
1389033864.246134: event key down: KEY_S (0x001f)
1389033864.246134: event sync
1389033864.257855: event MSC: scancode = 84790a
1389033864.257855: event sync
1389033864.354524: event MSC: scancode = 84790a
1389033864.354524: event sync
1389033864.365171: event MSC: scancode = 84790a
1389033864.365171: event sync
1389033864.461888: event MSC: scancode = 84790a
1389033864.461888: event sync
1389033864.473672: event MSC: scancode = 84790a
1389033864.473672: event sync
1389033864.674052: event MSC: scancode = 84790a
1389033864.674052: event sync
1389033864.783880: event key down: KEY_S (0x001f)
1389033864.783880: event sync
1389033864.923849: event key up: KEY_S (0x001f)
So as you can see, the CIR saw 6 scancodes immediately but only issues the Key_S down 2 times (I think, i'm pretty sure one is declarative so it decoded the signal is one down, and then the key up). XBMC on the other hand typed the command 6 times....
This is the output of the ir-keytable command:
PHP Code:
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver ite-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: NEC RC-6
Repeat delay = 540 ms, repeat period = 1000 ms
This is the command in my rc.local:
PHP Code:
ir-keytable -c -w /home/omar/.config/sony --delay 540 --period 1000
And my advancedsettings.xml (which I don't think applies to this since its emulating key strokes but felt like worth a shot):
PHP Code:
<advancedsettings>
<useddsfanart>true</useddsfanart>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<network>
<disableipv6>true</disableipv6>
</network>
<remotedelay>540</remotedelay>
<remoterepeat>800</remoterepeat>
</advancedsettings>
Could you folks help me fix this repeat key bug, its incredibly frustrating!
Thanks!