Bug 14811

Summary: alt/ctrl modifiers considered to be pressed constantly (keypress event)
Product: xorg Reporter: Stefan Dirsch <sndirsch>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: blade, daniel, eich, mat
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Stefan Dirsch 2008-03-04 12:39:02 UTC
Since switching to xserver 1.4.x (1.4.0.90 at the moment) I'm getting more and more user reports, that sometimes (maybe about once a week) X think that modifiers like Alt/Ctrl are pressed constantly (keypress event). Pressing the same modifier, i.e. forcing the keyrelease eventn, doesn't help. Neither does reloading the keyboard layout. Only restarting the Xserver does. This seems to be something deep inside the Xserver. Any hints where to add debug code (source file, function), so this issue can be understood better?
Comment 1 Stefan Dirsch 2008-03-04 12:42:11 UTC
Hopefully Daniel can help here.
Comment 2 Eduard Bloch 2008-03-04 14:14:32 UTC
This problem is very nasty, it happens on my system every couple of days during regular X11 use. And it breaks my mouse too. I am not sure when it started, either after upgrade to the latest packages in Debian Sid or after I changed the config to use evdev (both happened almost at the same time).

Interesting facts: I can kill my Xserver with Alt-Fx-Backspace but only on the PS2 keyboard and not via USB keyboard (driven by evdev). I got confusing bug reports for IceWM(Debian) and some people seem to experience this or similar problems, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452002#30 .

Another thing: One time I had xev running in the background when this happened. Therein I could not see proper events for the mouse button 1 but other button events have been reported correctly. Events for button 1 appeared but they were garbled (I cannot remember the contents and could not store it anymore).
Comment 3 Stefan Dirsch 2008-03-04 15:19:17 UTC
Looks like there are more victims. The users, which reported the issue to me, are still using the kbd driver, so I don't think it's related to evdev driver.
Comment 4 Eduard Bloch 2008-03-04 15:29:38 UTC
There may be different problems with similar symptoms. Or a common problem having different appearences depending on what the user did to trigger it... I don't know.

Few minutes ago I had to kill my X because input started a flood of Super_L events (left Win95 key). Before this happened I pressed this key down for few seconds combined with left/right cursor keys (switching through icewm workspaces).

Here are more victims: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/190615
Comment 5 Stefan Dirsch 2008-04-07 09:19:40 UTC
Seems to be a duplicate.

*** This bug has been marked as a duplicate of bug 14449 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.