From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57399C43461 for ; Mon, 17 May 2021 11:44:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3679460FD7 for ; Mon, 17 May 2021 11:44:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236623AbhEQLpd (ORCPT ); Mon, 17 May 2021 07:45:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:40800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbhEQLpb (ORCPT ); Mon, 17 May 2021 07:45:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0117161073; Mon, 17 May 2021 11:44:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621251855; bh=fKCrMo6p14G4Wd3Gph0gHVlY5XhhTyAJlztAR6yNqIg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ySmJsb6Kq26EFm75VotlrybSRJYh9BgyTdlHhhH1MYiuz7pXDnCD+DVn0/RjC/u+7 0YrvQkCqZDtfqjQ9KBwfwVmklm9WARziPOoZMZXgVnCNvshItrkREl0xwJA80tm6mT o4qI1b9MOjKrbOvel2+o9I6Vme+mJico4N/bPci4= Date: Mon, 17 May 2021 13:44:13 +0200 From: Greg KH To: =?utf-8?B?6ams5by6?= Cc: jikos , "benjamin.tissoires " , linux-usb , linux-input , linux-kernel Subject: Re: Re: Re: Re: Re: [PATCH] HID: usbhid: enable remote wakeup for mouse Message-ID: References: <20210517060145.32359-1-maqianga@uniontech.com> <1547909475.114060.1621244274064.JavaMail.xmail@bj-wm-cp-4> <1781917892.119659.1621247946603.JavaMail.xmail@bj-wm-cp-4> <440071991.120491.1621248757251.JavaMail.xmail@bj-wm-cp-4> <671637326.122188.1621250895330.JavaMail.xmail@bj-wm-cp-4> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <671637326.122188.1621250895330.JavaMail.xmail@bj-wm-cp-4> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 07:28:15PM +0800, 马强 wrote: > > > Given that you have not tested this change, why should we take this? > > > I have tested this change. > > Before adding the patch, "dev->power.should_wakeup" is disabled after the > insertion of the USB mouse, > > and after adding the patch, "dev->power.should_wakeup" is enabled after the > insertion of the USB mouse. > > > > How many different mice did you test this on? What specific models? Again, this is not a requirement of all Mice devices, as it is not a requirement of the USB specification, which is why we can not enable it for all devices of this type. And no other operating system does so either that I know of. Do you know of one? thanks, greg k-h