Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1207450pxk; Fri, 4 Sep 2020 03:42:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCFqi096oKpRm/mN3BNifYRUZ9rNeUa2T1sD7WICn65/Xtx/4foz2HQuW+F/engCBlCHYA X-Received: by 2002:a50:8881:: with SMTP id d1mr7804965edd.306.1599216166339; Fri, 04 Sep 2020 03:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599216166; cv=none; d=google.com; s=arc-20160816; b=m+kicuDN5JvzQivVJ1z02zXTRsmB66a2eHOzRzRPz58KBuObdeB3qIU+O+FdiCj+Rv 7H01QwbsWLVJEpXi8k/LsBu0Sy7RIV+JLuuh5nr4sTpri1AuMV7nhTbCf2ZAezt/k7rA 4G4q2hi2840MdqBGGAPp3Uk34VwoN486Hj6ynxatss7hb4okogvbojoELAle7El8XXrK QzahGnO84WsgCcGiOUMnv4T8vhAlV3+NykrUqnULLV48KBVz9vtgKTRPMnfJjGtc517Z iwfMrA5bmOb6xCdiSclYfFbUe/LtIlXO8z4qHn0UAowPoo1wy+Xia+gqTi+G933hFI3/ EqoQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=fQrwt8xcOrSI+56KckEf9iJP5gC7PDD5l96PuOjcIR0=; b=hik6lvma9PXicK0skFOG261cA1uFVsuw8P/PIJ9OdHmENJ8vJPvazk4hekyTRMILRH KQxk4QVXPhWY7AalbV/NMs7UZhIh629V894u9ruiIUlUwDtD6STe+nCwEAzLl0erLr3T MnHpxDVx0b5cjxQMJmKeofseZktNGMkMZJQBGXslQmjUbVW5V6yTYHODBaOzRtiHrksE ClXSDY/OFKM9USFammvesrdCa3oUz7SLm9GwgSF9Vv4FaScuWkd8enAdPbeN/Kggc3R9 fI5+uYXTNS/0XqCG67hfje5Z9EyCxxSbgMq5QOlB7ECeEMX0Bnkf9C8c8AwWIPG0/Ni4 g8SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si3956608ejv.339.2020.09.04.03.42.23; Fri, 04 Sep 2020 03:42:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729961AbgIDKiw (ORCPT + 99 others); Fri, 4 Sep 2020 06:38:52 -0400 Received: from regular1.263xmail.com ([211.150.70.202]:36622 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbgIDKik (ORCPT ); Fri, 4 Sep 2020 06:38:40 -0400 Received: from localhost (unknown [192.168.167.223]) by regular1.263xmail.com (Postfix) with ESMTP id 92CE3408; Fri, 4 Sep 2020 18:38:21 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from [10.10.77.74] (250.19.126.124.broad.bjtelecom.net [124.126.19.250]) by smtp.263.net (postfix) whith ESMTP id P15473T140655923783424S1599215900940793_; Fri, 04 Sep 2020 18:38:21 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <9ad19152e9ec3a302d88ebfa8cf6d6dc> X-RL-SENDER: penghao@uniontech.com X-SENDER: penghao@uniontech.com X-LOGIN-NAME: penghao@uniontech.com X-FST-TO: tomasz@meresinski.eu X-SENDER-IP: 124.126.19.250 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 5 X-System-Flag: 0 Subject: Re: [PATCH v3] HID: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook To: Hans de Goede , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Cc: johan@kernel.org, dlaz@chromium.org, stern@rowland.harvard.edu, kerneldev@karsmulder.nl, jonathan@jdcox.net, tomasz@meresinski.eu References: <20200904091322.30426-1-penghao@uniontech.com> From: PengHao Message-ID: Date: Fri, 4 Sep 2020 18:38:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: tl Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Hans Thanks for the review. And sorry for I'm not really familiar with mailing list, so didn't reply early. Actually the reason why I submit this patch, is the vendor ask we do this, they do not want enable touchpad wakeup. And yes, this device use hid-multitouch. 在 2020/9/4 下午6:05, Hans de Goede 写道: > Hi, > > On 9/4/20 11:13 AM, Penghao wrote: >> Add a USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for the BYD zhaoxin notebook. >> This notebook come with usb touchpad. And we would like to disable >> touchpad >> wakeup on this notebook by default. > > You are still not explaining why this is necessary ? > > And you did not answer my question if this touchpad is using hid-multitouch > either ? > > So NACK (rejection) from me until both questions are answered. The commi > message for a quirk should always explain why a quirk is necessary and > "we would like to disable touchpad wakeup on this notebook by default" > does not explain why you want to do that. > > Regards, > > Hans > > > >> >> Signed-off-by: Penghao >> --- >> >> Changes since v2: >>   - Add changes >> >> Changes since v1: >>   - Add the entries sorted by vendor ID and product ID. >> >>   drivers/usb/core/quirks.c | 4 ++++ >>   1 file changed, 4 insertions(+) >> >> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c >> index 7c1198f80c23..fffe1f7f1098 100644 >> --- a/drivers/usb/core/quirks.c >> +++ b/drivers/usb/core/quirks.c >> @@ -393,6 +393,10 @@ static const struct usb_device_id >> usb_quirk_list[] = { >>       /* Generic RTL8153 based ethernet adapters */ >>       { USB_DEVICE(0x0bda, 0x8153), .driver_info = USB_QUIRK_NO_LPM }, >>   +    /* SONiX USB DEVICE Touchpad */ >> +    { USB_DEVICE(0x0c45, 0x7056), .driver_info = >> +            USB_QUIRK_IGNORE_REMOTE_WAKEUP }, >> + >>       /* Action Semiconductor flash disk */ >>       { USB_DEVICE(0x10d6, 0x2200), .driver_info = >>               USB_QUIRK_STRING_FETCH_255 }, >> > > > > >