libusb 的帮助手册 V1.0.18
libusb is an open source library that allows you to communicate with USB devices from userspace. For more info, see the libusb homepage.
This documentation is aimed at application developers wishing to communicate with USB peripherals from their own software. After reviewing this documentation, feedback and questions can be sent to the libusb-devel mailing list.
This documentation assumes knowledge of how to operate USB devices from a software standpoint (descriptors, configurations, interfaces, endpoints, control/bulk/interrupt/isochronous transfers, etc). Full information can be found in the USB 3.0 Specification which is available for free download. You can probably find less verbose introductions by searching the web.
Library features
•All transfer types supported (control/bulk/interrupt/isochronous)
•2 transfer interfaces:1.Synchronous (simple)
2.Asynchronous (more complicated, but more powerful)
•Thread safe (although the asynchronous interface means that you usually won't need to thread)
•Lightweight with lean API
•Compatible with libusb-0.1 through the libusb-compat-0.1 translation layer
•Hotplug support (on some platforms). See Device hotplug event notification.
1