mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
Merge pull request #1281 from tlaurion/usb_modules_load_order_fix
This commit is contained in:
commit
e45980d33f
@ -93,6 +93,11 @@ confirm_totp()
|
||||
|
||||
enable_usb()
|
||||
{
|
||||
#insmod ehci_hcd prior of uhdc_hcd and ohci_hcd to suppress dmesg warning
|
||||
if ! lsmod | grep -q ehci_hcd; then
|
||||
insmod /lib/modules/ehci-hcd.ko \
|
||||
|| die "ehci_hcd: module load failed"
|
||||
fi
|
||||
if [ "$CONFIG_LINUX_USB_COMPANION_CONTROLLER" = y ]; then
|
||||
if ! lsmod | grep -q uhci_hcd; then
|
||||
insmod /lib/modules/uhci-hcd.ko \
|
||||
@ -107,10 +112,6 @@ enable_usb()
|
||||
|| die "ohci_pci: module load failed"
|
||||
fi
|
||||
fi
|
||||
if ! lsmod | grep -q ehci_hcd; then
|
||||
insmod /lib/modules/ehci-hcd.ko \
|
||||
|| die "ehci_hcd: module load failed"
|
||||
fi
|
||||
if ! lsmod | grep -q ehci_pci; then
|
||||
insmod /lib/modules/ehci-pci.ko \
|
||||
|| die "ehci_pci: module load failed"
|
||||
|
Loading…
Reference in New Issue
Block a user