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 6F692C64ED8 for ; Thu, 23 Feb 2023 11:48:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233533AbjBWLsH (ORCPT ); Thu, 23 Feb 2023 06:48:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232923AbjBWLsE (ORCPT ); Thu, 23 Feb 2023 06:48:04 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7919B12BD7; Thu, 23 Feb 2023 03:48:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g5K8UYuWp7nPG74F3+Dq6Cz8EybyiKJP8WoKpe0xs1UqiBxCkzHyEmVUwCht1uSJR+xB0+qCg8xua+z1BMFZVQ9Y10Q+A+cJ2TOiv/O6ozMWmwhN8QYVrE1KlPz/5frdtAgGQThyJarpOMsaMXlFCFYp985AgvQYsQl71vFoW3DCMgpHi6ZTpqCKi2FoVYTlhLNIuaeaZ5fhmDY72Z4yuo5NkRPqWzZKxMH/X7sZLqF7bDBFr7sH4dNf53pm/yZTrPe5f0Tj9i3flcLPCk8KAdbsw5fxNLluJg20v+kVsjL92jCNYGZ3tz1buejz5xWytuK1TTmv84OIw6Vem5sxUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lDfD0UI3EzydEPGR2x1jIqRrsC+D86uDDJmTrp98MjA=; b=U3iFXcBGvziyK95Szd0TtcRSMawMfTgq2P3y5RjsoMnT3+qSuM58bFYSowIVuc1PhrADb/IQKUXxBejU5tKDaUGTRlvuyrqFumdiXXh6ZyV5Ao3guJGnKWWhAaolR9plwLPk/3lggc129QMcqhKeQsnxVG07ER4EB8eBWl9N8alBd758wHnKSVOrXi4xZq+QI6mHFbZlYr1QHhGg0vIlUpaJQfhlUdGSnJe0SmaWp0+M5jN1xQQ1IIeOj9Hs7tTB9gGjJ8AiXs9ht2WL3prbap9rm5D9KbNdTCB7H1f5i0dOVsby9hg8mSrZqWHOBaiE7v3+H72M6Ihj8MziyRLSpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lDfD0UI3EzydEPGR2x1jIqRrsC+D86uDDJmTrp98MjA=; b=AVCwUgFONOU4HiHI4Pekp8yG5Hlp+ILS+vYRrWTvhWZBPPwJbkRcUjRw4voAuO1TvYlYlX1wBzdLRxIL3QiVhOA7zboISfy1JjqdNbqB3W8N88N6O0w3rJzU2wh1nxZVh2ouPJLrjNdF5lojeVRcX3firv/p0oeJrh1WG8/jEEoZ+tUTPRJXaalYrc1UgG+7heZVghvMTnGzMq5L3hY+quamOUqJ9AsADYuvEOaSeXSjAZFKY4owmkT44xBrt+NMcT+JG+S4DANQj6t4AClMbAuwMfuAP43wO2DA6SMh3OR5Yb8DQ4YdKWvaQPxqX5kuzHw6+Yl9VYSLT+lJBeJzEA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB7104.eurprd04.prod.outlook.com (2603:10a6:800:126::9) by DBBPR04MB7849.eurprd04.prod.outlook.com (2603:10a6:10:1eb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21; Thu, 23 Feb 2023 11:47:58 +0000 Received: from VI1PR04MB7104.eurprd04.prod.outlook.com ([fe80::2191:53f7:4a90:c7cc]) by VI1PR04MB7104.eurprd04.prod.outlook.com ([fe80::2191:53f7:4a90:c7cc%7]) with mapi id 15.20.6134.018; Thu, 23 Feb 2023 11:47:58 +0000 Message-ID: <140a05d7-4bf4-3b57-be8e-05d7c6fc5f25@suse.com> Date: Thu, 23 Feb 2023 12:47:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] HID: usbhid: enable remote wakeup for mice Content-Language: en-US To: Michael Wu , Oliver Neukum , jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, richard.gong@amd.com, mario.limonciello@amd.com References: <20230222013944.31095-1-michael@allwinnertech.com> <6d7c8e3f-225e-400f-f8a4-bf14c538ad8a@allwinnertech.com> From: Oliver Neukum In-Reply-To: <6d7c8e3f-225e-400f-f8a4-bf14c538ad8a@allwinnertech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0070.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::22) To VI1PR04MB7104.eurprd04.prod.outlook.com (2603:10a6:800:126::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB7104:EE_|DBBPR04MB7849:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d0d3949-a37a-419f-9e0f-08db1593cf28 X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4wbeQxazruQkEABXsxARc2RKDAQNpGSHf5DCeF7cigMNE90EvuqS8eI28Ov2HixfwB/pej/UO5sWfHpRhIVQy/ZLBRmCWd7YJKcCIYhav9K8WCKXPvD3W2BFahUTaeOkIIUwlukUwqnR/4vCPt2gizdmVxnOEXXPPQgVaMVYSYygvDJSUuPHVgoY2TMEF/aImrj/ebbaLQR83dp/NgYc+p8exlA3FBq6nhslI562gjDCS3ZkeD3tJDmjXFrMK4GEHyfkICUaOvR8xzHws+49k8Qi9giJ6gRn6lgdU7AGVqlnsuGhFKObkRXet26enrH0AGagh/iXMuOfeXyoT4ZwfFYgjcgUTCj0xKL71xrYCGM5rDyvDFdQEuummUiKiJOTBOtZyYkY80l17VaiBFpOXhgJPeJURSimz+tXuXRvR1XjuL7UyurUuVtP7MH+zndWgkqaee6+P03NaOwh6J4qZz0Yeoqe7j8sL8xmlTP3/8cSCdng119PCCjH4OBqIFqlUpt+VQcTU8g38iuc28gt/he9Czwi46CbPedG7QN97Gh1RQAFoLHt7/DSY5FcgHyhgbwg90028zDuhIwwAUhVq+rbSJ3AghSUI5zRASyS3ho8OoRVcbbex8xRmT9J6gj2jT/ljdoKlrNhoEytX7zONh5grcD/mDNoMRgt5bLpX/RSbIEea016tsdjX0PnuvqEc5wT0IIRDNVkwipUYoQa5SbIkyA9KFfi/lSOKMjQw6s= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB7104.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(376002)(366004)(396003)(136003)(346002)(451199018)(478600001)(110136005)(6512007)(186003)(6506007)(41300700001)(66556008)(66476007)(66946007)(316002)(6486002)(8676002)(4326008)(53546011)(83380400001)(8936002)(5660300002)(4744005)(2906002)(38100700002)(31696002)(86362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xTk9Z?= =?utf-8?B?UFp5WVcwMi9MTzBZTzRvWHhDdG9JVWpQdkczenVOY0RFM2pLWW52VndTN3c4?= =?utf-8?B?SGJlSjFHV3YyVlNiWXdtazltSEZFWXBnUUI1Q2RscUxUTHFkS0U2RkJJVUlE?= =?utf-8?B?VFBkRmpoemY0cXY2RmVwZVZjMkQvRXBmMDV4bUYyRHVCU2J1UjZKSFBHa25V?= =?utf-8?B?REVYeGFYUlBVUmlEYlRManBhb3FwRHpWc1VXUXhXR1BRSE5DMnpibm1SdW50?= =?utf-8?B?dkhzVkEySzhJeWZaMFNMeFJhY0FtL2ZsT3JuUGl5T2NoVVBDWW5tekhPWjk2?= =?utf-8?B?SEdZVkJqZUo0cWlJSC93YUhiWWFHMmp5dGdsNGovSEJtUnYrdks5OWtnQTk5?= =?utf-8?B?TExlbG1mdDgwL2hoK0trclM4M2ZNZ2tFdzVER1JsMUFMY0xwRVg2ZVFzcytJ?= =?utf-8?B?ajh4L2dSU2Nma0hlQVFLWUkxZm0xVVFzamV5VExTbzVRaEl0eEsxbU1XRGlF?= =?utf-8?Q?7lKxjL0a1ASPgJn7WJOZxGs/AMwZ+lnCXh/R5GqbpM/f?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d0d3949-a37a-419f-9e0f-08db1593cf28 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB7104.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2023 11:47:58.4540 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dSBOjlGHWeaDGAkanoFhS9rK3laHS301vnJ2BBIROKWpYa3sIY3vgzxBAbxv7a1WkcaPK0Ls+hR/eOhhKxcDLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7849 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.02.23 12:22, Michael Wu wrote: > Yes. I can't use any USB mouse which supports Remote Wakeup to wake up the system by default. > If I enable the wakeup node in /sys/bus/usb/devices which is disabled by default, the mouse can wakeup the system successfully. > Clearly, the only thing I can do is to register the wakeup source for USB Mouse devices. > Hi, thank you for answering this. I feel a long discussion coming up, which I would avoid if I could, so it is important that we are clear and do not discuss about a misunderstanding. Regards Oliver