summaryrefslogtreecommitdiffstats
path: root/lib/libusb
Commit message (Collapse)AuthorAgeFilesLines
* MFC r307774:trasz2016-12-191-2/+2
| | | | | | | Fix libusb20_dev_get_desc(3) to use the "vendor product" order, not "product vendor". This is consistent with how it's generally done. The ordering is visible eg in usbconfig(8) output.
* MFC r305284:hselasky2016-09-091-2/+13
| | | | | | | Fix array size issue when using the pre-scaling feature for ISOCHRONOUS USB transfers. Make sure enough length and buffer pointers are allocated when setting up the libusb transfer structure to support the maximum number of frames the kernel can handle.
* Resolve issue with libusb C++ header file inclusion.hselasky2016-06-242-5/+5
| | | | | | Approved by: re (marius) PR: 210509 MFC after: 1 week
* Add support for USB streams to the LibUSB v1.0 API and update thehselasky2016-06-236-2/+83
| | | | | | | | libusb(3) manual page. Approved by: re (gjb) Requested by: swills MFC after: 1 week
* Implement libusb_hotplug_register_callback() andhselasky2016-06-226-1/+349
| | | | | | | | | libusb_hotplug_deregister_callback() for the LibUSB v1.0 API and update the libusb(3) manual page. Approved by: re (kib) Requested by: swills MFC after: 1 week
* Add missing return statement.hselasky2016-06-161-0/+1
| | | | | Approved by: re (gjb) MFC after: 1 week
* Add multiple missing descriptor parsing functions to the LibUSB v1.0 API.hselasky2016-06-164-2/+290
| | | | | | Approved by: re (kib) Requested by: swills MFC after: 1 week
* Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.hselasky2016-06-166-4/+47
| | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
* Add support for libusb_get_port_number() to the LibUSB v1.0 API.hselasky2016-06-163-1/+16
| | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
* Define LIBUSB_API_VERSION.hselasky2016-06-161-0/+2
| | | | | | Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
* Implement libusb_get_version() and update libusb manual page.hselasky2016-06-164-1/+32
| | | | | | Approved by: re (glebius) Requested by: swills MFC after: 1 week
* Fix compile warning.hselasky2016-06-131-1/+1
| | | | | Approved by: re (delphij) MFC after: 1 week
* Implement code to stop all USB endpoints before executing a USB devicehselasky2016-06-121-2/+14
| | | | | | | | | | reset command, alternate setting command or set configuration command. Else LibUSB v1.0 will not re-open the endpoints which the kernel closes and the USB application might wait infinitely for transfers to complete. Approved by: re (hrs) MFC after: 3 days
* lib: minor spelling fixes in comments.pfg2016-05-011-1/+1
| | | | No functional change.
* MFHgjb2016-04-111-2/+2
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * USB: replace 0 with NULL for pointers.pfg2016-04-091-2/+2
| | | | | | | | | | | | Found with devel/coccinelle. Reviewed by: hselasky
* | First pass through library packaging.gjb2016-02-041-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handledbdrewery2015-10-031-2/+2
| | | | | | by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division
* Replace beforeinstall: handling with FILES.bdrewery2015-09-181-10/+3
| | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division
* bsd.lib.mk has to be included after MLINKS assignmentantoine2015-08-151-2/+2
|
* libusb: Fix minor cast-qual warning.pfg2015-07-201-5/+3
| | | | | | | | | | Fix a warning triggered by the gcc + FORTIFY_SOURCE patches: In function 'libusb20_parse_config_desc': lib/libusb/libusb20_desc.c:141: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type Submitted by: hselansky
* Remove unused variables to silence CLANG warnings.araujo2015-06-242-14/+4
| | | | | | | Remove some BLANK lines and unnecessary TABS. Differential Revision: D2687 Reviewed by: rodrigc, hselasky
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-275-5/+12
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-0/+10
| |\
| * \ Merge head from 7/28sjg2014-08-192-1/+3
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge headsjg2014-04-276-18/+87
| |\ \ \
| * \ \ \ Merge from headsjg2013-09-0514-64/+189
| |\ \ \ \
| * \ \ \ \ sync from headsjg2013-04-1216-31/+190
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | |
| * | | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | | |
| * | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | | | | |
| | | | | | |
| | \ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| *---. \ \ \ \ \ Sync from headsjg2012-11-048-23/+81
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | Add more USB request definitions. The values are described in sectionhselasky2015-01-162-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification" Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* | | | | | | | | | Fix spelling.hselasky2015-01-141-2/+2
| | | | | | | | | |
* | | | | | | | | | mdoc: improvements to SEE ALSO.joel2014-12-271-1/+1
| | | | | | | | | |
* | | | | | | | | | Convert libraries to use LIBADDbapt2014-11-251-2/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking
* | | | | | | | | only install .pc files when we are not installing 32bit compat libs...jmg2014-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the problem of installing the .pc files multiple times...
* | | | | | | | | Add more USB class codes.hselasky2014-08-181-0/+8
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: libusb project at SourceForge MFC after: 1 week
* | | | | | | | Update reported libusb version to 1.0.13emaste2014-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QEMU libusb host support needs at least libusbx-1.0.13, and our in-tree libusb supports the required functionality. Exp-run in PR. PR: 181035
* | | | | | | | Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-APIhselasky2014-05-251-0/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from sourceforge. PR: usb/190204 MFC after: 1 week
* | | | | | | Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0hselasky2014-04-112-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs to increase the maximum bandwidth limit. MFC after: 1 week
* | | | | | | libusb: add libusb_log_level enumeadler2014-03-141-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html
* | | | | | | Comply to the official LibUSB v1.0 API:hselasky2014-01-281-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "It is legal to attempt to claim an already-claimed interface." MFC after: 1 week
* | | | | | | Implement two new libusb API functions.hselasky2014-01-054-11/+66
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | PR: usb/185454 MFC after: 2 weeks
OpenPOWER on IntegriCloud