Skip to content

(dracut) hwdb needed in early boot for some keyboards

Colin Guthrie initramfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Provide infrastructure to include udev hwdb files.dracut-functions.sh dracut.sh+32 -00 replies
2/2Include support for Logitec, Inc. Unifying Reveiver keyboardmodules.d/95udev-rules/module-setup.sh+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

Hi,

In this bug report https://bugs.mageia.org/show_bug.cgi?id=11645 a user is unable to enter their encrypted root password via a wireless keyboard connected with a Logitech, Inc. Unifying Receiver.

This information has moved from a 95-keymap.rules in the olden days to the hwdb infrastructure (I think the 95-keymap.rules was upstream and not something we did downstream)

In order to get this working I have to include the hwdb.bin generated from the 20-usb-vendor-model.hwdb file.

The attached patch series adds this infrastructure to dracut, but it has the side effect of adding 1.5Mb to the initrd. The pre-processed hwdb file itself is around 1Mb. I suspect there is a lot of unneeded info in this file, so perhaps it can be split out into separate files and only include keyboard related bits in one of them?

There may also be other hwdb files needed for keyboards so please advise if others should be added by default to dracut (60-keyboard.hwdb seems a likely candidate)

If anyone has any other suggestions and also any idea how to make the hwdb.bin file any smaller for the initrd that would be great too.

Cheers

Col

Colin Guthrie (2):
Provide infrastructure to include udev hwdb files. Include support for Logitec, Inc. Unifying Reveiver keyboard

 dracut-functions.sh                    | 29 +++++++++++++++++++++++++++++
 dracut.sh                              |  3 +++
 modules.d/95udev-rules/module-setup.sh |  3 +++
 3 files changed, 35 insertions(+)
Signature · 1 line
1.8.4.2