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

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