FS#48153 - [linux] Keyboard problem with keys ALT, CTRL and SHIFT

Attached to Project: Arch Linux
Opened by Andrea (Dea1993) - Friday, 12 February 2016, 08:38 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 02 October 2017, 22:38 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I've a problem with the keyboard of notebook HP Pavilion 15 ab062nl.
the problem is with SHIFT ALT and CTRL buttons of the keyboard.

for example when i use ALT-TAB shortcut, after few seconds, the ALT-TAB menu disappear as if i release ALT key, but isn't so.
another example is when i navigate on web, when i scroll page with mouse wheel, sometimes the page start to resize, as if i'm pressing CTRL command while scroll, or if i'm writing a text, sometimes, borwser launch shortcut, as if i'm pressing CTRL while i type text, for exaple if i'm typing "b" letter, opens bookmarks...

another example is while i'm typing text, if i press SHIFT key and start typing, begins to write uppercase letters and after a while, writes lowercase like I released shift, but i'm still pressing shift.

for example if i press SHIFT+s, the result is this:
SSSSSSSSSSSSSSsssssssssssssssssssssssssssssssss
some letters are uppercase, but others are lowercase.

i haven't found a solution.
the only way to solve momentarily the problem, is pressing for some seconds the only SHIFT key, after that, the problems disappears indefinitely, or until the next restart.

This problem occurs with all ubuntu version (x86 and x86_64), now i'm using Ubuntu 15.10, but i've also tried ubuntu 15.04, ubuntu 14.04, ubuntu 12.04, ubuntu 10.04.

furthermore i've this problem also with other GNU/Linux Distributions (i've tried Fedora, OpenSuse, ArchLinux, Antergos, Debian, SteamOS).
but isn't and hardware problem, because on Windows 8.1 and Windows 10 i haven't these problems.

i've also tried to plug in an externa USB keyboard, and if i use external USB keybaord i haven't problems.

i think is a problem of compatibility, with integrated keyboard of this notebook.

i've tried to monitor these problems using XEV, and the results is that also if i'm not using notebook, sometimes XEV reads an INPUT of one of these 3 key (SHIFT, ALT, CTRL), and while i'm pressing one of these 3 key, XEV see also if i release and immedialty after press again the key.

this is an example of the input while i press Left_ALT key for a while

KeyPress event, serial 37, synthetic NO, window 0x3e00001,
root 0x498, subw 0x0, time 129987, (-142,152), root:(452,476),
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 37, synthetic NO, window 0x3e00001,
root 0x498, subw 0x0, time 130147, (-142,152), root:(452,476),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3e00001,
root 0x498, subw 0x0, time 130391, (-142,152), root:(452,476),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

whole log here http://pastebin.com/CPGz40aw

and this is the output of xev, leaving the notebook on a few hours without using it http://pastebin.com/sYSHAbGy

this is "xinput" output

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Laser Mouse id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ HP Truevision HD id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ HP WMI hotkeys id=14 [slave keyboard (3)]
↳ HP Wireless hotkeys id=15 [slave keyboard (3)]

This problem happends every time i start Linux or any time i logout and again login

i hope that this bug can be solved
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 02 October 2017, 22:38 GMT
Reason for closing:  Not a bug
Additional comments about closing:  appears to have been a BIOS issue, see comments
Comment by Doug Newgard (Scimmia) - Friday, 12 February 2016, 15:38 GMT
"i hope that this bug can be solved"

If it happens on all distros, it won't be solved here. It's an upstream problem.
Comment by Doug Newgard (Scimmia) - Friday, 12 February 2016, 15:47 GMT
Does this happen in a console or only in X? If only in X, have you tried the libinput driver instead of evdev?
Comment by Andrea (Dea1993) - Friday, 12 February 2016, 15:50 GMT
This happends also on tty console and also on live cd
Comment by Andrea (Dea1993) - Tuesday, 03 May 2016, 08:56 GMT
i found that if i press CAPS LOCK or NUM LOCK keys, the problems always occurs.

furthermore, if i use the following parameter on "/etc/default/grub"

"i8042.dumbkbd"

problem is solved, but obvliusly caps lock led status not work


instead if i use the following parameters

"i8042.nomux=1 i8042.reset i8042.direct"

the problem is present only for few seconds after pressing CAPS LOCK or NUM LOCK (and led status works correctly).
hope that these informations can be useful to fix this annoyng bug.
thanks
Comment by mattia (nTia89) - Monday, 02 October 2017, 20:23 GMT
is this issue still valid?
Comment by Andrea (Dea1993) - Monday, 02 October 2017, 21:27 GMT
This problem is solved updating BIOS

Loading...