| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
to return the actual number of busses and devices.
Reported by: Mike Tancsa
Submitted by: Hans Petter Selaksy
|
|
|
|
|
| |
Reported by: Xiaofan Chen
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
is expected after this commit.
Tested by: make buildworld
Reviewed by: hps (patch without .h changes)
|
|
|
|
| |
Reviewed by: hps@
|
|
|
|
|
|
|
|
|
|
| |
This makes libusb porting a bit easier.
There shouldn't by any negative change in behaviour after this commit.
Remove redundant headers.
Reviewed by: hps@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
There shouldn't be any negative change in behavior after this commit.
Tested with: scanimage (sane)
http://freebsd.czest.pl/~wkoszek/qemu/l.c
Reviewed by: hps@
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
| |
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.
I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
|
|
|
|
|
|
|
| |
found instead of the last device in its search list.
Reviewed by: thompsa
MFC after: 5 days
|
|
|
|
|
|
|
|
|
| |
- 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]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Reported by: Robert Jenssen
Submitted by: Hans Petter Selasky
MFC After: 3 days
|
|
|
|
| |
Submitted by: HPS
|
|
|
|
|
|
|
|
|
| |
- Significantly improve libusb10 support.
- Many minor issues fixed.
- P4 ID: 166189, 165853, 165991, 166052, 166069
Submitted by: hps
Approved by: re
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
| |
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
claim and release interface support from libusb v2.0, because it is not useful.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
| |
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Update libusb function descriptions.
Submitted by: Chuck Robey
|
| |
|
| |
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
| |
directory name.
|
|
|
|
| |
MFC after: 7 days
|
| |
|
|
|
|
|
|
|
|
|
| |
c++ keywords.
This keeps us in sync with NetBSD because they actually committed
my delta first.
Ok'd by: lennard
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
poisoning having not reached here).
|
|
|
|
| |
Declare all the interfaces documented in usb.3 (2 were missing).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
K&R -> ANSI
Bugfix: 'Keep the bit position even when the report descriptor says POP.'
Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.
Changed iface for hid_report_size.
|
|
|
|
|
| |
Print unknown usages with 4 digits.
Mask in page extraction.
|
| |
|
|
|