1USB_GADGET_WAKEUP(9)        Kernel Mode Gadget API        USB_GADGET_WAKEUP(9)
2
3
4

NAME

6       usb_gadget_wakeup - tries to wake up the host connected to this gadget
7

SYNOPSIS

9       int usb_gadget_wakeup(struct usb_gadget * gadget);
10

ARGUMENTS

12       gadget
13           controller used to wake up the host
14

DESCRIPTION

16       Returns zero on success, else negative error code if the hardware
17       doesn't support such attempts, or its support has not been enabled by
18       the usb host. Drivers must return device descriptors that report their
19       ability to support this, or hosts won't enable it.
20
21       This may also try to use SRP to wake the host and start enumeration,
22       even if OTG isn't otherwise in use. OTG devices may also start remote
23       wakeup even when hosts don't explicitly enable it.
24

AUTHOR

26       David Brownell <dbrownell@users.sourceforge.net>
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019              USB_GADGET_WAKEUP(9)
Impressum