[systemd-bugs] [Bug 82311] /lib/udev/hwdb.d/60-keyboard.hwdb documentation issues

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 21 07:11:14 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82311

--- Comment #6 from Vincent Lefevre <vincent-fdt at vinc17.net> ---
A part of http://cgit.freedesktop.org/systemd/systemd/commit/?id=fa9d4be3f1
("simply use /dev/input/event* to reload all input rules") is incorrect:

xvii:/home/vinc17# udevadm hwdb --update
xvii:/home/vinc17# ls -lu /etc/udev/hwdb.bin
-r--r--r-- 1 root root 6559371 2014-11-21 16:05:27 /etc/udev/hwdb.bin
xvii:/home/vinc17# udevadm trigger /dev/input/event*
Extraneous argument: '/dev/input/event0'
xvii:/home/vinc17# ls -lu /etc/udev/hwdb.bin
-r--r--r-- 1 root root 6559371 2014-11-21 16:05:27 /etc/udev/hwdb.bin
xvii:/home/vinc17# udevadm trigger
xvii:/home/vinc17# ls -lu /etc/udev/hwdb.bin
-r--r--r-- 1 root root 6559371 2014-11-21 16:05:51 /etc/udev/hwdb.bin

As you can see, /etc/udev/hwdb.bin isn't read with:

  udevadm trigger /dev/input/event*

However, even after "udevadm trigger" nothing changed in the keyboard mapping.
Nothing changed after a reboot either. So, I'm wondering.

I've checked that the generated /etc/udev/hwdb.bin file contains parts of
strings from my remappings, which are:

keyboard:usb:v05ACp0221*
  KEYBOARD_KEY_29=102nd
  KEYBOARD_KEY_56=grave
  KEYBOARD_KEY_1d0=insert

I don't seem to be the only one noticing no changes via hwdb remappings. See
for instance:
http://unix.stackexchange.com/questions/156985/keyboard-hard-remap-keys

Either there is a bug in udev, or something else is missing in the
documentation. BTW, it would be nice to have information for debugging.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141121/2697a6a4/attachment.html>


More information about the systemd-bugs mailing list