usb_gadget_connect9
Software-controlled connect to usb host
Usage
int usb_gadget_connect(struct usb_gadget * gadget);
Arguments
gadget
the peripheral being connected
Overview
Enables the D+ (or potentially D-) pullup. The host will start enumerating this gadget when the pullup is active and a VBUS session is active (the link is powered). This pullup is always enabled unless usb_gadget_disconnect has been used to disable it.
Returns zero on success, else negative errno.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.