Am 27.11.2016 um 14:00 schrieb Norbert Preining: > Hi Michael, hi Martin, > >> 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. > > Well, not exactly. It reads that one can add arbitrary files and they > are loaded in the numerical order, where files named the same way > the /etc version takes precedence.
Tbh, the documentation is not super clear on this particular issue. At some point it might make sense to involve upstream to ask for clarification. > which is correct. But this was the very setup I had in the very beginning, > so it seems that either the initramfs is not constructed correctly, or the > udev in the initramfs works differently. The initramfs does *not* include the hwdb, which is deliberate (the hwdb is rather large and not crucial during the initramfs stage). The hwdb information is applied after the switch_root when the systemd-udev-trigger.service is run. You confirmed that naming the file 60-keyboard.hwdb, thus overriding the one from /lib, does ensure the correct mapping is applied. So my *guess* is, that the builtin{hwdb} is perhaps behaving differently then systemd-hwdb query. I guess we have to take this upstream. The first step would be, to clarify whether overriding individual entries is supported or not (and update the documentation while at it). If you want, please file the issue at https://github.com/systemd/systemd/issues I can reproduce the issue though (I own the same keyboard), so I can file it myself as well, if you don't want to. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers