From patchwork Tue Nov 24 15:02:04 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: 7691831 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 0E8FD9F4F5 for ; Tue, 24 Nov 2015 15:03:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D8FD20840 for ; Tue, 24 Nov 2015 15:03:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5261C2083F for ; Tue, 24 Nov 2015 15:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754397AbbKXPCn (ORCPT ); Tue, 24 Nov 2015 10:02:43 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:33812 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754102AbbKXPCk (ORCPT ); Tue, 24 Nov 2015 10:02:40 -0500 Received: by wmvv187 with SMTP id v187so213748618wmv.1; Tue, 24 Nov 2015 07:02:39 -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=R4OOxw3/FUVMRzmamZDf7u4yFzG5mvoiUhPmcgbHVGNMgBab0jO3Lk3azF89CDV5Nh FlSOoNwW0esEiIyg6DBbjCRpsyQ5nUKbfbIOewzY4h48OJf5qb7XgE1+3CRQqHiqt/WZ ns79brwAdqkHtDWhkRNP0/z3c5q6Tek46/AAxRcdaJgWNcEGFELF6WDqJtvpAyldkUpu H+aLjl7Ym1v7EYPnEKSKsI4881VOfwgtwD8a44rUt7qVMIIP2lGaA0yzMcHZo1pKnXr3 +eB6BAsjVazLyxyUrgxT7n9fr0KBHxhDQoYQ15aZwQjxhRObEY5BbCcUXDDSfbwpDjKU gqSQ== X-Received: by 10.28.156.83 with SMTP id f80mr27030744wme.41.1448377359479; Tue, 24 Nov 2015 07:02:39 -0800 (PST) Received: from e7450.localdomain (204.13-14-84.ripe.coltfrance.com. [84.14.13.204]) by smtp.googlemail.com with ESMTPSA id e83sm18594019wmc.23.2015.11.24.07.02.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 07:02:39 -0800 (PST) From: =?UTF-8?q?Adrien=20Verg=C3=A9?= To: Benjamin Tissoires , Oliver Neukum , Jiri Kosina Cc: 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 v4 1/2] USB: quirks: Fix another ELAN touchscreen Date: Tue, 24 Nov 2015 16:02:04 +0100 Message-Id: <1448377325-4725-2-git-send-email-adrienverge@gmail.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1448377325-4725-1-git-send-email-adrienverge@gmail.com> References: <1448165164-11398-1-git-send-email-adrienverge@gmail.com> <1448377325-4725-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 },