Bug ID: 1196586 Summary: udev keyboard scancode remap via hwdb stopped working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: firstname.lastname@example.org Reporter: email@example.com QA Contact: firstname.lastname@example.org Found By: --- Blocker: ---
After snapshot 20220225 (kernel 5.6.10-1-default) remapping keyboard scancodes to keys through hwdb override has stopped working. 20220225 is still ok, 20220227 with kernel 5.6.11-1-default is broken.
I straced systemd-udevd to see if the EVIOSCKEYCODE ioctl was actually applied, it returns with '0'.
8521 ioctl(6, EVIOCSKEYCODE, [458805, KEY_102ND] <unfinished ...> 8521 <... ioctl resumed>) = 0 8521 ioctl(6, EVIOCSKEYCODE, [458852, KEY_GRAVE] <unfinished ...> 8521 <... ioctl resumed>) = 0
This is the hwdb override file: $ cat /etc/udev/hwdb.d/70-keyboard.hwdb evdev:name:Apple Inc. Apple Internal Keyboard / Trackpad:* KEYBOARD_KEY_70064=41 KEYBOARD_KEY_70035=86
--- Comment #1 from Matthias Welwarsky email@example.com --- Additional info:
locking kernel version to 5.6.10-1 in Yast and then upgrading to 20220227 results in a working system. So it's in fact some change in the kernel package that broke the functionality.