SVNews r322322

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-09 18:06:27 - r322322 by kevans (kevans)

Complete list of files affected by revision r322322:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/libusb/libusb.h  
  History   Contents   Diff   MODIFY   /head/lib/libusb/libusb10_desc.c  

Commit message:

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

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:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 27 ms, 2 files printed. Current time is 2018-03-22 04:05:47. All times are in UTC/GMT.