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

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