Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18452 - [xorg] Some key pressing trigger strage events

Attached to Project: Arch Linux
Opened by Gicu Gorodenco (medved) - Wednesday, 24 February 2010, 19:12 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 27 February 2010, 23:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Some keys, when pressed, triggers strage events. So far identified:
- Delete - triggers both Delete and PrintScreen consecutively
- DownArrow - triggers both DownArrow and Enter consecutively

Additional info:
* this behavior is found only in X (either Gnome+GDM, or KDE+KDM), and not in plain console.
* it appeared after an update of multiple packages, including xorg and kernel related.
* the bug is only reproducible on my laptop, but not on my desktop machine (both with x86_64 architecture); hardware configuration (where the bug occurs):
- Dell XPS M1530
- CPU: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
- RAM: 4GB
- other hardware details are not relevant
* package version(s) - all last stable updates as of 2010-Feb-23. Some of most related:
- core/kernel26 2.6.32.8-1
- extra/xorg-server 1.7.5-1
- extra/xf86-input-keyboard 1.4.0-1
- extra/xf86-input-evdev 2.3.2-1
- extra/xorg-xkb-utils 7.5-2
* config and/or log files - attached is xorg.conf (useless, but anyway)


Steps to reproduce:
- while in X session, in any editor (nano, gedit, kate, vi (insert mode)), or in terminal (konsole, gnome terminal), any application that interprets "DownArrow" key, press it (meaning the "DownArrow" key); results - unexpected "Enter" is also triggered;
or
- while in X session, press "Delete"; results - unexpected "PrintScreen" key event is also triggered
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 27 February 2010, 23:58 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Bad configuration file (/etc/X11/xorg.conf)
Comment by Jan de Groot (JGC) - Wednesday, 24 February 2010, 22:20 GMT
Can you attach your xorg.0.log file also? I suspect your keyboard device is added twice. AllowEmptyInput is not the way to disable HAL.
Comment by Gicu Gorodenco (medved) - Thursday, 25 February 2010, 05:29 GMT
Xorg log - attached
Comment by Gicu Gorodenco (medved) - Saturday, 27 February 2010, 23:22 GMT
I forgot completelly one small, but very important detail: after a huge upgrade, I had problems with detecting keyboard at all, and I changed the xorg.conf file. I even forgot I did it. I only remembered this when I opened the file and saw the changes (I have a good memory, but I don't remember where I'm keeping it ;-) ).

Therefor, I analysed the file, and fixed the problem by adding this line under "ServerLayout" section:
InputDevice "evdevkeyboard" "CoreKeyboard"

So the problem was because of wrong, maybe double autodetection of keyboard device by X server, and is not hardware dependent as I thought. It might be related to bug #17380

The bug can be closed/canceled.

Loading...