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

This commit is contained in:
Josh Boyer 2013-03-26 07:52:06 -04:00
parent 774576ede9
commit 8816de0b0f
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,45 @@
From 926bb9deb21046248d01e2f6fc86fdbb149b514c Mon Sep 17 00:00:00 2001
From: Josh Boyer <jwboyer@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@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

View File

@ -747,6 +747,9 @@ Patch21275: VMX-x86-handle-host-TSC-calibration-failure.patch
#rhbz 907221 #rhbz 907221
Patch21277: HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch Patch21277: HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
#rhbz 806587
Patch21278: HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch
Patch22000: weird-root-dentry-name-debug.patch Patch22000: weird-root-dentry-name-debug.patch
#selinux ptrace child permissions #selinux ptrace child permissions
@ -1454,6 +1457,9 @@ ApplyPatch mac80211-Dont-restart-sta-timer-if-not-running.patch
#rhbz 907221 #rhbz 907221
ApplyPatch HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch 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 # END OF PATCH APPLICATIONS
%endif %endif
@ -2296,6 +2302,7 @@ fi
# || || # || ||
%changelog %changelog
* Tue Mar 26 2013 Josh Boyer <jwboyer@redhat.com> * Tue Mar 26 2013 Josh Boyer <jwboyer@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) - Add quirk for MSI keyboard backlight to avoid 10 sec boot delay (rhbz 907221)
* Mon Mar 25 2013 Justin M. Forbes <jforbes@redhat.com> * Mon Mar 25 2013 Justin M. Forbes <jforbes@redhat.com>