From: Douglas C. <dcl...@op...> - 2011-04-05 22:47:36
|
Hi, There have been a number of threads with specific issues but I'll start a new one anyway. I can see that there has been significant rewrite activity in the area of remote controls in the Linux kernel. I am surprised that my old config files still work and am resigned to the possibility that I may be forced to update. I also have a new box, with unsupported IR hardware, so I've plugged in a spare: Bus 001 Device 003: ID 0413:6029 Leadtek Research, Inc. WinFast DTV Dongle Gold that I happened to have lying around, just for the Y04G00051 remote that came with it. The problem is that it is almost unusable because of repeating keys. On another system I have an IMON (unused) and am using the same remote through a DTV1000T. That is working OK but it looks like the driver is about to get a rewrite to the newer style. According to much of the possibly now out of date documentation, repeat keys are supposed to increment a field in the irw output. This doesn't happen on both of my systems, although I suspect that apps still expect it to. Here is a mix of fast and slow keypresses: 00000000800100a4 00 KEY_PLAYPAUSE Y04G0033 00000000800100a4 00 KEY_PLAYPAUSE Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 00000000800100a4 00 KEY_PLAYPAUSE Y04G0033 00000000800100a4 00 KEY_PLAYPAUSE Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010073 00 KEY_RIGHT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 00000000800100df 00 KEY_CANCEL Y04G0033 0000000080010072 00 KEY_LEFT Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 00 KEY_DOWN Y04G0033 There is no difference between distinct presses of a key, bounces (two codes for one press) and a hold down. Looking at the af9015.c driver, the code recognises key-down in one part and a repeat in another but issues the same call to pass the event along in both places - rc_keydown. I changed the repeat one to rc_repeat and got no repeats on hold down. Seems that something is going on further down the path. Expected behaviour - I would expect holding down a key to produce: 0000000080010193 00 KEY_DOWN Y04G0033 0000000080010193 01 KEY_DOWN Y04G0033 0000000080010193 02 KEY_DOWN Y04G0033 0000000080010193 03 KEY_DOWN Y04G0033 0000000080010193 04 KEY_DOWN Y04G0033 0000000080010193 05 KEY_DOWN Y04G0033 0000000080010193 06 KEY_DOWN Y04G0033 0000000080010193 07 KEY_DOWN Y04G0033 0000000080010193 08 KEY_DOWN Y04G0033 Can somebody confirm that there is an issue? Cheers, Douglas |