Failed to call EVIOCSKEYCODE with scan code 0xc022d, and key code 103: Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I run an up-to-date Ubuntu 20.04.1 LTS "focal" with kernel 5.4.0-42-generic on Dell Latitude E6440. Upon examining the output of journalctl -b, I see this:
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
Aug 03 19:22:15 pseudonymizedHo
"Invalid argument" means that something goes wrong there, and I don't know what it is.
On my laptop, event8 seems to be keyboard-related:
$ sudo cat /proc/bus/
I: Bus=0003 Vendor=045e Product=00db Version=0111
N: Name="Microsoft Natural® Ergonomic Keyboard 4000"
P: Phys=usb-
S: Sysfs=/
U: Uniq=
H: Handlers=sysrq kbd event8 leds
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=107
The issue report https:/
The report https:/
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
this seems to be the same issue as bug 1389201, it's even the same kbd in that bug. note while the scancodes match, the keycodes in the error messages from that bug are different because in 2018 the hwdb mapping was changed to set the scancodes from 'zoomin/zoomout' to the simpler 'up/down', and those map to the keycodes you are seeing, i.e.:
$ grep -E 'KEY_(UP|DOWN)' /usr/include/ linux/input- event-codes. h
#define KEY_UP 103
#define KEY_DOWN 108
the original reporter in that bug indicated it 'fixed itself' though from your report it seems it might not have. can you edit the hwdb file as mentioned in bug 1389201 comment 6 and see if that removes the warning messages? you should also check if the 'zoom in/out' keys work, or if you dont care about those keys, then you can just ignore the error messages.