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.
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.