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

NAME

6       usb_composite_probe - register a composite driver
7

SYNOPSIS

9       int usb_composite_probe(struct usb_composite_driver * driver);
10

ARGUMENTS

12       driver
13           the driver to register
14

CONTEXT

16       single threaded during gadget setup
17

DESCRIPTION

19       This function is used to register drivers using the composite driver
20       framework. The return value is zero, or a negative errno value. Those
21       values normally come from the driver's bind method, which does all the
22       work of setting up the driver to match the hardware.
23
24       On successful return, the gadget is ready to respond to requests from
25       the host, unless one of its components invokes usb_gadget_disconnect
26       while it was binding. That would usually be done in order to wait for
27       some userspace participation.
28

AUTHOR

30       David Brownell <dbrownell@users.sourceforge.net>
31           Author.
32
34Kernel Hackers Manual 3.10         June 2019            USB_COMPOSITE_PROBE(9)
Impressum