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 kernel-bugs@opensuse.org
Reporter opensuse-obs@welwarsky.de
QA Contact qa-bugs@suse.de
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


You are receiving this mail because: