II. Device operations

This group of functions deal with the device. It allows you to open and close the device as well standard USB operations like setting the configuration, alternate settings, clearing halts and resetting the device. It also provides OS level operations such as claiming and releasing interfaces.

Table of Contents
usb_open -- Opens a USB device
usb_close -- Closes a USB device
usb_set_configuration -- Sets the active configuration of a device
usb_set_altinterface -- Sets the active alternate setting of the current interface
usb_resetep -- Resets state for an endpoint
usb_clear_halt -- Clears any halt status on an endpoint
usb_reset -- Resets a device
usb_claim_interface -- Claim an interface of a device
usb_release_interface -- Releases a previously claimed interface