diff options
author | Josh Boyer <jwboyer@redhat.com> | 2013-03-26 07:52:06 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2013-03-26 08:15:07 -0400 |
commit | 8816de0b0fbf2f6dac19e334c315119a6332e1a1 (patch) | |
tree | e662adbaf36f3b76f4d051756e9e9f04457b5b4d /HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch | |
parent | 774576ede985ff299eb8f4ec9a4fba3919109757 (diff) | |
download | kernel-8816de0b0fbf2f6dac19e334c315119a6332e1a1.tar.gz kernel-8816de0b0fbf2f6dac19e334c315119a6332e1a1.tar.xz kernel-8816de0b0fbf2f6dac19e334c315119a6332e1a1.zip |
Add quirk for Realtek card reader to avoid 10 sec boot delay (rhbz 806587)
Diffstat (limited to 'HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch')
-rw-r--r-- | HID-usbhid-quirk-for-Realtek-Multi-card-reader.patch | 45 |
1 files changed, 45 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 000000000..6bccd6cd1 --- /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@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 + |