add quirks for 0x4d9:0xa096 hid device
PATCH v2 1/1 add quirks for 0x4d9:0xa096 hid device
Resend the patch, because I miss spell the keyborad as mouse
PATCH 1/1 add quirks for 0x04d9:0xa096 hid keyborad device
From: microcai <[email protected]>
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
--- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+)
drivers/hid/hid-ids.h +1 -0
@@ -477,6 +477,7 @@#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070 0xa070#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072 0xa072#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081 0xa081 +#define USB_DEVICE_ID_HOLTEK_ALT_KEYBORAD_A096 0xa096#define USB_VENDOR_ID_IMATION 0x0718#define USB_DEVICE_ID_DISC_STAKKA 0xd000
drivers/hid/usbhid/hid-quirks.c +1 -0
@@ -120,6 +120,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBORAD_A096, HID_QUIRK_NO_INIT_REPORTS }, { 0, 0 } };
Signature · 1 line
2.0.0
Re: [PATCH] add quirks for 0x04d9:0xa096 hid keyborad device
Quoted 1 line · On Sun, 13 Jul 2014, [email protected] wrote:
From: microcai <[email protected]>
Real name, please.
Also, you need to add a signed-off-by line, refer to:Documentation/SubmittingPatches
in the kernel source.
Quoted 1 line
by adding this quirks, the usb keyborad is usable right after plugin
It is spelled keyboard. Please also fix this on the patch itself:
drivers/hid/hid-ids.h line 480
Quoted 6 lines
+++
b/drivers/hid/hid-ids.hdrivers/hid/hid-ids.h +1
-0@@ -477,6 +477,7 @@#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070 0xa070#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072 0xa072#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081 0xa081 +#define USB_DEVICE_ID_HOLTEK_ALT_KEYBORAD_A096 0xa096
KEYBOARD
drivers/hid/usbhid/hid-quirks.c static const struct hid_blacklist { · line 123
Quoted 10 lines
drivers/hid/hid-ids.h +0
-0#define USB_DEVICE_ID_DISC_STAKKA 0xd000drivers/hid/usbhid/hid-quirks.c +1
-0@@ -120,6 +120,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD, HID_QUIRK_NO_INIT_REPORTS }, { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBORAD_A096, HID_QUIRK_NO_INIT_REPORTS },
Also here, KEYBOARD
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Re: [PATCH v3] add quirks for 0x04d9:0xa096 hid keyborad device
I am using a USB keyboard 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 keyboard is usable right after plugin
--- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+)
drivers/hid/hid-ids.h +1 -0
@@ -477,6 +477,7 @@#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070 0xa070#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072 0xa072#define USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081 0xa081 +#define USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096 0xa096#define USB_VENDOR_ID_IMATION 0x0718#define USB_DEVICE_ID_DISC_STAKKA 0xd000
drivers/hid/usbhid/hid-quirks.c +0 -0
@@ -120,6 +120,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD,
HID_QUIRK_NO_INIT_REPORTS },
{ USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD,HID_QUIRK_NO_INIT_REPORTS },
{ USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103,HID_QUIRK_NO_INIT_REPORTS },
+ { USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096,HID_QUIRK_NO_INIT_INPUT_REPORTS },
{ 0, 0 }};
Signature · 1 line
2.0.0