usb_gadget_disconnect(9) suse man page | unix.com

Man Page: usb_gadget_disconnect

Operating Environment: suse

Section: 9

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 2.6. July 2010 USB_GADGET_DISCONNEC(9)
Related Man Pages
usb_ep_enable(9) - suse
usb_ep_queue(9) - suse
usb_ep_queue(9) - centos
usb_interface_id(9) - centos
struct_usb_composite_driver(9) - suse
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
A (ksh) Library For and From UNIX.com
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com