login
Header Space

 
 

usb_gadget_connect(9)

July 19, 2007 - 1:24am
Submitted by Jeremy on July 19, 2007 - 1:24am.

INDEX

    NAME, SYNOPSIS, ARGUMENTS, DESCRIPTION, AUTHOR, COPYRIGHT

    "USB_GADGET_CONNECT" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Kernel Mode Gadget API"

    NAME

    usb_gadget_connect - software-controlled connect to USB host

    SYNOPSIS

    "int usb_gadget_connect(struct usb_gadget * " "gadget" ");"

    ARGUMENTS

    gadget
    the peripheral being connected

    DESCRIPTION

    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_disconnectfR
    has been used to disable it.

    Returns zero on success, else negative errno.

    AUTHOR

    DavidfR Brownell <dbrownell@users.sourceforge.net>
    Author.

    COPYRIGHT

speck-geostationary