Package: xorg
Version: 1:7.3+17
Severity: important

All my applications are getting KeyPress and KeyRelease events for the
Alt key every 20 seconds or so, but I am not pressing any keys. This is not such
a big deal for Gnome applications since they don't do anything when only Alt is
pressed, but it makes working with KDE applications and OpenOffice.org almost
impossible, since they focus/open the "file" menu when you press and release 
Alt.

I am sure that I am not accidentally generating keypresses myself. I
have tested with Xev to monitor the events, and at the same time I have ran 
evtest,
showkey and catted the output of /dev/input/event[0-9]. They all say that nobody
is pressing any keys, but Xev still sees KeyPress and KeyRelease events going 
to the
window in focus. Also, those events happen in the same microsecond and
it's not physically possible to press and release a key in the same
microsecond.

To make extra sure that it's not a hardware problem I have tested three
different keyboards: Two different Dell USB keyboards and a Logitech PS/2
keyboard. This problem occured with all keyboards.

I'm marking this as "important" since it makes KDE applications and all
of OpenOffice.org pretty much unusable.

Below is the output of both xev and evtest at the same time. I have
placed comments inside then, prefixed by a #. As you can see, xev sees 
keypresses from
my Alt key, but evtest sees no such keypresses on my keyboard.

Output from evtest:
# This is the return key I pressed at the end of the evtest command
Event: time 1223560917.470807, type 4 (Misc), code 4 (ScanCode), value
70028
Event: time 1223560917.470822, type 1 (Key), code 28 (Enter), value 0
Event: time 1223560917.470827, -------------- Report Sync ------------

# Here I press the return key after the xev command
Event: time 1223560925.727112, type 4 (Misc), code 4 (ScanCode), value
70028
Event: time 1223560925.727128, type 1 (Key), code 28 (Enter), value 1
Event: time 1223560925.727131, -------------- Report Sync ------------

# Here I release the Return key
Event: time 1223560925.791107, type 4 (Misc), code 4 (ScanCode), value
70028
Event: time 1223560925.791117, type 1 (Key), code 28 (Enter), value 0
Event: time 1223560925.791120, -------------- Report Sync ------------

# Here I press the Alt key manually
Event: time 1223560933.551375, type 4 (Misc), code 4 (ScanCode), value
700e2
Event: time 1223560933.551390, type 1 (Key), code 56 (LeftAlt), value 1
Event: time 1223560933.551396, -------------- Report Sync ------------

# And I release it again
Event: time 1223560933.591374, type 4 (Misc), code 4 (ScanCode), value
700e2
Event: time 1223560933.591390, type 1 (Key), code 56 (LeftAlt), value 0
Event: time 1223560933.591395, -------------- Report Sync ------------

# These two events are Ctrl+C to stop evtest
Event: time 1223560994.921512, type 4 (Misc), code 4 (ScanCode), value
700e0
Event: time 1223560995.601624, type 1 (Key), code 29 (LeftControl),
value 2
Event: time 1223560995.601630, -------------- Report Sync ------------
Event: time 1223560995.617513, type 4 (Misc), code 4 (ScanCode), value
70006
Event: time 1223560995.617522, type 1 (Key), code 46 (C), value 1
Event: time 1223560995.617525, -------------- Report Sync ------------


Below is the output from xev, at the exact same time as the evtest was
run:

# I manually press Alt, just to test
KeyPress event, serial 31, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23255142, (829,-42), root:(839,23),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

# I release Alt again
KeyRelease event, serial 34, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23255195, (829,-42), root:(839,23),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

# This is a "ghost" Alt keypress. I didn't press anything
KeyPress event, serial 34, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23270460, (829,-42), root:(839,23),
    state 0x10, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

# Here the "ghost" Alt is released. Note the time. The keypress and
# key release are instantaneously
KeyRelease event, serial 34, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23270460, (829,-42), root:(839,23),
    state 0x18, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

# Here is another "ghost" Alt keypress and release
KeyPress event, serial 34, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23300464, (829,-42), root:(839,23),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3e00001,
    root 0x7f, subw 0x0, time 23300464, (829,-42), root:(839,23),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

# These events are when I click my mouse on the (X) to stop xev
ConfigureNotify event, serial 34, synthetic NO, window 0x3e00001,
    event 0x3e00001, window 0x3e00001, (8,63), width 178, height 178,
    border_width 2, above 0x3a06523, override NO

ClientMessage event, serial 34, synthetic YES, window 0x3e00001,
    message_type 0x122 (WM_PROTOCOLS), format 32, message 0x120
(WM_DELETE_WINDOW)



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xorg depends on:
ii  gnome-terminal [x-terminal-em 2.22.3-3   The GNOME 2 terminal emulator appl
ii  libgl1-mesa-glx [libgl1]      7.0.3-6    A free implementation of the OpenG
ii  libglu1-mesa                  7.0.3-6    The OpenGL utility library (GLU)
ii  x11-apps                      7.3+4      X applications
ii  x11-session-utils             7.3+1      X session utilities
ii  x11-utils                     7.3+2      X11 utilities
ii  x11-xfs-utils                 7.3+1      X font server utilities
ii  x11-xkb-utils                 7.4+1      X11 XKB utilities
ii  x11-xserver-utils             7.3+5      X server utilities
ii  xauth                         1:1.0.3-2  X authentication utility
ii  xfonts-100dpi                 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi                  1:1.0.0-4  75 dpi fonts for X
ii  xfonts-base                   1:1.0.0-5  standard fonts for X
ii  xfonts-scalable               1:1.0.0-6  scalable fonts for X
ii  xfonts-utils                  1:7.4+1    X Window System font utility progr
ii  xinit                         1.0.9-2    X server initialisation tool
ii  xkb-data                      1.3-2      X Keyboard Extension (XKB) configu
ii  xserver-xorg                  1:7.3+17   the X.Org X server
ii  xterm [x-terminal-emulator]   235-1      X terminal emulator

Versions of packages xorg recommends:
pn  xorg-docs                     <none>     (no description available)

xorg suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to