wiki:LibusbCompat0.1

libusb-compat-0.1

libusb-compat-0.1 is a replacement for libusb-0.1. However, instead of being an actual implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which just converts libusb-0.1 calls into their libusb-1.0 equivalents.

It aims to look, feel and behave exactly like libusb-0.1. As it is a replacement, you cannot install it alongside libusb-0.1 on the same system.

As the compatibility layer implements the exact same ABI and API, no modifications to existing libusb-0.1-based applications are needed. You do not even have to recompile them. This compatibility layer is a drop-in replacement.

For more information on the benefits of libusb-compat-0.1 + libusb-1.0, see the  libusb-compat-0.1.0 release announcement and  these benchmarks.

Status

The compatibility layer is complete and works well during my testing. It improves USB throughput of all applications that I have tested. There are a few minor behavioural differences, detailed in the README.

Download

  •  Source releases
  • Binary packages are (hopefully) provided by your Linux distribution

Development

Development happens in a git repository:  git://git.stuge.se/libusb-compat-0.1.git ( gitweb interface).

Contributions encouraged - please either email patches to the libusb-devel mailing list, or publish your git tree somewhere and email a pull request to the mailing list.

Mailing list

The libusb-devel mailing list exists for both users of the library, plus developers interested in contributing to the library itself.