[kernel/f17] Add quirk for Realtek card reader to avoid 10 sec boot delay (rhbz 806587)

Josh Boyer jwboyer at fedoraproject.org
Tue Mar 26 11:52:36 UTC 2013


commit 2f06bf0c2b8e13ac079d7b1de117f5db66f3fdb7
Author: Josh Boyer <jwboyer at redhat.com>
Date:   Tue Mar 26 07:52:06 2013 -0400

    Add quirk for Realtek card reader to avoid 10 sec boot delay (rhbz 806587)

 ...sbhid-quirk-for-Realtek-Multi-card-reader.patch |   45 ++++++++++++++++++++
 kernel.spec                                        |    7 +++
 2 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch b/HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch
new file mode 100644
index 0000000..6bccd6c
--- /dev/null
+++ b/HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch
@@ -0,0 +1,45 @@
+From 926bb9deb21046248d01e2f6fc86fdbb149b514c Mon Sep 17 00:00:00 2001
+From: Josh Boyer <jwboyer at redhat.com>
+Date: Fri, 15 Mar 2013 10:27:36 -0400
+Subject: [PATCH 1/2] HID: usbhid: quirk for Realtek Multi-card reader
+
+This device has an odd HID entry and causes a 10 second delay in boot.
+Add this device to the quirks list with HID_QUIRK_NO_INIT_REPORTS.
+
+This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=806587
+
+Signed-off-by: Josh Boyer <jwboyer at redhat.com>
+---
+ drivers/hid/hid-ids.h           | 3 +++
+ drivers/hid/usbhid/hid-quirks.c | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
+index 92e47e5..d1063e9 100644
+--- a/drivers/hid/hid-ids.h
++++ b/drivers/hid/hid-ids.h
+@@ -684,6 +684,9 @@
+ #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001		0x3001
+ #define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008		0x3008
+ 
++#define USB_VENDOR_ID_REALTEK		0x0bda
++#define USB_DEVICE_ID_REALTEK_READER	0x0152
++
+ #define USB_VENDOR_ID_ROCCAT		0x1e7d
+ #define USB_DEVICE_ID_ROCCAT_ARVO	0x30d4
+ #define USB_DEVICE_ID_ROCCAT_ISKU	0x319c
+diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
+index e0e6abf..e991d81 100644
+--- a/drivers/hid/usbhid/hid-quirks.c
++++ b/drivers/hid/usbhid/hid-quirks.c
+@@ -80,6 +80,7 @@ static const struct hid_blacklist {
+ 	{ USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS, HID_QUIRK_NOGET },
+ 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, HID_QUIRK_NOGET },
+ 	{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008, HID_QUIRK_NOGET },
++	{ USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER, HID_QUIRK_NO_INIT_REPORTS },
+ 	{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
+ 	{ USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
+ 	{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
+-- 
+1.8.1.2
+
diff --git a/kernel.spec b/kernel.spec
index fad28f2..8864038 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -756,6 +756,9 @@ Patch24112: mac80211_fixes_for_ieee80211_do_stop_while_suspend_v3.8.patch
 #rhbz 859282
 Patch24113: VMX-x86-handle-host-TSC-calibration-failure.patch
 
+#rhbz 806587
+Patch24115: HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch
+
 #rhbz 907221
 Patch24116: HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
 
@@ -1512,6 +1515,9 @@ ApplyPatch mac80211-Dont-restart-sta-timer-if-not-running.patch
 #rhbz 907221
 ApplyPatch HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
 
+#rhbz 806587
+ApplyPatch HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2369,6 +2375,7 @@ fi
 #              '-'
 %changelog
 * Tue Mar 26 2013 Josh Boyer <jwboyer at redhat.com>
+- Add quirk for Realtek card reader to avoid 10 sec boot delay (rhbz 806587)
 - Add quirk for MSI keyboard backlight to avoid 10 sec boot delay (rhbz 907221)
 
 * Mon Mar 25 2013 Justin M. Forbes <jforbes at redhat.com>


More information about the scm-commits mailing list