gadget_is_otg(9)

gadget_is_otg9

Return true iff the hardware is otg-ready

Usage

int gadget_is_otg(struct usb_gadget * g);

Arguments

g

controller that might have a Mini-AB connector

Overview

This is a runtime test, since kernels with a USB-OTG stack sometimes run on boards which only have a Mini-B (or Mini-A) connector.

Releases

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

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

Author

David Brownell <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.