diff options
author | AceLan Kao <acelan.kao@canonical.com> | 2013-10-02 05:35:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-12 01:36:28 -0500 |
commit | e5fbe70c826f8ef985932328c28fc044ab790ee7 (patch) | |
tree | edc413d927fc7fb0e5e23393998690af2fdf4b7e | |
parent | 6c02a5a2672bf6c70be5282316eaad28052fa1dd (diff) |
HID: usbhid: quirk for Synaptics Large Touchccreen
commit 8171a67d587a09e14a4949a81e070345fedcf410 upstream.
BugLink: http://bugs.launchpad.net/bugs/1180881
Synaptics large touchscreen doesn't support some of the report request
while initializing. The unspoorted request will make the device unreachable,
and will lead to the following usb_submit_urb() function call timeout.
So, add the IDs into HID_QUIRK_NO_INIT_REPORTS quirk.
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/hid/hid-ids.h | 2 | ||||
-rw-r--r-- | drivers/hid/usbhid/hid-quirks.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 799dbec2646b..bbcae99f22b6 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -786,6 +786,8 @@ | |||
786 | #define USB_DEVICE_ID_SYNAPTICS_COMP_TP 0x0009 | 786 | #define USB_DEVICE_ID_SYNAPTICS_COMP_TP 0x0009 |
787 | #define USB_DEVICE_ID_SYNAPTICS_WTP 0x0010 | 787 | #define USB_DEVICE_ID_SYNAPTICS_WTP 0x0010 |
788 | #define USB_DEVICE_ID_SYNAPTICS_DPAD 0x0013 | 788 | #define USB_DEVICE_ID_SYNAPTICS_DPAD 0x0013 |
789 | #define USB_DEVICE_ID_SYNAPTICS_LTS1 0x0af8 | ||
790 | #define USB_DEVICE_ID_SYNAPTICS_LTS2 0x1d10 | ||
789 | 791 | ||
790 | #define USB_VENDOR_ID_THINGM 0x27b8 | 792 | #define USB_VENDOR_ID_THINGM 0x27b8 |
791 | #define USB_DEVICE_ID_BLINK1 0x01ed | 793 | #define USB_DEVICE_ID_BLINK1 0x01ed |
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index ae5c63478b92..54413b84fe36 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c | |||
@@ -112,6 +112,8 @@ static const struct hid_blacklist { | |||
112 | { USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_I608X, HID_QUIRK_MULTI_INPUT }, | 112 | { USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_I608X, HID_QUIRK_MULTI_INPUT }, |
113 | { USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M610X, HID_QUIRK_MULTI_INPUT }, | 113 | { USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M610X, HID_QUIRK_MULTI_INPUT }, |
114 | { USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_DUOSENSE, HID_QUIRK_NO_INIT_REPORTS }, | 114 | { USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_DUOSENSE, HID_QUIRK_NO_INIT_REPORTS }, |
115 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS1, HID_QUIRK_NO_INIT_REPORTS }, | ||
116 | { USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS2, HID_QUIRK_NO_INIT_REPORTS }, | ||
115 | 117 | ||
116 | { 0, 0 } | 118 | { 0, 0 } |
117 | }; | 119 | }; |