Commit Graph

13 Commits

Author SHA1 Message Date
sthen
905b965e39 add -pthread to cflags as well as libs in the pc file. ok jasper@ mpi@ 2012-07-08 17:41:14 +00:00
kili
ebf7813e4d Add missing patch. 2012-06-19 21:10:59 +00:00
mpi
592ef45d74 Rework the OpenBSD backend to add *basic support* for non ugen(4) devices.
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@
2012-06-19 20:45:00 +00:00
mpi
381c9bac1e Remove now unused BUILD_DEPENDS.
spotted by Brad
2012-04-23 08:48:08 +00:00
mpi
a9524fd4e8 Re-adds `-pthread' to the .pc file, this unbreaks application depending
on libusb1, I wrongly removed this patch during the last commit.

spotted by nigel@
2012-04-22 19:52:05 +00:00
mpi
8873cee4c9 Update libusb1 to 1.0.9
All OpenBSD specific code has been committed upstream.

ok sthen@, ajacoutot@, jasper@
2012-04-22 09:06:37 +00:00
mpi
7790e61292 Correctly catch attempts to do isochronous OUT transfers and fix a warning
from upstream.
2012-04-08 13:14:54 +00:00
mpi
0dd16b57f8 Fix a memleak reported by upstream.
ok ajacoutot@
2012-02-01 13:26:20 +00:00
mpi
82918e4d22 Always try to open a node in rw mode if possible, the same endpoint may
be used for reading and writting and don't close it if a timeout occured

Fix a regression reported by mpf@, ok ajacoutot@
2012-01-18 14:09:52 +00:00
mpi
94e772dbcc Various changes for OpenBSD's backend with inputs from upstream.
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@
2011-11-18 15:18:50 +00:00
jasper
d165273a78 unbreak 2011-11-04 12:17:50 +00:00
mpi
9649dd70c6 Add missing build depend spotted by nigel@ and fix two minor issues in the
backend.

Tested and ok ajacoutot@
2011-11-04 09:18:11 +00:00
mpi
ca07d5e3c4 Import libusb1 1.0.8
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@
2011-11-02 14:31:56 +00:00