34 Commits

Author SHA1 Message Date
sthen
b82e30fb16 update to libusb-1.0.23, from William Orr, plus minor tweak from me.
dropping maintainer as req'd by mpi (passed on via William Orr).

the nonstandard DEBUG handling (enabling verbose debug messages) has
moved to a flavour.
2019-11-27 20:15:17 +00:00
sthen
f74b6c2d62 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:44:34 +00:00
mpi
cc24d182b3 Export port number, fix github #314.
ok jcs@, mikeb@, jasper@, sthen@
2018-07-19 12:36:34 +00:00
mpi
517e37bfa4 Bump REVISION after USB_DEVICEINFO change. 2018-07-10 09:19:13 +00:00
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
naddy
c253f424ca garbage collect CONFIGURE_SHARED 2016-03-11 19:59:11 +00:00
dcoppa
8061112809 Update to libusb1-1.0.20
OK mpi@ (maintainer)
2015-09-15 09:03:53 +00:00
naddy
2382144b92 fold lib-only PFRAG.shared into PLIST, regen PLIST, and bump 2015-03-16 18:07:34 +00:00
naddy
570aa62a9c Drop remaining MD5/RMD160/SHA1 checksums. 2015-01-18 03:12:39 +00:00
naddy
c7e055641a kill direct and indirect references to GCC2_ARCHS 2013-08-07 15:37:07 +00:00
espie
54fad38268 don't bother on vax 2013-06-28 12:11:50 +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
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +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
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