xairy / raw-gadget

USB Raw Gadget — a low-level interface for the Linux USB Gadget subsystem
333 stars 35 forks source link

Expose more gadget API functions via ioctls #40

Open xairy opened 1 year ago

xairy commented 1 year ago

The Gadget subsystem defines a number of Gadget API functions. While some of them look specific to the Composite Gadget framework, other seem quite generic.

It might be useful to expose the generic API functions via Raw Gadget ioctls. At this point, only usb_gadget_vbus_draw is exposed.

xairy commented 1 year ago

Related issue: #12.

xairy commented 4 days ago

A discussion about the remote wake up feature.