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

Michael Biebl biebl at debian.org
Sun Nov 27 08:35:18 GMT 2016


Am 27.11.2016 um 07:25 schrieb Norbert Preining:
> 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?

Correct.

> # 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?

When reading the hwdb(7) man page, it only talks about overriding
*files* not individual *entries*. So what you want to do might indeed
not be supported and it is working as documented.

Martin knows a bit more about hwdb though, maybe he can comment here.


Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20161127/5a54c132/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list