usb_gadget_disconnect man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

USB_GADGET_DISCONNEC(9)	    Kernel Mode Gadget API     USB_GADGET_DISCONNEC(9)

NAME
       usb_gadget_disconnect - software-controlled disconnect from USB host

SYNOPSIS
       int usb_gadget_disconnect(struct usb_gadget * gadget);

ARGUMENTS
       gadget
	   the peripheral being disconnected

DESCRIPTION
       Disables 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.

AUTHOR
       David Brownell <dbrownell@users.sourceforge.net>
	   Author.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014	       USB_GADGET_DISCONNEC(9)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net