Provided by: linux-doc-2.6.15_2.6.15-23.39_all
usb_gadget_connect - software-controlled connect to USB host
int usb_gadget_connect (struct usb_gadget * gadget);
gadget the peripheral being connected
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.
David Brownell <firstname.lastname@example.org>.