[vdr] [1.3.40] Fast channel switching resets

Oliver Endriss o.endriss at gmx.de
Mon Jan 23 13:52:41 CET 2006


Klaus Schmidinger wrote:
> Please put a line like
> 
>    fprintf(stderr, "%04X\n", Key);
> 
> at the beginning of cDisplayChannel::ProcessKey() and check
> whether, when you press the Up key, hold it down for a while
> and finally release it, you get
> 
> 0000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 8000
> 4000
> 
> The important thing is that there is not a single 0000 between
> all the 8000. If you do get an interruption there, then you
> should trace that back to where it comes from.

Ok, here is the log from holding down the 'up'  key.

/dev/input/event2: press 0000000100010021	<-- debug output remote plugin: 'up' key pressed
50 0000		<-- (cDisplayChannel::ProcessKey  1st value = lastTime.Elapsed(), 2nd value = Key
307 0032
323 0032
339 0032
355 0032
371 0032
387 0032
403 0032
/dev/input/event2: repeat 0000000100010021	<-- key repeat kicks-in
404 8000
107 0032
/dev/input/event2: repeat 0000000100010021
92 8000
/dev/input/event2: repeat 0000000100010021
60 8000
75 0032
/dev/input/event2: repeat 0000000100010021
56 8000
/dev/input/event2: repeat 0000000100010021
68 8000
75 0032
/dev/input/event2: repeat 0000000100010021
56 8000
75 0032
/dev/input/event2: repeat 0000000100010021
64 8000
/dev/input/event2: repeat 0000000100010021
60 8000
79 0032
/dev/input/event2: repeat 0000000100010021
64 8000
/dev/input/event2: repeat 0000000100010021
66 8000
73 0032
/dev/input/event2: repeat 0000000100010021
56 8000
83 0032
/dev/input/event2: repeat 0000000100010021
60 8000
/dev/input/event2: repeat 0000000100010021
60 8000
71 0032
/dev/input/event2: repeat 0000000100010021
60 8000
75 0032
/dev/input/event2: repeat 0000000100010021
60 8000
/dev/input/event2: repeat 0000000100010021
71 8000
76 0032
/dev/input/event2: repeat 0000000100010021
56 8000
76 0032
/dev/input/event2: repeat 0000000100010021
55 8000
/dev/input/event2: repeat 0000000100010021
60 8000
71 0032
/dev/input/event2: repeat 0000000100010021
56 8000
79 0032
/dev/input/event2: repeat 0000000100010021
56 8000
79 0032
71 0032
87 0032
103 0032
119 0032
135 0032
152 0032
/dev/input/event2: release 0000000100010021	<-- key released
155 4000
540 0032
556 0032
572 0032
588 0032
604 0032
621 0032
636 0032
...
4940 0032
4956 0032
4972 0032
4989 0032
5004 0032

The 0032 (kNone) keys look suspicious to me.
The are _not_ created by the remote plugin.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------



More information about the vdr mailing list