All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards
@ 2013-11-12  9:38 Colin Guthrie
       [not found] ` <1384249140-20683-1-git-send-email-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
  2013-11-12 10:28 ` Kay Sievers
  0 siblings, 2 replies; 16+ messages in thread
From: Colin Guthrie @ 2013-11-12  9:38 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA
  Cc: systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Colin Guthrie

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(+)

-- 
1.8.4.2

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-11-14  9:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12  9:38 [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards Colin Guthrie
     [not found] ` <1384249140-20683-1-git-send-email-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2013-11-12  9:38   ` [PATCH 1/2] Provide infrastructure to include udev hwdb files Colin Guthrie
2013-11-12  9:39   ` [PATCH 2/2] Include support for Logitec, Inc. Unifying Reveiver keyboard Colin Guthrie
2013-11-13  5:29   ` [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards Alexander E. Patrakov
     [not found]     ` <52830E31.30107-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-13 16:49       ` Alexander E. Patrakov
     [not found]         ` <CAN_LGv2h3jYopc4xBn+206MpdoeEzB6Hy3iBqPw4eqvcuOPQ-A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-13 16:53           ` Colin Guthrie
2013-11-13 17:18             ` Alexander E. Patrakov
     [not found]               ` <CAN_LGv2H3pDZ+Sp6LpxkN+Ay_4LbZbR4Av1_j0B2WLO=TcxvAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-13 17:31                 ` [systemd-devel] " Colin Guthrie
     [not found]                   ` <5283B76B.8070902-D409yXkIzt2rnn0nCzrM/w@public.gmane.org>
2013-11-13 17:45                     ` Alexander E. Patrakov
2013-11-13 17:55                       ` Alexander E. Patrakov
     [not found]                         ` <CAN_LGv08+8fmvqdz2afiuuET2cJLC9diGDMn6mtc904rdJGMog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-13 18:44                           ` [systemd-devel] " Colin Guthrie
     [not found]                             ` <5283C886.10300-D409yXkIzt2rnn0nCzrM/w@public.gmane.org>
2013-11-13 19:02                               ` Alexander E. Patrakov
     [not found]                                 ` <CAN_LGv18zK37_35F23XG7SkhEMMat0VVOxv3yoNMXzG4nUCZNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-14  8:10                                   ` Colin Guthrie
     [not found]                                     ` <52848565.6020303-D409yXkIzt2rnn0nCzrM/w@public.gmane.org>
2013-11-14  9:08                                       ` Harald Hoyer
2013-11-12 10:28 ` Kay Sievers
     [not found]   ` <CAPXgP13EujKcEgsc_1N-_VbsYOdOw2jLZHHaxiRWQv1tL1ECcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-12 10:42     ` Colin Guthrie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.