usb_gadget_set_selfpowered9
Sets the device selfpowered feature.
Usage
int usb_gadget_set_selfpowered(struct usb_gadget * gadget);
Arguments
gadget
the device being declared as self-powered
Overview
this affects the device status reported by the hardware driver to reflect that it now has a local power supply.
returns zero on success, else negative errno.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.