Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp233635lqp; Wed, 22 May 2024 03:00:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0Hwo+qYZoayXP/q3ZOBfLaTDJ0d0ueKEppYD62w/fC+Wm5Dq8eUuXoUxPdVQwOw/sMWVimMiacT9hHOXcQ64atzr/rIDkvhSljjVmcg== X-Google-Smtp-Source: AGHT+IHHRvKMvJYHHQSjVtTNJUZm5CXaVrSsP5hsCbADiwugI4WlmrYCOS6MCDJzOaCuOebCjZFX X-Received: by 2002:a05:6358:51de:b0:183:e72e:ce04 with SMTP id e5c5f4694b2df-19791a79584mr93135455d.16.1716372015561; Wed, 22 May 2024 03:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716372015; cv=pass; d=google.com; s=arc-20160816; b=Y5D4jKkDw+tyAtI3PoAqkB2XF2X0jRxMd3MLF0cYu14X7BB+I3o+afAnfusj1V+0cC g7nQFZ+fD4qnP4sOEzgfoXDAUPvb5dJ4tXtPE1Zf2Tnp3RN+B7AnEsUk8qUQaUmpMsg9 rBpNboEhgRuxDOdoFAFAQXAJSLKUOcZUVQm04HTcIstK9JJlMBRK1PeurCQRY5V412ag SnXW6QpszsdzM/u5RjeaZJU65x3LruH/ds0BGv4rDWFvt4qfod4U7cwv9jcpYvlBBxm/ zLdPOwLI4R9TkpViMEZqneuAiHztI4tpM4fLMQHqt4hhkLapZrebyGvO2bDd6F1XoyCm u+pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Zv0peKN7El4wwmaoW8dg3u0DkCkTmb42hFB9WP4X0fc=; fh=Rok9AsGAi0aeCdg6ti7tAJGf5RDknFFYO4W5Rxmb2fk=; b=qsGtlz+adURt0z3hDhDXMGRwAJXePQapDQpdlK+6lBdKf+svf5M/F4sAUS24DHpSOj EYEKEdqaAVCfcq8LzKlUxZV8enianxPhThfJCzqpulxOc8tQRTxWA5aT5sXHww0IYxL4 YAdcYlRv/2DHhUM13cXJLYlbJ3Jg7wY9buUgpCelYC50AiaB404+eQYl3TmkTPaa9vdy UYM18XAuPC2cd7FIAS+ha8Q8HGQlVC3eFg4Sl4yGO/GVSgN+IR2aYs1Mu1wXRrPvELf/ +/EmHAqX6lN8FsczdIJcai4e9zq+uQJFcXcPJh9z17BhYAgnPH0mEAYtXrdIcUNtpmgK PnSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=adgRT1jj; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-186017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-657990c512bsi2747186a12.50.2024.05.22.03.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=adgRT1jj; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-186017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3CE5C28320D for ; Wed, 22 May 2024 10:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 346A681ADB; Wed, 22 May 2024 10:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="adgRT1jj" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DE7781AA7 for ; Wed, 22 May 2024 10:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372005; cv=none; b=KxC/Qg8beA0aToK/q6NH5/lCU4bo6Pi6G0LCKalZM+n3D7lUUhE/Z+uEStf5aVIUyuUnSGDfy52zDFx1+MkybQNvN1ldZcADiyii8tRmyWlBEta5yMMv9yp43HbC5YNVKvGt5QnSwt6v7JtZfat30sblR5U6+cjAHX7F7cQBFVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372005; c=relaxed/simple; bh=UnqolDuaYo8ErtJbe0FrOtS1sHe1/V3hT1Cq1/3MYAs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=i2tNSqJw1x5QBN4ZuN+kLeakwRk0+NDyYZiGip26xZ7qdu430xhvCaGRCz4jgE6kylm0OKUR3b9vCLXBPqMBGMrGUh6v6eeSgRANv1Y2LoXCQwakKlCcuoyMKVnzkFfI0pioR+V1v0/sK4wWeXucxJcsyPrXctl0hDMzyo+zphQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=adgRT1jj; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-41f9ce16ed8so7668155e9.0 for ; Wed, 22 May 2024 03:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1716372002; x=1716976802; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Zv0peKN7El4wwmaoW8dg3u0DkCkTmb42hFB9WP4X0fc=; b=adgRT1jjTUWWMuv66KXsEGQ3+OWRlxOl3QCy2ARKJIc7jVMx2ntZnAF0ajFow3dBVR FFfM9LMsDq8clIi4zPZLjCe7htk1JMhHW/EpqgjP2EgmJh0X8dE/cKLQkAumbABDP4gD UwrIZl6A6EODZww1/tnLQ9Xr8cR58mPtv+ULuYNEUapdmLflU5kzxyfuu1btCb4DQmY5 V1lvXU1VkV3D/T0pZdngLRnkSbvYWZtybJYMEfhlAIL/wEdVArQ+2+rtI9t1CWGrUhcF G04dCsPJkpG8qAw1rw+Qp/q2J9hs5bDHUZ3v/by4S4L2nA/tAl8xOkrkdn75aNgL+5co Hyug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716372002; x=1716976802; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Zv0peKN7El4wwmaoW8dg3u0DkCkTmb42hFB9WP4X0fc=; b=NYaa/AyoptaTZ2v4NgCTCbBE4io8cOLTYkxJMqNEUX/zbrV+vUEfi5BzugnwuKxw1i FDr8jmSMHa5IHZFO+weAXRYOhfwIERMi+UuoX1R3Rmx+HagPlJT9xckRhCkg+1GhH96C JX/VArMEus2sDNLAIX0ucrQE/v6vnOZHfz5vWFZlc2T0iONW9O+4HhFyM15ymI99VWYS ZDLvY8dfAbWJzaZpYLFvd/D6yx1EHrYCXWlL3aq0GsnAvf2WoJaoBSs7IlHJvAkcKy04 Yn2IXgZ3rBcACSjVRvuwqHVDtDD3jqkXj2uTIcIC34OlXjPL94f17pK9294gtqlCIlJB GJtA== X-Forwarded-Encrypted: i=1; AJvYcCWjiHfoZjeHUjwmV/XKpV1GV7410P0/hIhLk4Qzm2+myNDHK/qQBInGSZ7uAbzXoYVNh93cEX5bMsAPt+y4bEgO1yuY4achAPKeCjfg X-Gm-Message-State: AOJu0YwvxcJMQe25eW+rXtvwJ7Eign7MYhmlobRAWtQaF4HNp0ZGPZZx yhOOoY880akSkSOwV6bsmrpFzxrrsPlPJSedFmWuiKcv53k1EremvmBiGsNwVK0= X-Received: by 2002:a05:600c:21d5:b0:420:2cbe:7f16 with SMTP id 5b1f17b1804b1-420fd3726d5mr15710025e9.34.1716372001739; Wed, 22 May 2024 03:00:01 -0700 (PDT) Received: from ?IPV6:2001:a61:139b:bf01:e8eb:4d8f:8770:df82? ([2001:a61:139b:bf01:e8eb:4d8f:8770:df82]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-420273cff03sm269711845e9.26.2024.05.22.03.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 May 2024 03:00:01 -0700 (PDT) Message-ID: <9d37e0b4-91fa-4239-b767-2eb17e78ea84@suse.com> Date: Wed, 22 May 2024 12:00:00 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] HID: usbhid: enable remote wakeup for mouse To: huanglei814 , jikos@kernel.org, bentiss@kernel.org Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, huanglei References: <20240522092257.19373-1-huanglei814@163.com> Content-Language: en-US From: Oliver Neukum In-Reply-To: <20240522092257.19373-1-huanglei814@163.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 22.05.24 11:22, huanglei814 wrote: > From: huanglei > > This patch enables remote wakeup by default for USB mouse > devices. Mouse can used to be wakeup devices, but the correct > place to enable it depends on the device's bus; no single > approach will work for all mouse devices. In particular, this > covers only USB mouse (and then only those supporting the boot > protocol). Hi, could you explain in the log why you want this to depend on support for the boot protocol? Regards Oliver