suse man page for usb_function_deactivate

Query: usb_function_deactivate

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

USB_FUNCTION_DEACTIV(9) 				      Kernel Mode Gadget API					   USB_FUNCTION_DEACTIV(9)

NAME
usb_function_deactivate - prevent function and gadget enumeration
SYNOPSIS
int usb_function_deactivate(struct usb_function * function);
ARGUMENTS
function the function that isn't yet ready to respond
DESCRIPTION
Blocks response of the gadget driver to host enumeration by preventing the data line pullup from being activated. This is normally called during bind() processing to change from the initial "ready to respond" state, or when a required resource becomes available. For example, drivers that serve as a passthrough to a userspace daemon can block enumeration unless that daemon (such as an OBEX, MTP, or print server) is ready to handle host requests. Not all systems support software control of their USB peripheral data pullups. Returns zero on success, else negative errno.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 USB_FUNCTION_DEACTIV(9)
Related Man Pages
usb_interface_id(9) - suse
struct_usb_composite_dev(9) - centos
struct_usb_function(9) - centos
struct_usb_composite_driver(9) - suse
struct_usb_configuration(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Getting command output to putty window title.
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!