Query: usb_gadget_disconnect
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_GADGET_DISCONNEC(9) Kernel Mode Gadget API USB_GADGET_DISCONNEC(9)NAMEusb_gadget_disconnect - software-controlled disconnect from USB hostSYNOPSISint usb_gadget_disconnect(struct usb_gadget * gadget);ARGUMENTSgadget the peripheral being disconnectedDESCRIPTIONDisables the D+ (or potentially D-) pullup, which the host may see as a disconnect (when a VBUS session is active). Not all systems support software pullup controls. This routine may be used during the gadget driver bind call to prevent the peripheral from ever being visible to the USB host, unless later usb_gadget_connect is called. For example, user mode components may need to be activated before the system can talk to hosts. Returns zero on success, else negative errno.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_GADGET_DISCONNEC(9)
Related Man Pages |
---|
struct_usb_composite_dev(9) - centos |
struct_usb_gadget(9) - centos |
usb_interface_id(9) - centos |
struct_usb_composite_driver(9) - suse |
struct_usb_composite_dev(9) - suse |
Similar Topics in the Unix Linux Community |
---|
DB2 convert digits to binary format |
Tar Command |
Docker learning Phase-I |
CentOS 6 ran out of space, need to reclaim it |
[TIP] Processing YAML files with yq |