From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 6BA7381AB7 for ; Wed, 22 May 2024 10:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716372005; cv=none; b=az0Xv5cs4qcrZ4JUNogLiLmo8zMgOUMuhAXQdNVy4kzzZNaU96Dl0/gAOAbVl5YpDsaJOLWt/IeVK1UKh54rzOtPtE+aXxJpckWf6rWRgxBUvwqJWfDqQRvKhlp/poueD9NALufLaiWIzAyHdJ5IVox5PL2PrpiidxWydlSmUOc= 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.49 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-f49.google.com with SMTP id 5b1f17b1804b1-41f9ce16ed8so7668145e9.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=ZwDFZ6d1tJ1LyvBcsi7FzvBmp3BOG+283R14Rxhp68ozheWDBwgAKt3FrYCdyE9dp4 IyLWFQfNu2G9QGyDGXpsvbqlHQhsnSLHcmpIr6kVfDPLJkLLjHPVbqtV0IhfKG9v3vFp lpM3+oJRsDmO5PH0WgsgeYbRhia7vVpOIDxsucXwuzVSnC0PEA9J7SqaiotJZubRB3qb bxvnbaq8B2cVCmywc8Yne3FcisE48Ziv7uzhez0TETVvlRsR2YMFnDKFo4Yuf1tipe+i SasVdKW02dGs6qpzzsNtZ0hcNl7gHvxgXAcGmVSG9vfmJ+bHpiUvNV5xOEA48xm2v8aB kQbA== X-Gm-Message-State: AOJu0YxUcOFwa9jnNt3qFochrUAfRZHM3rOq52bIChu+pA3anpVXH5/U QyS203L1t5NB+GNEqVbP5Bx/oW7czSyZXmRq4vckNVlV6r6gaskP5CveUEuuWRQ= 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-usb@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