Hans Petter Selasky
34b0ca243f
Implement new libusb v2.0 API function, libusb20_dev_get_stats().
...
This function is useful when debugging USB device issues.
MFC after: 1 week
Sponsored by: Mellanox Technologies
2019-12-27 20:35:12 +00:00
Hans Petter Selasky
fd2ef04fdb
Allow the libusb20_dev_get_port_path() function to be called when the
...
USB device is closed. This fixes a compatibility issue with upstream
libusb.
Found by: romain@
MFC after: 1 week
2018-03-23 09:40:41 +00:00
Pedro F. Giffuni
5e53a4f90f
lib: further adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
2017-11-26 02:00:33 +00:00
Hans Petter Selasky
5b40d9601c
Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API.
...
Approved by: re (kostikbel)
Requested by: swills
MFC after: 1 week
2016-06-16 14:26:04 +00:00
Hans Petter Selasky
c77a24c24a
Add new USB API to get the port path of a USB device.
...
MFC after: 2 weeks
Requested by: emaste @
2013-05-03 07:44:58 +00:00
Hans Petter Selasky
aafcb73207
Add USB API to read power draw on USB devices.
...
Update usbconfig to print power draw on USB devices.
MFC after: 2 weeks
Submitted by: Matt Burke @ icritical.com
2013-02-14 12:22:40 +00:00
Hans Petter Selasky
07b6ce3ba9
Add support for streams to LibUSB v2.0.
...
MFC after: 2 weeks
2012-08-13 18:10:52 +00:00
Hans Petter Selasky
2485d8a793
- Add two new API's to libusb20 which can be used to retrive information
...
about the parent USB device:
- libusb20_dev_get_parent_address
- libusb20_dev_get_parent_port
- Rename libusb20_compat01.c into libusb01.c
MFC after: 3 days
2011-06-24 11:14:09 +00:00
Hans Petter Selasky
1c49736857
- Add support for software pre-scaling of ISOCHRONOUS transfers.
...
MFC after: 14 days
Approved by: thompsa (mentor)
2011-02-28 17:23:15 +00:00
Hans Petter Selasky
51fd3d75fe
- Add support for LibUSB in 32-bit compatibility mode.
...
Approved by: thompsa (mentor)
2010-10-14 20:38:18 +00:00
Andrew Thompson
e50ac68b3d
Add a function to check if the usb devices is still connected.
...
Submitted by: Hans Petter Selasky
2010-01-29 02:44:06 +00:00
Alfred Perlstein
390065b18e
LibUSB v1.0:
...
- Significantly improve libusb10 support.
- Many minor issues fixed.
- P4 ID: 166189, 165853, 165991, 166052, 166069
Submitted by: hps
Approved by: re
2009-07-30 00:11:41 +00:00
Andrew Thompson
4315b3c95d
Cleanup claim/release interface code, which is specific to libusb v0.1. Remove
...
claim and release interface support from libusb v2.0, because it is not useful.
Submitted by: Hans Petter Selasky
2009-06-12 16:07:06 +00:00
Andrew Thompson
760bc48e7e
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
Andrew Thompson
df4b8c2a2d
libusb20 is now installed as libusb, remove the version number from the
...
directory name.
2009-03-09 17:09:46 +00:00