Query: usb_gadget_connect
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_GADGET_CONNECT(9) Kernel Mode Gadget API USB_GADGET_CONNECT(9)NAMEusb_gadget_connect - software-controlled connect to USB hostSYNOPSISint usb_gadget_connect(struct usb_gadget * gadget);ARGUMENTSgadget the peripheral being connectedDESCRIPTIONEnables 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.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_GADGET_CONNECT(9)