Bug#845442: udev: does not honor configuration files in /etc/udev/hwdb.d

Norbert Preining preining at logic.at
Sun Nov 27 06:25:39 GMT 2016


Hi Michael,

> Does it work if you rename the file to /etc/udev/hwdb.d/60-keyboard.hwdb?

Yes. But this will disable all the entries in the original one, right?

> I'm asking, because /lib/udev/hwdb.d/60-keyboard.hwdb already contains
> an entry for evdev:input:b0003v045Ep00DB* and I'm not entirely sure if
> you can override an existing entry by adding it again to a file which is
> sorted later.
> The documentation is clear though, that an existing
> /etc/udev/hwdb.d/60-keyboard.hwdb will take precedence over
> /lib/udev/hwdb.d/60-keyboard.hwdb


But the /l/u/hwdb.d/60.. file also mentiones:
# To update this file, create a new file
#   /etc/udev/hwdb.d/70-keyboard.hwdb
# and add your rules there. To load the new rules execute (as root):
#   udevadm hwdb --update
#   udevadm trigger /dev/input/eventXX
# where /dev/input/eventXX is the keyboard in question. If in
# doubt, simply use /dev/input/event* to reload all input rules.

Does that mean this works only for *new* entries, but overriding another
one I need to copy the whole file and edit it?

Is there no way to *override* entries?

All the best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13





More information about the Pkg-systemd-maintainers mailing list