16 Commits

Author SHA1 Message Date
ajacoutot
f99415d77d Update to libusb1-1.0.21.
ok mpi@ (maintainer)
2017-04-19 06:09:02 +00:00
ajacoutot
5558c792d3 First pass at pre-entively fixing ports that would break once guenther's header
pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
2016-09-10 13:03:40 +00:00
dcoppa
8061112809 Update to libusb1-1.0.20
OK mpi@ (maintainer)
2015-09-15 09:03:53 +00:00
mpi
7e22724d8f Instead of generating I/O to get the active configuration number, just read
it from the cached descriptor.
2013-04-22 08:37:20 +00:00
mpi
c53d93b033 Make use of the new usb(4) ioctl to retrieve the device descriptor from
memory instead of generating I/O as adertised by the libusb API.

ok mglocker@
2013-04-17 14:28:17 +00:00
mpi
549396691b Make use of the new usb(4) ioctls to retrieve the config descriptor from
memory instead of generating I/O as adertised by the libusb API.

ok mglocker@
2013-04-12 08:22:10 +00:00
jasper
989289a59f remove empty files 2012-11-13 10:42:27 +00:00
mpi
00095af6da Remove -pthread patch, from Brad
ok ajacoutot@
2012-08-25 15:25:51 +00:00
mpi
df86aa6dd4 Associate an ugen node to an USB device even if it is not attached as
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@
2012-08-05 10:55:24 +00:00
sthen
e8efbdf060 revert -pthread in cflags, after a bit of discussion with aja and guenther
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
2012-07-08 22:21:32 +00:00
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
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
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