RE: [RFC PATCH] USB: enable "power/wakeup" to control remote wakeup in the runtime suspend

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

 



 
> 2. If an internal USB port is suspended with remote wakeup disabled,
> power off the port.  Add code to the USB core to ignore the device
> disconnect in this special case, so the driver thinks the device is
> still suspended.  Issue a reset-resume when the driver wants to resume
> the device.
> 
The problem is we can't switch remote wakeup enable <--> disable at runtime now.
An /sys/../power/ entry to change intf->needs_remote_wakeup may be needed.
Or a remote wakeup featured device plugs into that port will cause it
will be not remote wakeup featured as SET_FEATURE for remote wakeup will not be called.  


Best regards,
Peter

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux