]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
kernel-modules: install all HID drivers
authorHarald Hoyer <harald@redhat.com>
Thu, 23 Apr 2015 11:46:52 +0000 (13:46 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 23 Apr 2015 11:46:52 +0000 (13:46 +0200)
Instead of hardcoding a list of useful drivers, which has to be curated
all the time, just include all HID drivers.

modules.d/90kernel-modules/module-setup.sh

index a7b08536d36dc494d8cd9dd905eb80ea3b47a544..6e2fd7413883ffb642185111254b4d663aae3309 100755 (executable)
@@ -41,10 +41,13 @@ installkernel() {
             uhci-hcd \
             xhci-hcd xhci-pci xhci-plat-hcd
 
+        instmods \
+            "=drivers/hid" \
+            "=drivers/input/serio" \
+            "=drivers/input/keyboard"
+
         instmods yenta_socket scsi_dh_rdac scsi_dh_emc scsi_dh_alua \
-            atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
-            hid-logitech-dj hid-microsoft hid-lcpower firewire-ohci \
-            pcmcia hid-hyperv hv-vmbus hyperv-keyboard
+                 atkbd i8042 usbhid firewire-ohci pcmcia hv-vmbus
 
         if [[ "$(uname -p)" == arm* ]]; then
             # arm specific modules