freebsd-dev/lib/libusb
Kyle Evans f75f5a355e libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability
Some libusb consumers in Linux-land (in this case, libusb4java) expect a
dev_capability member that they can use to enumerate the device
capabilities.

No particular layout is expected of this, just that it can be traversed
using the bLength member until bNumDeviceCapabilities are read and that the
consumer may then use one of the libusb_get_*_descriptor methods to extract
specific (usb 2.0 vs. ss) capability information.

In collaboration with:	hselasky
Reviewed by:	hselasky
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D11494
2017-08-09 18:06:27 +00:00
..
libusb01.c Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0 2014-04-11 14:11:55 +00:00
libusb10_desc.c libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability 2017-08-09 18:06:27 +00:00
libusb10_hotplug.c Implement libusb_hotplug_register_callback() and 2016-06-22 10:38:41 +00:00
libusb10_io.c Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
libusb10.c Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
libusb10.h Resolve issue with libusb C++ header file inclusion. 2016-06-24 10:55:14 +00:00
libusb20_desc.c lib: minor spelling fixes in comments. 2016-05-01 19:37:33 +00:00
libusb20_desc.h Add more USB request definitions. The values are described in section 2015-01-16 12:11:01 +00:00
libusb20_int.h Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API. 2016-06-16 14:26:04 +00:00
libusb20_ugen20.c Fix libusb20_dev_get_desc(3) to use the "vendor product" order, not 2016-10-22 14:37:13 +00:00
libusb20.3 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
libusb20.c Fix array size issue when using the pre-scaling feature for 2016-09-02 08:44:14 +00:00
libusb20.h Add new USB API to get the port path of a USB device. 2013-05-03 07:44:58 +00:00
libusb_global_linux.h Add some missing definitions to build a working FreeBSD's libusb under Linux. 2013-07-14 10:22:00 +00:00
libusb-0.1.pc Add pkgconf files for libusb. 2013-07-25 03:54:08 +00:00
libusb-1.0.pc Update reported libusb version to 1.0.13 2014-06-05 14:19:32 +00:00
libusb-2.0.pc Add pkgconf files for libusb. 2013-07-25 03:54:08 +00:00
libusb.3 Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
libusb.h libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability 2017-08-09 18:06:27 +00:00
Makefile Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
Makefile.depend META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
usb.h