I saved a dump of some seconds of the raw keyboard events doing: cat /dev/input/event3 > /tmp/dump.bin
the result file can be downloaded from http://92.222.39.93/paolo/dump.bin (1.7 kb) According to the kernel page at https://www.kernel.org/doc/Documentation/input/input.txt (see Event Interface chapter) I created a small C program to analyze the dump structure (can be found here: http://pastebin.com/RkMv0qJr). An excerpt of the dump is this: Time: 1456787793.748976 Type: 4 - Code: 4 - Value: 29 Time: 1456787793.748976 Type: 0 - Code: 0 - Value: 0 Time: 1456787793.750908 Type: 4 - Code: 4 - Value: 56 Time: 1456787793.750908 Type: 0 - Code: 0 - Value: 0 Time: 1456787793.754067 Type: 4 - Code: 4 - Value: 157 Time: 1456787793.754067 Type: 0 - Code: 0 - Value: 0 Time: 1456787793.756200 Type: 4 - Code: 4 - Value: 54 Time: 1456787793.756200 Type: 0 - Code: 0 - Value: 0 Time: 1456787793.759107 Type: 4 - Code: 4 - Value: 184 Time: 1456787793.759107 Type: 0 - Code: 0 - Value: 0 Time: 1456787795.307134 Type: 4 - Code: 4 - Value: 29 Time: 1456787795.307134 Type: 0 - Code: 0 - Value: 0 Time: 1456787795.308748 Type: 4 - Code: 4 - Value: 56 Time: 1456787795.308748 Type: 0 - Code: 0 - Value: 0 Time: 1456787795.311980 Type: 4 - Code: 4 - Value: 157 Time: 1456787795.311980 Type: 0 - Code: 0 - Value: 0 Time: 1456787795.313908 Type: 4 - Code: 4 - Value: 54 Time: 1456787795.313908 Type: 0 - Code: 0 - Value: 0 Time: 1456787795.317267 Type: 4 - Code: 4 - Value: 184 Time: 1456787795.317267 Type: 0 - Code: 0 - Value: 0 As I said, the computer was idling in the meantime the dump was taken. As you see, every 1-2 seconds there is a pattern that repeats itself (the sequence repeats always in the same order). In particular, Type 4 events are EV_MSC (see kernel docs at https://www.kernel.org/doc/Documentation/input/event-codes.txt) meaning "Miscellaneous events", and Code 4 subtype means MSC_SCAN (according to /usr/include/linux/input.h kernel file), which someway is used to "redefine" or map keyboard keys. Values in the dump also are interesting, because apparently they are keystroke numbers and still according to /usr/include/linux/input.h they are: 29 -> KEY_LEFTCTRL 56 -> KEY_LEFTALT 157 -> KEY_COMPUTER 54 -> KEY_RIGHTSHIFT 184 -> KEY_F14 Curiously they are followed by a reserved event (type: 0), which is of unknown usage to me. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1532746 Title: SHIFT, ALT and CTRL problem with HP pavilion 15 ab062nl Status in linux package in Ubuntu: Triaged Bug description: 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)] i hope that this bug can be solved ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: linux-image-4.2.0-16-generic 4.2.0-16.19 ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 ApportVersion: 2.19.1-0ubuntu3 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: ubuntu 1980 F.... pulseaudio /dev/snd/controlC0: ubuntu 1980 F.... pulseaudio CasperVersion: 1.365 CurrentDesktop: Unity Date: Mon Jan 11 10:08:12 2016 LiveMediaBuild: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) MachineType: Hewlett-Packard HP Pavilion Notebook ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash --- RelatedPackageVersions: linux-restricted-modules-4.2.0-16-generic N/A linux-backports-modules-4.2.0-16-generic N/A linux-firmware 1.149 SourcePackage: linux UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/06/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F.13 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 80B5 dmi.board.vendor: Hewlett-Packard dmi.board.version: 81.28 dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF.13:bd08/06/2015:svnHewlett-Packard:pnHPPavilionNotebook:pvr:rvnHewlett-Packard:rn80B5:rvr81.28:cvnHewlett-Packard:ct10:cvrChassisVersion: dmi.product.name: HP Pavilion Notebook dmi.sys.vendor: Hewlett-Packard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532746/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

