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
6619413096
- Make the FreeBSD's USB library compile under Linux.
...
- Fix a compile warning where the return value of a call
to a write() function was ignored.
- Remove redundant include files from userland USB header files.
- Add some now needed include files to various C-files.
2013-03-13 12:23:14 +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
c61f25617c
Implement missing USB debug information functions.
...
Approved by: re (kib)
MFC after: 1 week
2011-09-19 08:52:06 +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
Wojciech A. Koszek
f3cba95c5b
Resort includes to match style(9) a bit more. No functional change
...
is expected after this commit.
Tested by: make buildworld
Reviewed by: hps (patch without .h changes)
2010-02-13 09:45:50 +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
Andrew Thompson
4594d907db
Sync to P4
...
- fix a transfer cancelling bug/segfault [1]
- correct a return code in the transfer cancel function.
- add new API function, libusb20_tr_bulk_intr_sync().
Submitted by: HPS
Reported by: Robert Jenssen [1]
2009-11-20 08:57:25 +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
545b01ad3a
Add libusb20_tr_get_length to get the transfer length.
...
Submitted by: Hans Petter Selasky
2009-06-02 17:27:51 +00:00
Andrew Thompson
760bc48e7e
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
Xin LI
38d3e5fecf
Add prototypes for libusb20_be_[gs]et_template.
2009-03-17 21:20:39 +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