Rechercher une page de manuel
usb_gadget_connect
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
usb_gadget_connect - software-controlled connect to USB hostSYNOPSIS
- 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_disconnect has been used to disable it.
Returns zero on success, else negative errno.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre