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

Manage power on suspend/resume/disconnect in examples #42

Open
xairy opened this issue Jun 21, 2023 · 0 comments
Open

Manage power on suspend/resume/disconnect in examples #42

xairy opened this issue Jun 21, 2023 · 0 comments
Labels
raw gadget Requires changes in Raw Gadget userspace Requires userspace changes

Comments

@xairy
Copy link
Owner

xairy commented Jun 21, 2023

USB specifications demand specific behavior with regards to the USB power management when the device is suspended, resumed, or disconnected. Raw Gadget examples should follow these requirements. The Composite Gadget framework implementation can be used as a reference: suspend, resume, disconnect.

Implementing this requires exposing more Gadget API functions via Raw Gadget ioctls, see #40.

@xairy xairy added userspace Requires userspace changes raw gadget Requires changes in Raw Gadget labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
raw gadget Requires changes in Raw Gadget userspace Requires userspace changes
Projects
None yet
Development

No branches or pull requests

1 participant