first device and don't use the new bConfigurationValue for the index
when caching the config descriptor.
Fix scanning problems reported and tested by ajacoutot@
and looking at the port which wanted -pthread in cflags, I came to the
conclusion that the other port was wrong, so it's right to zap this again.
ok mpi ajacoutot
It is now possible to have a read access and submit control transfers to
all USB devices using libusb, please note that controllers and hubs also
appear as devices.
Requested by many, tested by and ok ajacoutot@, jasper@, henning@, shten@
Transfer completion notifications are now send asynchronously this should
prevent potential lock of applications using a different thread for polling
events.
Fix interrupt tranfers, reported by and helped to debug, sebastia@
Other minor improvements and style fixes.
Tested by sebastia@ and ajacoutot@
ok ajacoutot@
libusb is a library for USB device access from userland.
Note that the OpenBSD backend based on ugen(4) does not provide
asynchronous I/O.
with tests, tweaks and ok ajacoutot@