Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp625931pxk; Thu, 3 Sep 2020 08:33:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ++Ye8lUEKhU6nIqF+Ts8Jf2hPzN5P+j8LAJrps4v4DVFmR1nbYdSFY/eqn/vbyJSmZLM X-Received: by 2002:a17:906:cc4a:: with SMTP id mm10mr2620188ejb.451.1599147188180; Thu, 03 Sep 2020 08:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599147188; cv=none; d=google.com; s=arc-20160816; b=vYgD0SrCozcltAuzw1gGf2BNGCa47R4WiLZP6SSuZEgUgabZ3BahoRmEWa8dGhZlHA QGXvi27fe1KSprP+/Wr2OFY2K+YTn7Zsz96xWAEw47V3e+X93moRyqyxcSCfytFFGfMy kcCULuiRyXVy4N+FIPuQ86/iyRgL4EPGkjo3ngDEIG7GgwjBwvmkMQHkvt0P2kQI6F+J 1yUfKOiwMff58GhpAcgfw/OfW1RXAkvgPa4p48UXTRIGvLOg+7BWSiDuuhHDhhnRVzBG GqMiRSro17j6aF/cbfcYUKBoHr8a1geqGllXe6dLS7pfLIvNqP/SXfIjhwUtqXB2UeBB nxgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VindQVe57orXj++fPKW1JaA3KrB10gbIYe8msDVvIdw=; b=GJXhM4AdS3IL/HQGPOo4qOL1ABwFtjwzGoMrUFaaEOGAcm6dl9z16d0jT34SEiA2s1 oYECYC5A+U39zEb7GIaCxxemT+3BrgAWxgg7J4o6jUm6UzCI2oD/lILl7M+sZ6iL/jqG aSfopjpiddXE7CJMn+7XUq+h71v0tqBK+zJfEd2aqlzeQS25KGR9rzoWeUcb91P14VlQ xXijSloOU0cZJPK9fdAJXuDURsi8CuOI50JedJK5VhCaPWyN4pwidBnXdorqHsFb2ziO x1cZkBFGKdCgTV4gdTiOQGzCZ7MMZ1D28taGwTghEBy2E2c0U//JYd8uQ8IgVA8pCvfj QVbg== 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 b9si1991507edn.357.2020.09.03.08.32.43; Thu, 03 Sep 2020 08:33:08 -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 S1728417AbgICP3p (ORCPT + 99 others); Thu, 3 Sep 2020 11:29:45 -0400 Received: from netrider.rowland.org ([192.131.102.5]:46509 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1728337AbgICP3j (ORCPT ); Thu, 3 Sep 2020 11:29:39 -0400 Received: (qmail 662975 invoked by uid 1000); 3 Sep 2020 11:29:37 -0400 Date: Thu, 3 Sep 2020 11:29:37 -0400 From: Alan Stern To: Penghao Cc: gregkh@linuxfoundation.org, johan@kernel.org, hdegoede@redhat.com, dlaz@chromium.org, kerneldev@karsmulder.nl, jonathan@jdcox.net, tomasz@meresinski.eu, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook Message-ID: <20200903152937.GA662845@rowland.harvard.edu> References: <20200903100326.5327-1-penghao@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200903100326.5327-1-penghao@uniontech.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 03, 2020 at 06:03:26PM +0800, 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. > > Signed-off-by: Penghao > --- > 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..5fa3f2416967 100644 > --- a/drivers/usb/core/quirks.c > +++ b/drivers/usb/core/quirks.c > @@ -387,6 +387,10 @@ static const struct usb_device_id usb_quirk_list[] = { > { USB_DEVICE(0x0b05, 0x17e0), .driver_info = > USB_QUIRK_IGNORE_REMOTE_WAKEUP }, > > + /* SONiX USB DEVICE Touchpad */ > + { USB_DEVICE(0x0c45, 0x7056), .driver_info = > + USB_QUIRK_IGNORE_REMOTE_WAKEUP }, > + > /* Realtek hub in Dell WD19 (Type-C) */ > { USB_DEVICE(0x0bda, 0x0487), .driver_info = USB_QUIRK_NO_LPM }, Please follow the instructions at the start of the file about keeping the entries sorted by vendor ID and product ID. Alan Stern