raw-gadget icon indicating copy to clipboard operation
raw-gadget copied to clipboard

Set wakeup_capable and wakeup_armed in UDC drivers that support remote wake up

Open xairy opened this issue 1 year ago • 1 comments

Quoting:

While the wakeup_capable and wakeup_armed bitflags are defined in linux/usb/gadget.h, it doesn't look like any of the UDC drivers implement them. So it may not be possible to see whether the UDC supports remote wakeup (but it appears that most of them do).

We need to properly set wakeup_capable and wakeup_armed in UDC drivers to allow exposing the information about whether the UDC supports remote wake up as a part of #41.

xairy avatar Jun 28 '24 19:06 xairy

On a related note, dwc2 does not support remote wake up.

xairy avatar Jul 02 '24 13:07 xairy