| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
LibUSB v1.0 API compliance and bugfixes.
Notes:
svn path=/stable/8/; revision=237262
|
| |
|
|
|
|
|
|
|
| |
General mdoc(7) and typo fixes.
PR: 167734
Notes:
svn path=/stable/8/; revision=235576
|
| |
|
|
|
|
|
|
|
|
|
| |
Minor code simplification.
No functional change.
Fix some compile warnings.
Fix some mdoc issues.
Add missing LibUSB 1.0 API function.
Notes:
svn path=/stable/8/; revision=235017
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r232157:
Fix various typos in manual pages.
Submitted by: amdmi3
PR: 165431
r232158:
Whitespace cleanup:
o Wrap sentences on to new lines
o Cleanup trailing whitespace
Notes:
svn path=/stable/8/; revision=234719
|
| |
|
|
|
|
|
| |
Add USB 3.0 descriptor support.
Notes:
svn path=/stable/8/; revision=228223
|
| |
|
|
|
|
|
| |
Fix libusb compliance.
Notes:
svn path=/stable/8/; revision=226282
|
| |
|
|
|
|
|
| |
Implement missing USB debug information functions.
Notes:
svn path=/stable/8/; revision=225759
|
| |
|
|
|
|
|
|
|
|
| |
- Add missing API function to the LibUSB v1.0 API.
- Update LibUSB v1.0 manual page.
PR: docs/159898
Notes:
svn path=/stable/8/; revision=225102
|
| |
|
|
|
|
|
|
| |
- Add missing APIs.
- Add some rangechecks.
Notes:
svn path=/stable/8/; revision=224213
|
| |
|
|
|
|
|
| |
LibUSB v1.0 clear stall bugfix.
Notes:
svn path=/stable/8/; revision=223643
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Add two new API's to libusb20 which can be used to retrive information
about the parent USB device (which is usually an USB HUB):
- libusb20_dev_get_parent_address
- libusb20_dev_get_parent_port
- Rename libusb20_compat01.c into libusb01.c
Notes:
svn path=/stable/8/; revision=223612
|
| |
|
|
|
|
|
|
| |
- Add support for LibUSB in 32-bit compatibility mode.
- Some manpage related fixes.
Notes:
svn path=/stable/8/; revision=223419
|
| |
|
|
|
|
|
|
|
| |
- Add support for software pre-scaling of ISOCHRONOUS transfers.
Approved by: thompsa (mentor)
Notes:
svn path=/stable/8/; revision=220434
|
| |
|
|
|
|
|
|
|
| |
Check return value of malloc().
Reviewed by: hselasky
Notes:
svn path=/stable/8/; revision=216751
|
| |
|
|
|
|
|
|
|
|
| |
Correct description of the return values of
the LibUSB v1.0 libusb_control_transfer() function.
PR: usb/151851
Notes:
svn path=/stable/8/; revision=215984
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix LibUSB v1.0 compliancy.
1) We need to allow the USB callback to free the USB transfer itself.
2) The USB transfer buffer should only be automatically freed when
freeing the USB transfer.
Notes:
svn path=/stable/8/; revision=215983
|
| |
|
|
|
|
|
|
|
| |
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Notes:
svn path=/stable/8/; revision=215982
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add missing LibUSB API functions:
* libusb_strerror()
* libusb_get_driver[_np]()
* libusb_detach_kernel_driver[_np]()
- Factor out setting of non-blocking flag inside libusb.
- Add missing NULL check after libusb_get_device() call.
- Correct some wrong error codes due to copy and paste error.
PR: usb/150546
Submitted by: Robert Jenssen, Alexander Leidinger
Notes:
svn path=/stable/8/; revision=215546
|
| |
|
|
|
|
|
|
| |
Resort includes to match style(9) a bit more. No functional change
is expected after this commit.
Notes:
svn path=/stable/8/; revision=215477
|
| |
|
|
|
|
|
| |
Remove redundand headers and use more standard ones where necessary.
Notes:
svn path=/stable/8/; revision=215476
|
| |
|
|
|
|
|
|
| |
Use more standard way for setting nonblocking flag for a filedescriptor.
This makes libusb porting a bit easier.
Notes:
svn path=/stable/8/; revision=215475
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Within libusb 0.1 API, bus number is always faked to 0. Device numbers,
however, are possitive and seem to be reverse sorted in the list.
Conform device numbering and bring a result that is consistent with the
libusb 0.1 API. It is now possible to distinguish a device based on its
(bus, dev) numbers.
Notes:
svn path=/stable/8/; revision=208237
|
| |
|
|
|
|
|
|
| |
Fix return values for usb_find_busses() and usb_find_devices(). We should try
to return the actual number of busses and devices.
Notes:
svn path=/stable/8/; revision=208235
|
| |
|
|
|
|
|
| |
Fix header file compliancy with libusb 1.0 from sourceforge.
Notes:
svn path=/stable/8/; revision=208233
|
| |
|
|
|
|
|
|
|
| |
Add a function to check if the usb devices is still connected.
Submitted by: Hans Petter Selasky
Notes:
svn path=/stable/8/; revision=206332
|
| |
|
|
|
|
|
| |
Reset variable fields in case the transfer is opened again
Notes:
svn path=/stable/8/; revision=202504
|
| |
|
|
|
|
|
|
|
|
|
| |
r200424:
Fix libusb_open_device_with_vid_pid() to return a NULL if no device is
found instead of the last device in its search list.
Reviewed by: thompsa
Notes:
svn path=/stable/8/; revision=200757
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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]
Notes:
svn path=/stable/8/; revision=200312
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fix refcounting error during data transfer
- fix a memory leak on the USB backend
- fix invalid pointer computations (in one case memory outside the allocated
area was written in LibUSB v1.0)
- make sure memory is always initialised, also in failing cases
- add missing functions from v1.0.4
PR: usb/140325
Notes:
svn path=/stable/8/; revision=199165
|
| |
|
|
|
|
|
|
|
|
| |
Prevent wraparound of the timeout variable.
Submitted by: HPS
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=198386
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Significantly improve libusb10 support.
- Many minor issues fixed.
- P4 ID: 166189, 165853, 165991, 166052, 166069
Submitted by: hps
Approved by: re
Notes:
svn path=/head/; revision=195957
|
| |
|
|
|
|
|
|
|
|
|
| |
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=195767
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix possible uninitialised variables and null derefs
- Support big transfers
- Various bug fixes and style changes
Submitted by: Sylvestre Gallon
Sponsored by: Google Summer of Code 2009
Approved by: re (kib)
Notes:
svn path=/head/; revision=195560
|
| |
|
|
|
|
|
| |
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Notes:
svn path=/head/; revision=194677
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add libusb 1.0 support which is compatible with the latest revision on
Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and
supersedes the original libusb released 10 years ago, it supports isochronous
endpoints and asynchronous I/O. Many applications have already started using
the interfaces.
This has been developed as part of Google Summer of Code this year by Sylvestre
Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0
Submitted by: Sylvestre Gallon
Sponsored by: Google Summer of Code 2009
Reviewed by: Hans Petter Selasky
Notes:
svn path=/head/; revision=194676
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and
supersedes the original libusb released 10 years ago, it supports isochronous
endpoints and asynchronous I/O. Many applications have already started using
the interfaces.
This has been developed as part of Google Summer of Code this year by Sylvestre
Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0
Submitted by: Sylvestre Gallon
Sponsored by: Google Summer of Code 2009
Reviewed by: Hans Petter Selasky
Notes:
svn path=/head/; revision=194674
|
| |
|
|
|
|
|
|
|
| |
claim and release interface support from libusb v2.0, because it is not useful.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=194069
|
| |
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=193313
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192984
|
| |
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=192550
|
| |
|
|
|
|
|
|
|
| |
Update libusb function descriptions.
Submitted by: Chuck Robey
Notes:
svn path=/head/; revision=190746
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189939
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189628
|
| |
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=189621
|
| |
|
|
|
|
|
| |
directory name.
Notes:
svn path=/head/; revision=189587
|
| |
|
|
|
|
|
| |
MFC after: 7 days
Notes:
svn path=/head/; revision=93282
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92917
|
| |
|
|
|
|
|
|
|
|
|
|
| |
c++ keywords.
This keeps us in sync with NetBSD because they actually committed
my delta first.
Ok'd by: lennard
Notes:
svn path=/head/; revision=90996
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84224
|