stuck key
Submitted by phi..@..ent.be
Assigned to Xorg Project Team
Description
Occasionally the keyboard on my laptoip starts repeating a key automatically. It is not a specific key, but it varies from time to time. This problem happened ever since I got the laptop. I recently replaced the keyboard and the problem persists.
To debug the problem, I ran the command sudo evtest /dev/input/by-path/platform-i8042-serio-0-event-kbd and logged the ouput until the problem occured.
When the problem happened, I noticed that the kernel sends the repeating key only once. In the log below, the repeating key is "n". As you can see, the strange thing is that the kernel first sends
- a key press event for m,
- akey press event for n
- a key release for m
- a key release for n I guess what happened is that I pressed m and n almost at the same time.
xorg is confused and starts repeating the key "n".
This seems like a bug in xorg. Is this correct? Is there anything I can test?
xset -q|grep repeat auto repeat: on key click percent: 0 LED mask: 00000000 auto repeat delay: 500 repeat rate: 62 auto repeating keys: 00ffffffdffffbbf
Event: time 1383604010.548265, -------------- SYN_REPORT ------------ Event: time 1383604013.583632, type 4 (EV_MSC), code 4 (MSC_SCAN), value 2e Event: time 1383604013.583632, type 1 (EV_KEY), code 46 (KEY_C), value 1 Event: time 1383604013.583632, -------------- SYN_REPORT ------------ Event: time 1383604013.683810, type 4 (EV_MSC), code 4 (MSC_SCAN), value 2e Event: time 1383604013.683810, type 1 (EV_KEY), code 46 (KEY_C), value 0 Event: time 1383604013.683810, -------------- SYN_REPORT ------------ Event: time 1383604013.703847, type 4 (EV_MSC), code 4 (MSC_SCAN), value 18 Event: time 1383604013.703847, type 1 (EV_KEY), code 24 (KEY_O), value 1 Event: time 1383604013.703847, -------------- SYN_REPORT ------------ Event: time 1383604013.753894, type 4 (EV_MSC), code 4 (MSC_SCAN), value 18 Event: time 1383604013.753894, type 1 (EV_KEY), code 24 (KEY_O), value 0 Event: time 1383604013.753894, -------------- SYN_REPORT ------------ Event: time 1383604013.884137, type 4 (EV_MSC), code 4 (MSC_SCAN), value 32 Event: time 1383604013.884137, type 1 (EV_KEY), code 50 (KEY_M), value 1 Event: time 1383604013.884137, -------------- SYN_REPORT ------------ Event: time 1383604013.916771, type 4 (EV_MSC), code 4 (MSC_SCAN), value 31 Event: time 1383604013.916771, type 1 (EV_KEY), code 49 (KEY_N), value 1 Event: time 1383604013.916771, -------------- SYN_REPORT ------------ Event: time 1383604013.934191, type 4 (EV_MSC), code 4 (MSC_SCAN), value 32 Event: time 1383604013.934191, type 1 (EV_KEY), code 50 (KEY_M), value 0 Event: time 1383604013.934191, -------------- SYN_REPORT ------------ Event: time 1383604014.545335, type 4 (EV_MSC), code 4 (MSC_SCAN), value 31 Event: time 1383604014.545335, type 1 (EV_KEY), code 49 (KEY_N), value 0
System: Dell latitude e650 laptop. OS: Fedora 18 X xorg-x11-drv-keyboard-1.6.2-3.fc18.x86_64