From patchwork Tue Nov 24 13:49:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Adrien_Verg=C3=A9?= X-Patchwork-Id: 7691241 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C3ADD9F2E9 for ; Tue, 24 Nov 2015 13:50:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68180207DB for ; Tue, 24 Nov 2015 13:50:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C936207D7 for ; Tue, 24 Nov 2015 13:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753959AbbKXNuU (ORCPT ); Tue, 24 Nov 2015 08:50:20 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:33183 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbbKXNuQ (ORCPT ); Tue, 24 Nov 2015 08:50:16 -0500 Received: by wmec201 with SMTP id c201so209844529wme.0; Tue, 24 Nov 2015 05:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=LHxvPMAISWmI6MMXg/YEBK76MGjmqlxDdt2mW9nQ8Zc=; b=WtvJUy33taz7ImWZFJ+y3BI9duTptf98eWOmSy2RuMpMA/esQtrqPB6OfAB022oro9 2LF+XajyqNCP3tudfF8KHvdGFpsu+7A1xHZy73nY+F8M95emtZlZF+i66YyiOlxyU9ig Jz0OzhsQ4Q7SIi0Qj8OrMKAN8nKRfQC1wSSeoWybvXbTBf4eYwWCLE/5XgbVZQ4WKaoB Kd+p0eqcVd2VC4oJ2i+VRHIOqJkuE4wwj5CyzweohRrNa3Mvh6YH8dKKdYNCsbJ14f9U c2+id62pio9aCGrqv/tnIrWYr75nN/HEyZK1co8jJXTPVHK8UPV02TwmThOSL5BWWxEL hBaA== X-Received: by 10.28.100.84 with SMTP id y81mr27169893wmb.48.1448373015168; Tue, 24 Nov 2015 05:50:15 -0800 (PST) Received: from e7450.localdomain (204.13-14-84.ripe.coltfrance.com. [84.14.13.204]) by smtp.googlemail.com with ESMTPSA id m185sm2396585wmf.0.2015.11.24.05.50.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 05:50:14 -0800 (PST) From: =?UTF-8?q?Adrien=20Verg=C3=A9?= To: Oliver Neukum Cc: Jiri Kosina , Greg Kroah-Hartman , Logan Gunthorpe , Hans de Goede , Vincent Palatin , =?UTF-8?q?Adrien=20Verg=C3=A9?= , Macpaul Lin , Adel Gadllah , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v3 1/2] USB: quirks: Fix another ELAN touchscreen Date: Tue, 24 Nov 2015 14:49:07 +0100 Message-Id: <1448372948-8861-2-git-send-email-adrienverge@gmail.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1448372948-8861-1-git-send-email-adrienverge@gmail.com> References: <1448165164-11398-1-git-send-email-adrienverge@gmail.com> <1448372948-8861-1-git-send-email-adrienverge@gmail.com> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Like other buggy models that had their fixes [1], the touchscreen with id 04f3:21b8 from ELAN Microelectronics needs the device-qualifier quirk. Otherwise, it fails to respond, blocks the boot for a random amount of time and pollutes dmesg with: [ 2887.373196] usb 1-5: new full-speed USB device number 41 using xhci_hcd [ 2889.502000] usb 1-5: unable to read config index 0 descriptor/start: -71 [ 2889.502005] usb 1-5: can't read configurations, error -71 [ 2889.654571] usb 1-5: new full-speed USB device number 42 using xhci_hcd [ 2891.783438] usb 1-5: unable to read config index 0 descriptor/start: -71 [ 2891.783443] usb 1-5: can't read configurations, error -71 [1]: See commits c68929f, 876af5d, d749947, a32c99e and dc703ec. Tested-by: Adrien Vergé Signed-off-by: Adrien Vergé --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index f5a3819..fcd6ac0 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -125,6 +125,9 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x04f3, 0x016f), .driver_info = USB_QUIRK_DEVICE_QUALIFIER }, + { USB_DEVICE(0x04f3, 0x21b8), .driver_info = + USB_QUIRK_DEVICE_QUALIFIER }, + /* Roland SC-8820 */ { USB_DEVICE(0x0582, 0x0007), .driver_info = USB_QUIRK_RESET_RESUME },