Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xairy opened this issue Jun 28, 2024 · 1 comment
Labels
gadget subsystem Requires changes in USB Gadget subsystem kernel Requires kernel changes

Comments

@xairy
Copy link
Owner

xairy commented Jun 28, 2024

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 xairy added kernel Requires kernel changes gadget subsystem Requires changes in USB Gadget subsystem labels Jun 28, 2024
@xairy
Copy link
Owner Author

xairy commented Jul 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gadget subsystem Requires changes in USB Gadget subsystem kernel Requires kernel changes
Projects
None yet
Development

No branches or pull requests

1 participant