diff options
author | Wangzhao Cai <microcaicai@gmail.com> | 2014-07-13 21:13:32 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-07-29 05:14:27 -0400 |
commit | 30c6fd4277ebab2a32ae5635d34283354b1bc8f2 (patch) | |
tree | 4fe0c50818066b1d3c498817c149ed3127656886 | |
parent | ff2019456d745d4ebc1307eba128393a39790217 (diff) |
HID: add quirk for 0x04d9:0xa096 device
I am using a USB keyborad that give me "usb_submit_urb(ctrl) failed: -1" error
when I plugin it. and I need to wait for 10s for this device to be ready.
By adding this quirks, the usb keyborad is usable right after plugin
Signed-off-by: Wangzhao Cai <microcaicai@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/hid-ids.h | 1 | ||||
-rw-r--r-- | drivers/hid/usbhid/hid-quirks.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 6d00bb9366fa..1ac5ed472ad7 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -478,6 +478,7 @@ | |||
478 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070 0xa070 | 478 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070 0xa070 |
479 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072 0xa072 | 479 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072 0xa072 |
480 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081 0xa081 | 480 | #define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081 0xa081 |
481 | #define USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096 0xa096 | ||
481 | 482 | ||
482 | #define USB_VENDOR_ID_IMATION 0x0718 | 483 | #define USB_VENDOR_ID_IMATION 0x0718 |
483 | #define USB_DEVICE_ID_DISC_STAKKA 0xd000 | 484 | #define USB_DEVICE_ID_DISC_STAKKA 0xd000 |
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 59badc10a08c..90638a4f8928 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c | |||
@@ -121,6 +121,7 @@ static const struct hid_blacklist { | |||
121 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD, HID_QUIRK_NO_INIT_REPORTS }, | 121 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD, HID_QUIRK_NO_INIT_REPORTS }, |
122 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD, HID_QUIRK_NO_INIT_REPORTS }, | 122 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD, HID_QUIRK_NO_INIT_REPORTS }, |
123 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103, HID_QUIRK_NO_INIT_REPORTS }, | 123 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103, HID_QUIRK_NO_INIT_REPORTS }, |
124 | { USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096, HID_QUIRK_NO_INIT_INPUT_REPORTS }, | ||
124 | 125 | ||
125 | { 0, 0 } | 126 | { 0, 0 } |
126 | }; | 127 | }; |