[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH initramfs-tools 0/4] Improve early keyboard driver loading



The first possible breakpoint (break=top) comes before we start
udev or load manually configurd modules.  Thus only built-in
keyboard drivers can be used.  We have a bodge to load a list of
known USB controller drivers and usbhid, but this still isn't
sufficient because we also need hid_generic or a more specific
HID driver.

These changes make break=top work for me when using a USB keyboard
in QEMU.  They also suppress the warning messages which currently
appear when starting a shell (unless using break=top and no quiet
parameter).

Ben.

Ben Hutchings (4):
  scripts/functions: Explicitly load keyboard drivers only at break=top
  scripts/functions: Use more sensible modprobe options at break=top
  scripts/functions: Load more USB host controllers drivers on break=top
  scripts/functions: Load HID drivers at break=top

 scripts/functions | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

Attachment: signature.asc
Description: Digital signature


Reply to: