mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-18 16:17:37 +00:00
functions: add loading of usb-hid via enable_usb
Testing points: - All boards explicitely declaring CONFIG_USB_KEYBOARD=y gets USB Keyboard back under Heads - All other boards are not impacted.
This commit is contained in:
parent
97b124ab8e
commit
7b15726e1d
@ -122,6 +122,14 @@ enable_usb()
|
||||
|| die "xhci_pci: module load failed"
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
if [ "$CONFIG_USB_KEYBOARD" = y ]; then
|
||||
if ! lsmod | grep -q usbhid; then
|
||||
insmod /lib/modules/usbhid.ko \
|
||||
|| die "usbhid: module load failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
confirm_gpg_card()
|
||||
|
Loading…
x
Reference in New Issue
Block a user