On Mon, Apr 26, 2010 at 12:59:21PM +0200, Julien Cristau wrote: > On Mon, Apr 26, 2010 at 13:49:03 +0400, Stanislav Maslovski wrote: > > > Package: xserver-xorg-input-kbd > > Version: 1:1.4.0-1 > > Severity: normal > > > > With the configuration given below the PageUp and PageDn keys on my > > laptop send strange noise. I also give the output of xev (and also > > the X log). If I disable autodevices (the commented out option in > > my xorg.conf) then the problem disappears. > > > can you run evtest on the device file corresponding to your keyboard > (/dev/input/eventX), and send its output when you press those keys? > Maybe try pressing those keys when running 'xinput test-xi2' as well, to > see where the spurious events come from.
As far as I can tell, my keyboard is on /dev/input/event0. There is also /dev/input/event12 which looks like a keyboard but does not produce any events. It is probably some kind if "ghost" of event0 (physically, I have a just a single keyboard). In evtest I see normal events on event0: ----- 8< ----- Event: time 1272315784.815478, -------------- Report Sync ------------ Event: time 1272315792.297281, type 4 (Misc), code 4 (ScanCode), value d1 Event: time 1272315792.297307, type 1 (Key), code 109 (PageDown), value 1 Event: time 1272315792.297312, -------------- Report Sync ------------ Event: time 1272315792.377293, type 4 (Misc), code 4 (ScanCode), value d1 Event: time 1272315792.377308, type 1 (Key), code 109 (PageDown), value 0 Event: time 1272315792.377311, -------------- Report Sync ------------ Event: time 1272315795.701759, type 4 (Misc), code 4 (ScanCode), value d1 Event: time 1272315795.701784, type 1 (Key), code 109 (PageDown), value 1 Event: time 1272315795.701789, -------------- Report Sync ------------ Event: time 1272315795.794512, type 4 (Misc), code 4 (ScanCode), value d1 Event: time 1272315795.794528, type 1 (Key), code 109 (PageDown), value 0 Event: time 1272315795.794531, -------------- Report Sync ------------ Event: time 1272315800.050752, type 4 (Misc), code 4 (ScanCode), value c9 Event: time 1272315800.050779, type 1 (Key), code 104 (PageUp), value 1 Event: time 1272315800.050783, -------------- Report Sync ------------ Event: time 1272315800.147690, type 4 (Misc), code 4 (ScanCode), value c9 Event: time 1272315800.147717, type 1 (Key), code 104 (PageUp), value 0 Event: time 1272315800.147721, -------------- Report Sync ------------ Event: time 1272315800.951335, type 4 (Misc), code 4 (ScanCode), value c9 Event: time 1272315800.951357, type 1 (Key), code 104 (PageUp), value 1 Event: time 1272315800.951361, -------------- Report Sync ------------ Event: time 1272315801.059013, type 4 (Misc), code 4 (ScanCode), value c9 Event: time 1272315801.059040, type 1 (Key), code 104 (PageUp), value 0 Event: time 1272315801.059044, -------------- Report Sync ------------ ----- >8 ----- The output of xinput test-xi2 is attached (it is quite long). I did the following: started it so that the displayed small window got the focus and then pressed PageDn twice and PageUp twice and then repeated. The log was truncated at the end of this sequence. Hope that helps. -- Stanislav
xtest.gz
Description: GNU Zip compressed data