Re: [PATCH] hid: usbhid: Enable remote wake-up based on device configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 10, 2024 at 09:47:39PM -0400, Alan Stern wrote:
> On Thu, Jul 11, 2024 at 07:16:06AM +0800, ryan wrote:
> > According to the USB protocol, the host should automatically
> > adapt the remote wake-up function based on the configuration
> > descriptor reported by the device, rather than only the default
> > keyboard support. Therefore, it's necessary to support other hid
> > devices, such as digital headsets,mice,etc.
> 
> It's true that the host shouldn't try to enable remote wakeup if the 
> configuration descriptor shows that the device doesn't support it.
> 
> However, it's not true that the host should try to enable remote wakeup 
> for devices other than keyboards with boot-protocol support.  History 
> has shown that quite a few HID devices don't handle remote wakeup 
> properly; the decision about whether to enable it should be left to the 
> user.

I agree, this patch isn't acceptable.  Ryan, why do you want this
applied?  What userspace control is missing to allow you to do this
today on your systems with no kernel changes for devices that you know
will work properly?

thanks,

greg k-h




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux