| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326219
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some libusb consumers in Linux-land (in this case, libusb4java) expect a
dev_capability member that they can use to enumerate the device
capabilities.
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: https://reviews.freebsd.org/D11494
Notes:
svn path=/head/; revision=322322
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (marius)
PR: 210509
MFC after: 1 week
Notes:
svn path=/head/; revision=302171
|
| |
|
|
|
|
|
|
|
|
|
| |
libusb(3) manual page.
Approved by: re (gjb)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=302125
|
| |
|
|
|
|
|
|
|
|
|
|
| |
libusb_hotplug_deregister_callback() for the LibUSB v1.0 API and
update the libusb(3) manual page.
Approved by: re (kib)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=302080
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=301968
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (kostikbel)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=301966
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (kostikbel)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=301964
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (kostikbel)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=301957
|
| |
|
|
|
|
|
|
|
| |
Approved by: re (glebius)
Requested by: swills
MFC after: 1 week
Notes:
svn path=/head/; revision=301956
|
| |
|
|
|
|
|
|
|
|
| |
9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week
Notes:
svn path=/head/; revision=277245
|
| |
|
|
|
|
|
|
| |
Obtained from: libusb project at SourceForge
MFC after: 1 week
Notes:
svn path=/head/; revision=270133
|
| |
|
|
|
|
|
|
|
|
| |
from sourceforge.
PR: usb/190204
MFC after: 1 week
Notes:
svn path=/head/; revision=266664
|
| |
|
|
|
|
|
| |
This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html
Notes:
svn path=/head/; revision=263191
|
| |
|
|
|
|
|
|
| |
PR: usb/185454
MFC after: 2 weeks
Notes:
svn path=/head/; revision=260315
|
| |
|
|
|
|
|
|
|
| |
libusbx deprecated libusb_get_port_path and replaced it with
libusb_get_port_numbers. The latter omits an extra parameter which was
unused in the FreeBSD implementation anyway.
Notes:
svn path=/head/; revision=251495
|
| |
|
|
|
|
|
|
|
|
| |
This follows the libusbx API reference at
http://libusbx.sourceforge.net/api-1.0/group__dev.html
Reviewed by: hselasky@
Notes:
svn path=/head/; revision=250342
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The correct return type, per our libusb(3) man page and the libusb.org
and libusbx projects (whose interface we intend to follow for our libusb),
is const struct libusb_pollfd **.
Unfortunately the doxygen-generated libusbx API documentation[1] omits[2]
the const for some reason.
[1] http://libusbx.sourceforge.net/api-1.0/group__poll.html#gab1a72869a926552b27a6c667695df3a2
[2] http://sourceforge.net/mailarchive/forum.php?thread_name=497D10BE.8090007%40n-dimensional.de&forum_name=libusb-devel
Reviewed by: hselasky@
Notes:
svn path=/head/; revision=250335
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=248236
|
| |
|
|
|
|
|
| |
Reported by: Xiaofan Chen
Notes:
svn path=/head/; revision=235128
|
| |
|
|
|
|
|
|
|
|
|
| |
This is useful for GNU/kFreeBSD and the libusb2debian port.
Applications using the asynchronous API of LibUSB 1.0 needs
to be recompiled after this update.
Found by: lme @
Notes:
svn path=/head/; revision=234684
|
| |
|
|
|
|
|
|
| |
Reported by: lme @
MFC after: 1 week
Notes:
svn path=/head/; revision=234193
|
| |
|
|
|
|
|
|
|
|
| |
Some header file parts of this patch were taken from a patch submitted
by Maya Erez <merez@codeaurora.org> to the LibUSB developers list.
MFC after: 1 week
Notes:
svn path=/head/; revision=227404
|
| |
|
|
|
|
|
|
| |
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225659
|
| |
|
|
|
|
|
|
| |
MFC after: 1 week
Approved by: re (kib)
Notes:
svn path=/head/; revision=224903
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
Approved by: thompsa (mentor)
Notes:
svn path=/head/; revision=213853
|
| |
|
|
|
|
|
|
|
|
|
| |
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Approved by: thompsa (mentor)
Notes:
svn path=/head/; revision=213848
|
| |
|
|
|
|
|
|
| |
Reported by: Xiaofan Chen
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=208020
|
| |
|
|
|
|
|
|
|
|
| |
is expected after this commit.
Tested by: make buildworld
Reviewed by: hps (patch without .h changes)
Notes:
svn path=/head/; revision=203815
|
| |
|
|
|
|
|
| |
Reviewed by: hps@
Notes:
svn path=/head/; revision=203775
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=199055
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
MFC after: 7 days
Notes:
svn path=/head/; revision=93282
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92917
|
| |
|
|
|
|
|
| |
Declare all the interfaces documented in usb.3 (2 were missing).
Notes:
svn path=/head/; revision=72065
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=67217
|
| |
|
|
|
|
|
|
| |
Print unknown usages with 4 digits.
Mask in page extraction.
Notes:
svn path=/head/; revision=65116
|
|
|
Notes:
svn path=/head/; revision=61560
|