History log of /freebsd/lib/libusb/Makefile (Results 1 – 25 of 48)
Revision Date Author Comments
# 25c22510 23-Jun-2026 ShengYi Hung <aokblast@FreeBSD.org>

libusb: Implement libusb_set_log_cb

Reviewed by: adrian
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57770


# 1a8701e2 11-Jun-2026 ShengYi Hung <aokblast@FreeBSD.org>

libusb: Implement libusb20_tr_get_flags

Reviewed by: adrian, bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57543


# ff46acfd 22-Aug-2025 ShengYi Hung <aokblast@FreeBSD.org>

usb: implement attach kernel driver feature

FreeBSD's USB framework supports detaching kernel drivers to allow
user space applications to exclusively claim USB interfaces. However,
it lacked support

usb: implement attach kernel driver feature

FreeBSD's USB framework supports detaching kernel drivers to allow
user space applications to exclusively claim USB interfaces. However,
it lacked support for reattaching the kernel driver afterward.

This commit adds the missing functionality, enabling user space
to return control of the device back to the kernel.

Reviewed by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52122

show more ...


# caf23c8e 15-Feb-2026 Rick Parrish <unitrunker@unitrunker.net>

libusb20: Add dev_open + be_device_foreach manuals

Manual pages for libusb20_open(3) and libusb20_be_device_foreach(3).

PR: 291675
MFC after: 3 days
Reviewed by: adrian (usb), ziaee (manpages)

libusb20: Add dev_open + be_device_foreach manuals

Manual pages for libusb20_open(3) and libusb20_be_device_foreach(3).

PR: 291675
MFC after: 3 days
Reviewed by: adrian (usb), ziaee (manpages)
Differential Revision: https://reviews.freebsd.org/D54231

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 4c6bcffd 26-Jan-2023 Hans Petter Selasky <hselasky@FreeBSD.org>

libusb(3): Implement libusb_init_context() and the needed structures and definitions.

Differential Revision: https://reviews.freebsd.org/D38212
MFC after: 1 week
Sponsored by: NVIDIA Networking


# aa87aa52 02-Oct-2022 Hans Petter Selasky <hselasky@FreeBSD.org>

libusb(3): Implement libusb_interrupt_event_handler() by exposing existing function.

MFC after: 1 week
Sponsored by: NVIDIA Networking


# ac175bd3 12-Aug-2022 Alex Richardson <arichardson@FreeBSD.org>

Install working pkgconfig .pc files for compat libraries

The default ones are install them to /usr/libdata/pkgconfig, and we can't
use this path for compat libraries, so we use /usr/lib<suffix>/pkgc

Install working pkgconfig .pc files for compat libraries

The default ones are install them to /usr/libdata/pkgconfig, and we can't
use this path for compat libraries, so we use /usr/lib<suffix>/pkgconfigi here.

Test Plan: grep -rn libdir= ./usr/lib32/pkgconfig/*.pc
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34939

show more ...


# 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 n

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)

show more ...


# 500f4659 16-Mar-2021 Emmanuel Vadot <manu@FreeBSD.org>

Convert libs with pc files to use PCFILES

Now the .pc ends up in the correct package (-dev)

Reviewed by: bapt, emaste
Differential Revision: https://reviews.freebsd.org/D29172
MFC after: 2 wee

Convert libs with pc files to use PCFILES

Now the .pc ends up in the correct package (-dev)

Reviewed by: bapt, emaste
Differential Revision: https://reviews.freebsd.org/D29172
MFC after: 2 weeks

show more ...


# 04391da3 09-Jun-2020 Kyle Evans <kevans@FreeBSD.org>

libusb: improve compatibility

Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API.
Descriptions and functionality for these derived from the
documentation at [0]. The current

libusb: improve compatibility

Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API.
Descriptions and functionality for these derived from the
documentation at [0]. The current set of capabilities are all supported by
libusb.

These were detected as missing after updating net/freerdp to 2.1.1, which
attempted to use both.

[0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25194

show more ...


# 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


# 4c1a82ce 05-Sep-2019 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-utilities package and make it the default one

The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and r

pkgbase: Create a FreeBSD-utilities package and make it the default one

The default package use to be FreeBSD-runtime but it should only contain
binaries and libs enough to boot to single user and repair the system, it
is also very handy to have a package that can be tranform to a small mfsroot.
So create a new package named FreeBSD-utilities and make it the default one.
Also move a few binaries and lib into this package when it make sense.
Reviewed by: bapt, gjb
Differential Revision: https://reviews.freebsd.org/D21506

show more ...


# a0c93fa3 23-Jun-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Add support for USB streams to the LibUSB v1.0 API and update the
libusb(3) manual page.

Approved by: re (gjb)
Requested by: swills
MFC after: 1 week


# 7bdc064b 22-Jun-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement libusb_hotplug_register_callback() and
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 aft

Implement libusb_hotplug_register_callback() and
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

show more ...


# 37d0636a 16-Jun-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Add multiple missing descriptor parsing functions to the LibUSB v1.0 API.

Approved by: re (kib)
Requested by: swills
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


# 14b896ce 16-Jun-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement libusb_get_version() and update libusb manual page.

Approved by: re (glebius)
Requested by: swills
MFC after: 1 week


# a70cba95 04-Feb-2016 Glen Barber <gjb@FreeBSD.org>

First pass through library packaging.

Sponsored by: The FreeBSD Foundation


# 43fa36d5 03-Oct-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handled
by the LIBRARIES_ONLY mechanism protecting FILES.

Sponsored by: EMC / Isilon Storage Division


# de0e3997 19-Sep-2015 Bryan Drewery <bdrewery@FreeBSD.org>

Replace beforeinstall: handling with FILES.

This actually fixes some cases to respect LIBRARIES_ONLY.

Sponsored by: EMC / Isilon Storage Division


# 84d5c498 15-Aug-2015 Antoine Brodin <antoine@FreeBSD.org>

bsd.lib.mk has to be included after MLINKS assignment


# 6b129086 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert libraries to use LIBADD
While here reduce a bit overlinking


# 89ca4e2d 28-Oct-2014 John-Mark Gurney <jmg@FreeBSD.org>

only install .pc files when we are not installing 32bit compat libs...

This fixes the problem of installing the .pc files multiple times...


# 03205428 05-Jan-2014 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement two new libusb API functions.

PR: usb/185454
MFC after: 2 weeks


12