From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 5DB4181742 for ; Wed, 22 May 2024 10:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372005; cv=none; b=LScnFEeps9k/oLDPYRuSd2UyIw/yssdp46AJmLtipets2wMsem1Lh58WK5jwGfUC4AKbMBrdtBgTrez/ThKXc+TKciSSGGacWCqxusc3lYGkrXYXD/Rv8tQqx9CIebpAf5yO5rqhJxp6Bkrpa47U72KQyEjHpDjUS1oeSbz738Y= 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.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="adgRT1jj" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-420298ff5b1so55222135e9.1 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=VA+s62yUgWK9C1rgdLpfQCbTx6lJ1Im35q3hQAU3SD5wuyqPrK+rm/zEUinoNJ8cY0 fmvKSsORYpI7cCxDnyeUrMsPguq1fvunEQGp3y3WJW68tOjlcvqJV8mYkqzeKbUg3cYC MtOif8/OWvrFgDKUBIofHWWHueBfyEXYcd07miICDxiX4dtQQmZNAmUwAEvkH0QfhWjW KtW9fBAzzzSpMaxl3Rse3mjS4yxbcRUFd7Qk2PJQ8r3k5ufkOizaS35O9bYEyHBa1YRZ IIUrOJje49xQQxB8eq/8gn72wKXrZJflA86VUS929j4q6KkWd8W3lGXV3fRZxM92wLmJ bCrQ== X-Forwarded-Encrypted: i=1; AJvYcCUn5FGzNKT9vidgGQObAwhOazDgYVpaXVbhwLTZoLp47Ovci1/HtQc5YHQyQoRyOeBOoSaN+AjZvd4Hw5I3MqGTvOZ8CgoSroKD+hI= X-Gm-Message-State: AOJu0Yz6SpTOcvGRcgqJUSTuU53dN2tiqe7GNiMcaZt8mrmg+oj3tB70 MhVyk6rrzwKPiUXrZQZ3YzcDm3oLHObrKsUWFNBHo0wIgdbbSDIWo66NlfPk7mY= X-Google-Smtp-Source: AGHT+IHD8u/xHqQMmXbgvlyuMqT7VRwcCG7YYtZUITTUReH2Thqf/mg7BsJniTmEF8WFfyWgndT5JQ== 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-input@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