c458b04
From: Johan Hovold <johan@kernel.org>
c458b04
Date: Mon, 25 Aug 2014 17:51:27 +0200
c458b04
Subject: [PATCH] USB: quirks: enable device-qualifier quirk for Elan
c458b04
 Touchscreen
c458b04
c458b04
Enable device-qualifier quirk for Elan Touchscreen, which often fails to
c458b04
handle requests for the device_descriptor.
c458b04
c458b04
Note that the device sometimes do respond properly with a Request Error
c458b04
(three times as USB core retries), but usually fails to respond at all.
c458b04
When this happens any further descriptor requests also fails, for
c458b04
example:
c458b04
c458b04
[ 1528.688934] usb 2-7: new full-speed USB device number 4 using xhci_hcd
c458b04
[ 1530.945588] usb 2-7: unable to read config index 0 descriptor/start: -71
c458b04
[ 1530.945592] usb 2-7: can't read configurations, error -71
c458b04
c458b04
This has been observed repeating for over a minute before eventual
c458b04
successful enumeration.
c458b04
c458b04
Reported-by: Drew Von Spreecken <drewvs@gmail.com>
c458b04
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c458b04
Signed-off-by: Johan Hovold <johan@kernel.org>
c458b04
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c458b04
---
c458b04
 drivers/usb/core/quirks.c | 4 ++++
c458b04
 1 file changed, 4 insertions(+)
c458b04
c458b04
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
57e2b74
index 814e712655e4..5ae883dc21f5 100644
c458b04
--- a/drivers/usb/core/quirks.c
c458b04
+++ b/drivers/usb/core/quirks.c
c458b04
@@ -93,6 +93,10 @@ static const struct usb_device_id usb_quirk_list[] = {
c458b04
 	{ USB_DEVICE(0x04e8, 0x6601), .driver_info =
c458b04
 			USB_QUIRK_CONFIG_INTF_STRINGS },
c458b04
 
c458b04
+	/* Elan Touchscreen */
c458b04
+	{ USB_DEVICE(0x04f3, 0x0089), .driver_info =
c458b04
+			USB_QUIRK_DEVICE_QUALIFIER },
c458b04
+
c458b04
 	/* Roland SC-8820 */
c458b04
 	{ USB_DEVICE(0x0582, 0x0007), .driver_info = USB_QUIRK_RESET_RESUME },
c458b04
 
c458b04
-- 
c458b04
1.9.3
c458b04