centos man page for usb_driver_set_configuration

Query: usb_driver_set_configuration

OS: centos

Section: 9

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

USB_DRIVER_SET_CONFI(9) 					   USB Core APIs					   USB_DRIVER_SET_CONFI(9)

NAME
usb_driver_set_configuration - Provide a way for drivers to change device configurations
SYNOPSIS
int usb_driver_set_configuration(struct usb_device * udev, int config);
ARGUMENTS
udev the device whose configuration is being updated config the configuration being chosen.
CONTEXT
In process context, must be able to sleep
DESCRIPTION
Device interface drivers are not allowed to change device configurations. This is because changing configurations will destroy the interface the driver is bound to and create new ones; it would be like a floppy-disk driver telling the computer to replace the floppy-disk drive with a tape drive! Still, in certain specialized circumstances the need may arise. This routine gets around the normal restrictions by using a work thread to submit the change-config request.
RETURN
0 if the request was successfully queued, error code otherwise. The caller has no way to know whether the queued request will eventually succeed.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 USB_DRIVER_SET_CONFI(9)
Related Man Pages
struct_usb_interface(9) - centos
usb_queue_reset_device(9) - centos
struct_usb_device_driver(9) - suse
struct_usb_interface(9) - suse
fddisk(8) - osf1
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it