#
2a63c3be |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
|
#
8010f4ad |
|
17-Dec-2021 |
Brooks Davis <brooks@FreeBSD.org> |
libusb: remove use of COMPAT_32BIT This codepath used uint64_t's in place of pointers in structs and arrays to allow 32-bit code to use 64-bit version of ioctls. Now that we support 32-bit compat natively this is no longer needed. Reviewed by: hselasky, jrtc27 (prior version)
|
#
6847ea50 |
|
11-Jun-2021 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Improve handling of USB device re-open in the LibUSB v1.x API. Make sure the "device_is_gone" flag is cleared after every successful open, so that the "device_is_gone" flag doesn't persist forever. Found by: sergii.dmytruk@3mdeb.com PR: 256296 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
#
34b0ca24 |
|
27-Dec-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement new libusb v2.0 API function, libusb20_dev_get_stats(). This function is useful when debugging USB device issues. MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
08216d18 |
|
08-Jun-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 MFC after: 3 days
|
#
dfd30b26 |
|
26-Jun-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Improve the userspace USB string reading function in LibUSB. Some USB devices does not allow a partial descriptor readout. Found by: bz @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
fd2ef04f |
|
23-Mar-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Allow the libusb20_dev_get_port_path() function to be called when the USB device is closed. This fixes a compatibility issue with upstream libusb. Found by: romain@ MFC after: 1 week
|
#
5e53a4f9 |
|
25-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
lib: further adoption of SPDX licensing ID tags. 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.
|
#
5f518148 |
|
02-Sep-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix array size issue when using the pre-scaling feature for ISOCHRONOUS USB transfers. Make sure enough length and buffer pointers are allocated when setting up the libusb transfer structure to support the maximum number of frames the kernel can handle. MFC after: 1 week
|
#
5b40d960 |
|
16-Jun-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add support for libusb_set_auto_detach_kernel_driver() to the LibUSB v1.0 API. Approved by: re (kostikbel) Requested by: swills MFC after: 1 week
|
#
2bf49386 |
|
09-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
USB: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: hselasky
|
#
99cd1f32 |
|
14-Jul-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add some missing definitions to build a working FreeBSD's libusb under Linux.
|
#
c77a24c2 |
|
03-May-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add new USB API to get the port path of a USB device. MFC after: 2 weeks Requested by: emaste @
|
#
66194130 |
|
12-Mar-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- 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.
|
#
aafcb732 |
|
13-Feb-2013 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
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
|
#
07b6ce3b |
|
13-Aug-2012 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add support for streams to LibUSB v2.0. MFC after: 2 weeks
|
#
d81535d1 |
|
20-Apr-2012 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix some compile warnings. MFC after: 1 week
|
#
c61f2561 |
|
19-Sep-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement missing USB debug information functions. Approved by: re (kib) MFC after: 1 week
|
#
4eb5923d |
|
16-Jul-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- Add two missing functions to the LibUSB v0.1 API. - 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
|
#
2485d8a7 |
|
24-Jun-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- 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
|
#
1c497368 |
|
28-Feb-2011 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- Add support for software pre-scaling of ISOCHRONOUS transfers. MFC after: 14 days Approved by: thompsa (mentor)
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
51fd3d75 |
|
14-Oct-2010 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
- Add support for LibUSB in 32-bit compatibility mode. Approved by: thompsa (mentor)
|
#
6836afc4 |
|
06-Apr-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
MFC r203147 Add a function to check if the usb devices is still connected. Submitted by: Hans Petter Selasky
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
f3cba95c |
|
13-Feb-2010 |
Wojciech A. Koszek <wkoszek@FreeBSD.org> |
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)
|
#
e50ac68b |
|
28-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add a function to check if the usb devices is still connected. Submitted by: Hans Petter Selasky
|
#
f08a4d06 |
|
17-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
MFC r202025 Reset variable fields in case the transfer is opened again
|
#
c740e8e4 |
|
10-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
Reset variable fields in case the transfer is opened again Submitted by: Hans Petter Selasky
|
#
4b56fe67 |
|
09-Dec-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
MFC r199575 - 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]
|
#
4594d907 |
|
20-Nov-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
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]
|
#
1110a460 |
|
10-Nov-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
MFC r199055 - 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
|
#
ccef4ddf |
|
08-Nov-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
- 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 Reported by: Robert Jenssen Submitted by: Hans Petter Selasky MFC After: 3 days
|
#
4315b3c9 |
|
12-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
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
|
#
545b01ad |
|
02-Jun-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add libusb20_tr_get_length to get the transfer length. Submitted by: Hans Petter Selasky
|
#
760bc48e |
|
28-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
s/usb2_/usb_/ on all C structs for the USB stack.
|
#
df4b8c2a |
|
09-Mar-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
libusb20 is now installed as libusb, remove the version number from the directory name.
|