Talk:Map scancodes to keycodes

From ArchWiki
Latest comment: 12 January 2017 by Das j in topic Updating the Hardware Database Index

Systemd 221

Mauritiusdadd: thanks for updating this page to reflect the new Systemd 221 changes. I have a couple of questions: is there a version of udev which supports both new and old hwdb formats, or do I have to update my hwdb files at the same time as I upgrade systemd? Also, can you provide an external link which describes the situation in more detail? Just whereever you got your information from I guess... (P.S. wasn't sure if I should put this here or on your user or user talk page :/) Herodotus (talk) 18:36, 23 June 2015 (UTC)Reply[reply]

Herodotus: As far as I know, there is no transitional version of udev which supports both hwdb formats. The new format has been introduced in systemd 220 without any notice except a vague commit message on the development branch [1]. I noticed the change only because when systemd 220 hit the [testing] repo, my custom keyboard mapping sopped to work and it took me a while to realize what happened... As regards the documentation I can not provide any external link because the only official documentation appears to be the comments in the file /usr/lib/udev/hwdb.d/60-keyboard.hwdb [2] -- Mauritiusdadd (talk) 06:35, 24 June 2015 (UTC)Reply[reply]

Updating the Hardware Database Index

Why is it not enough to just touch /usr and reboot? This causes systemd to update the hwdb because of the ConditionNeedsUpdate=/etc.

I don't see a reason to rebuild the hwdb each time the system is booted.

Das j (talk) 13:50, 12 January 2017 (UTC)Reply[reply]