usb_gadget_wakeup(9)

usb_gadget_wakeup9

Tries to wake up the host connected to this gadget

Usage

int usb_gadget_wakeup(struct usb_gadget * gadget);

Arguments

gadget

controller used to wake up the host

Overview

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.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.