usb_gadget_vbus_connect(9)

Submitted by Jeremy
on July 19, 2007 - 1:24am
.\" Title: usb_gadget_vbus_connect .\" Author: .\" Generator: DocBook XSL Stylesheets v1.70.1 .\" Date: July 2007 .\" Manual: Kernel Mode Gadget API .\" Source: Kernel Hackers Manual 2.6.22 .\" .TH "USB_GADGET_VBUS_CONN" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Kernel Mode Gadget API" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" usb_gadget_vbus_connect \- Notify controller that VBUS is powered .SH "SYNOPSIS" .HP 28 .BI "int usb_gadget_vbus_connect(struct\ usb_gadget\ *\ " "gadget" ");" .SH "ARGUMENTS" .TP 3n \fIgadget\fR The device which now has VBUS power. .SH "DESCRIPTION" .PP This 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). .PP Returns zero on success, else negative errno. .SH "AUTHOR" .PP \fBDavid\fR \fBBrownell\fR .sp -1n .IP "" 3n Author. .SH "COPYRIGHT"