| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
r273756:
only install .pc files when we are not installing 32bit compat libs...
r287980:
Replace beforeinstall: handling with FILES.
|
|
|
|
|
|
|
|
|
|
|
|
| |
libusb: Fix minor warning.
Fix a warning triggered by the gcc + FORTIFY_SOURCE patches:
In function 'libusb20_parse_config_desc': lib/libusb/libusb20_desc.c:141:
warning: passing argument 1 of 'memcpy' discards qualifiers from pointer
target type
Submitted by: hselansky
|
|
|
|
|
| |
Add more USB request definitions. The values are described in section
9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"
|
|
|
|
| |
Add more USB class codes.
|
|
|
|
| |
Add libusb_log_level enum.
|
|
|
|
|
|
|
| |
Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API
from sourceforge.
PR: usb/190204
|
|
|
|
|
| |
Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0
APIs to increase the maximum bandwidth limit.
|
|
|
|
|
|
| |
Implement two new libusb API functions.
PR: usb/185454
|
|
|
|
|
| |
Comply to the official LibUSB v1.0 API:
"It is legal to attempt to claim an already-claimed interface."
|
| |
|
|
|
|
| |
Reviewed by: hselasky
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
This follows the libusbx API reference at
http://libusbx.sourceforge.net/api-1.0/group__dev.html
Reviewed by: hselasky@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
MFC after: 2 weeks
Requested by: emaste @
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
Update usbconfig to print power draw on USB devices.
MFC after: 2 weeks
Submitted by: Matt Burke @ icritical.com
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC
does not wrap into negative in near future. This fixes any potential
problems using "pthread_cond_timedwait()".
- Fix a bug where the "libusb_wait_for_event()" function computes an
absolute timeout instead of a relative timeout. USB transfers do
not depend on this timeout value.
- Add dependency towards LibPthread to Makefile, because LibUSB v1.0
needs this library to function correctly.
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
|
|
|
|
| |
Reported by: Xiaofan Chen
|
| |
|
|
|
|
|
|
|
| |
changes the libusb 1.0 API. While at it, correct a manual
page symlink.
Suggested by: kib @
|
|
|
|
|
|
|
|
| |
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 @
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Reported by: lme @
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
Submitted by: amdmi3
PR: 165431
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
pdev to non-NULL on success instead of unconditonally
setting it and maybe resetting it later.
Submitted by: Christoph Mallon
MFC after: 3 days
|
|
|
|
|
|
|
| |
fails, so there is no need to do it again after returning.
Submitted by: Christoph Mallon
MFC after: 3 days
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
libusb_dev_kernel_driver_active() works. In case of
libusb20 the manpage was wrong and in case of
libusb10 the implementation was wrong.
Submitted by: Kai Wang
MFC after: 3 days
|
|
|
|
|
| |
Approved by: re (kib)
MFC after: 1 week
|
|
|
|
|
|
| |
MFC after: 1 week
Approved by: re (kib)
PR: docs/159898
|
|
|
|
|
|
| |
MFC after: 1 week
Approved by: re (kib)
PR: docs/159898
|
|
|
|
|
|
| |
MFC after: 1 week
Spotted by: scf @
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
| |
- fix some minor spelling
- fix some style
- add description of new function
MFC after: 1 week
Approved by: re (kib)
|
|
|
|
|
| |
MFC after: 1 week
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
| |
- Clamp the string length to 255 bytes when getting
the interface description.
- Clamp data request length to 65535 bytes when doing
control requests.
MFC after: 3 days
|
|
|
|
| |
else clear stall won't work in that case.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
| |
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
| |
Reviewed by: hselasky
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
the LibUSB v1.0 libusb_control_transfer() function.
PR: usb/151851
Submitted by: HIROSHI OOTA
Approved by: thompsa (mentor)
|