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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0EF6CCA47F for ; Fri, 1 Jul 2022 06:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235044AbiGAG6c (ORCPT ); Fri, 1 Jul 2022 02:58:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232809AbiGAG6a (ORCPT ); Fri, 1 Jul 2022 02:58:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72600D112; Thu, 30 Jun 2022 23:58:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 222C5B82E4A; Fri, 1 Jul 2022 06:58:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71F47C3411E; Fri, 1 Jul 2022 06:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656658706; bh=UBTffDzwvX+CIbxAmYZr3d1/a9dxAAVHxHpGjDbKgZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SJZ6ik/UCVTN+TI4KrBpCUcCsfajMFoqMLvjNbX/hvnNvv7ZLp8RsqdHLqDH57XQ6 GqNwuG2svF5w8wDIA7IPqFAYjUymqoCi5Vy8GNzdMoffP1Cp6kKUpsiUhdI5YuOJGo z4Mwb1f60PK3kAlmzwM644su2oZ+Mm9LHeWxmwuk= Date: Fri, 1 Jul 2022 08:58:24 +0200 From: Greg KH To: Mario Limonciello Cc: Jiri Kosina , Benjamin Tissoires , linux-pm@vger.kernel.org, Richard Gong , linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 10/10] HID: usbhid: Set USB mice as s2idle wakeup resources Message-ID: References: <20220701023328.2783-1-mario.limonciello@amd.com> <20220701023328.2783-10-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220701023328.2783-10-mario.limonciello@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 30, 2022 at 09:33:28PM -0500, Mario Limonciello wrote: > The USB HID transport layer doesn't configure mice for wakeup by default. > Thus users can not wake system from s2idle via USB mouse. However, users > can wake the same system from Modern Standby on Windows with the same USB > mouse. > > Microsoft documentation indicates that all USB mice and touchpads should > be waking the system from Modern Standby. As I said before, their documentation indicates that all _EXTERNAL_ mice and touchpads. You forgot about internally connected mice and touchpads here, you wouldn't want them to wake up a device asleep, right? thanks, greg k-h