On Fri, Jun 30, 2006 at 08:54:02AM +0100, Chris Jones wrote:
On Wed, 2006-06-28 at 01:28 +0200, Oliver Endriss wrote:
Please try the evtest tool from the dvb-apps package and post its output for a short key press and for a long one.
Here is the output. I pressed the play button in both cases:
[...]
Testing ... (interrupt to exit) Event: time 1151653959.792243, type 1 (Key), code 207 (?), value 1 Event: time 1151653959.792246, type 1 (Key), code 207 (?), value 0 Event: time 1151653959.792248, type 0 (Reset), code 0 (Reset), value 0 Event: time 1151653959.880230, type 1 (Key), code 207 (?), value 1 Event: time 1151653959.880233, type 1 (Key), code 207 (?), value 0 Event: time 1151653959.880235, type 0 (Reset), code 0 (Reset), value 0 Event: time 1151653959.928229, type 1 (Key), code 207 (?), value 1 Event: time 1151653959.928232, type 1 (Key), code 207 (?), value 0 Event: time 1151653959.928234, type 0 (Reset), code 0 (Reset), value 0 Event: time 1151653959.976214, type 1 (Key), code 207 (?), value 1 Event: time 1151653959.976218, type 1 (Key), code 207 (?), value 0 Event: time 1151653959.976220, type 0 (Reset), code 0 (Reset), value 0
The type 1 (Key) events are the ones that matter. For some reason, the kernel module is reporting four key-press and key-release events for the short key press. You might want to try increasing the timeout #define in the source code.
Marko