Rechercher une page de manuel
usb_gadget_wakeup
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
usb_gadget_wakeup - tries to wake up the host connected to this gadgetSYNOPSIS
- int usb_gadget_wakeup(struct usb_gadget * gadget);
ARGUMENTS
gadget
- controller used to wake up the host
DESCRIPTION
Returns zero on success, else negative error code if the hardware doesn't support such attempts, or its support has not been enabled by the usb host. Drivers must return device descriptors that report their ability to support this, or hosts won't enable it.
This may also try to use SRP to wake the host and start enumeration, even if OTG isn't otherwise in use. OTG devices may also start remote wakeup even when hosts don't explicitly enable it.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre