Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5610068imu; Mon, 26 Nov 2018 02:58:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjQcE7+qlHAqn9p/v2Cc2urseQkF/Cziu63sdttDE0BWhxlF9IMeakqjXn+nzwpcpWtqLS X-Received: by 2002:a17:902:ba8b:: with SMTP id k11mr8480817pls.177.1543229932994; Mon, 26 Nov 2018 02:58:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543229932; cv=none; d=google.com; s=arc-20160816; b=zGa/0ayxvKBJh3RdbLD/wScBDMgEqAYU44iVlQxtM9WnLC/SLh7fLz1x1OSpTra1X8 SsDCnoqCa7P1VcvsJBtlrh5LzTZiMTzDNzcbhQffLSPpM06c5ZCdoSTzeADjAEcX6yVx g7/MGSgchohQoMRUY2KzX+zgCJgxaETw9puYze61o41YfPZkQnHKthGzv2bFfl5f0MOE N7VbSATrx92iag/MjpLGH4HGh4fmASlg1aJ44AfVSt4We4fLa9LZRwT80IGQerxJVSID VagHVrI6pfoPGcT2XAcvx9hOOp/0vDAk2+CmOG7URvuqEQCJeqiU8AOV0E52ZR2cA9Bj qCNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=W15uzG0xy3wVTFrDSTlAKAYqXQWqrJc+dX93WC9EEL4=; b=Frmz8dETAyMFlZEE/AXOi60K0akPWCCeHb5HMAJdXCf+Ai9g5o2GmKatFisjA4jllF /nQMb3B42EbIF20IvhAV8APy5KT18w7XzZrogaeUiga49mGWeno12PMacoP48L6aXfSa +eoNgl/SK0Kp23vUL8oAJvQxJba/3TvySSSRKaDIaIEGED7jSJ2nCHjHkVtZ5c7qjFMd NaHIullSH6+WaZOqE2VJPDezWZLbSvhVGrwr0VBX7/+kuoGuFhhTS+/4hGv11u5IdIqJ lplQUtHACiVe8Nvd9Bk391NsUuGKGKHhwTZX7hHqgOEfDWHFbT9PztKRoOItGAogQGG5 8Rvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hDsgIgpw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g33si43240345pgm.426.2018.11.26.02.58.38; Mon, 26 Nov 2018 02:58:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hDsgIgpw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728221AbeKZVtp (ORCPT + 99 others); Mon, 26 Nov 2018 16:49:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:58780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbeKZVto (ORCPT ); Mon, 26 Nov 2018 16:49:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1213020817; Mon, 26 Nov 2018 10:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229760; bh=HvEbMUUZWTj5q8kMgB6eSkuhBTP3zJS2fAbYNZLd/k4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hDsgIgpw/YO0mf6YfhI8qUogrruWByRm5bprcQt0NzsIdXngN6u8UJrQIEYVeAyen FCDP0+nGuVx7uxBD0Yf3nTtsaWMwhGUPudByLu+2dp0NhgsjemF3d1JLPm+D2IoER6 jie6mEyBZv+kR1hPbFEi8ZGJABManfiPlZoskH/0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng Subject: [PATCH 4.4 63/70] USB: quirks: Add no-lpm quirk for Raydium touchscreens Date: Mon, 26 Nov 2018 11:51:18 +0100 Message-Id: <20181126105052.692775343@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng commit deefd24228a172d1b27d4a9adbfd2cdacd60ae64 upstream. Raydium USB touchscreen fails to set config if LPM is enabled: [ 2.030658] usb 1-8: New USB device found, idVendor=2386, idProduct=3119 [ 2.030659] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.030660] usb 1-8: Product: Raydium Touch System [ 2.030661] usb 1-8: Manufacturer: Raydium Corporation [ 7.132209] usb 1-8: can't set config #1, error -110 Same behavior can be observed on 2386:3114. Raydium claims the touchscreen supports LPM under Windows, so I used Microsoft USB Test Tools (MUTT) [1] to check its LPM status. MUTT shows that the LPM doesn't work under Windows, either. So let's just disable LPM for Raydium touchscreens. [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-test-tools Signed-off-by: Kai-Heng Feng Cc: stable Signed-off-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -263,6 +263,11 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x2040, 0x7200), .driver_info = USB_QUIRK_CONFIG_INTF_STRINGS }, + /* Raydium Touchscreen */ + { USB_DEVICE(0x2386, 0x3114), .driver_info = USB_QUIRK_NO_LPM }, + + { USB_DEVICE(0x2386, 0x3119), .driver_info = USB_QUIRK_NO_LPM }, + /* DJI CineSSD */ { USB_DEVICE(0x2ca3, 0x0031), .driver_info = USB_QUIRK_NO_LPM },