Query: usb_gadget_vbus_connect
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_GADGET_VBUS_CONN(9) Kernel Mode Gadget API USB_GADGET_VBUS_CONN(9)NAMEusb_gadget_vbus_connect - Notify controller that VBUS is poweredSYNOPSISint usb_gadget_vbus_connect(struct usb_gadget * gadget);ARGUMENTSgadget The device which now has VBUS power.CONTEXTcan sleepDESCRIPTIONThis call is used by a driver for an external transceiver (or GPIO) that detects a VBUS power session starting. Common responses include resuming the controller, activating the D+ (or D-) pullup to let the host detect that a USB device is attached, and starting to draw power (8mA or possibly more, especially after SET_CONFIGURATION). Returns zero on success, else negative errno.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_GADGET_VBUS_CONN(9)