Blame SOURCES/0265-kernel-modules-install-all-HID-drivers.patch

18971c
From b34bd60c3b4378ea33768c4dece5b744a7e769b0 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Thu, 23 Apr 2015 13:46:52 +0200
18971c
Subject: [PATCH] kernel-modules: install all HID drivers
18971c
18971c
Instead of hardcoding a list of useful drivers, which has to be curated
18971c
all the time, just include all HID drivers.
18971c
18971c
(cherry picked from commit 180e9d78516fb4b2ee5baef44521007a860d4dd2)
18971c
---
18971c
 modules.d/90kernel-modules/module-setup.sh | 25 ++++++++++++++++------
18971c
 1 file changed, 18 insertions(+), 7 deletions(-)
18971c
18971c
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
18971c
index fba2bc1a..34d85b1c 100755
18971c
--- a/modules.d/90kernel-modules/module-setup.sh
18971c
+++ b/modules.d/90kernel-modules/module-setup.sh
18971c
@@ -40,20 +40,31 @@ installkernel() {
18971c
             ehci-hcd ehci-pci ehci-platform \
18971c
             ohci-hcd ohci-pci \
18971c
             uhci-hcd \
18971c
-            xhci-hcd
18971c
+            xhci-hcd xhci-pci xhci-plat-hcd
18971c
 
18971c
-        instmods yenta_socket scsi_dh_rdac scsi_dh_emc \
18971c
-            atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
18971c
-            hid-logitech-dj hid-microsoft firewire-ohci \
18971c
-            pcmcia usb_storage nvme hid-hyperv hv-vmbus \
18971c
-            sdhci_acpi
18971c
+        instmods yenta_socket scsi_dh_rdac scsi_dh_emc scsi_dh_alua \
18971c
+                 atkbd i8042 usbhid firewire-ohci pcmcia hv-vmbus \
18971c
+                 atkbd i8042 usbhid firewire-ohci pcmcia usb_storage \
18971c
+                 nvme hv-vmbus sdhci_acpi
18971c
+
18971c
+        instmods \
18971c
+            "=drivers/hid" \
18971c
+            "=drivers/input/serio" \
18971c
+            "=drivers/input/keyboard"
18971c
 
18971c
         if [[ "$(uname -p)" == arm* ]]; then
18971c
             # arm specific modules
18971c
             hostonly='' instmods \
18971c
 	        connector-hdmi connector-dvi encoder-tfp410 \
18971c
 	        encoder-tpd12s015 i2c-tegra gpio-regulator \
18971c
-		as3722-regulator orion-ehci ehci-tegra 
18971c
+		as3722-regulator orion-ehci ehci-tegra
18971c
+            instmods \
18971c
+                "=drivers/i2c/busses" \
18971c
+                "=drivers/regulator" \
18971c
+                "=drivers/rtc" \
18971c
+                "=drivers/usb/host" \
18971c
+                "=drivers/usb/phy" \
18971c
+                ${NULL}
18971c
         fi
18971c
 
18971c
         # install virtual machine support