<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libusb, branch releng/13.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-12-14T11:56:16Z</updated>
<entry>
<title>Be bug compatible with other operating systems by allowing non-sequential</title>
<updated>2020-12-14T11:56:16Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-14T11:56:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=10557931153c8e347251b95418fe0f45dc2262dd'/>
<id>urn:sha1:10557931153c8e347251b95418fe0f45dc2262dd</id>
<content type='text'>
interface numbering for USB descriptors in userspace. Else certain USB
control requests using the interface number, won't be recognized by the
USB firmware.

Refer to section 9.2.3 in the USB 2.0 specification:
Interfaces are numbered from zero to one less than the number of concurrent interfaces
supported by the configuration.

PR:		251784
MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
</content>
</entry>
<entry>
<title>Fix a few mandoc issues</title>
<updated>2020-10-09T19:12:44Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2020-10-09T19:12:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d265fce43746c293ae826e9603adbfe09f93cf6'/>
<id>urn:sha1:3d265fce43746c293ae826e9603adbfe09f93cf6</id>
<content type='text'>
- skipping paragraph macro: Pp after Sh
- sections out of conventional order: Sh EXAMPLES
- whitespace at end of input line
- normalizing date format
</content>
</entry>
<entry>
<title>libusb: improve compatibility</title>
<updated>2020-06-09T17:17:43Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-06-09T17:17:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04391da364e252ca15645147e2c966dc6d1fbbda'/>
<id>urn:sha1:04391da364e252ca15645147e2c966dc6d1fbbda</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Fix for building libusb under Linux.</title>
<updated>2020-03-10T15:59:20Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-03-10T15:59:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6428705d86963cb49ce41e709afd02ff39e04a7'/>
<id>urn:sha1:f6428705d86963cb49ce41e709afd02ff39e04a7</id>
<content type='text'>
MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Add missing mutex unlock in failure case.</title>
<updated>2020-01-30T17:30:04Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-01-30T17:30:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cca46c5e6923f0cc869c9263b0a89cb176997a04'/>
<id>urn:sha1:cca46c5e6923f0cc869c9263b0a89cb176997a04</id>
<content type='text'>
Differential Revision:	https://reviews.freebsd.org/D23430
Submitted by:	cem
Reported by:	Coverity
Coverity CID:	1368773
MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Implement new libusb v2.0 API function, libusb20_dev_get_stats().</title>
<updated>2019-12-27T20:35:12Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-12-27T20:35:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=34b0ca243f6272d998475afd019d3a9e175cd817'/>
<id>urn:sha1:34b0ca243f6272d998475afd019d3a9e175cd817</id>
<content type='text'>
This function is useful when debugging USB device issues.

MFC after:	1 week
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Update Makefile.depend files</title>
<updated>2019-12-11T17:37:53Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2019-12-11T17:37:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c9a9dfc187d171de6b92654d71b977f067ed641'/>
<id>urn:sha1:2c9a9dfc187d171de6b92654d71b977f067ed641</id>
<content type='text'>
Update a bunch of Makefile.depend files as
a result of adding Makefile.depend.options files

Reviewed by:	 bdrewery
MFC after:	1 week
Sponsored by:   Juniper Networks
Differential Revision:  https://reviews.freebsd.org/D22494
</content>
</entry>
<entry>
<title>libusb: LIBUSB_DEBUG environment variable override of libusb_set_debug</title>
<updated>2019-10-02T15:19:39Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-10-02T15:19:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8495fa081bb0c8a4be80488972fca09c9400f53c'/>
<id>urn:sha1:8495fa081bb0c8a4be80488972fca09c9400f53c</id>
<content type='text'>
The debug level generally just controls verbosity of libusb for debugging
libusb devices/usage. We allow the environment to set the debug level
independent of the application, but the application will always override
this if it explicitly sets the debug level.

Changing the environment is easy, but patching the software to change the
debug level isn't necessarily easy or possible. Further, there's this
write-only debug_fixed variable that would seem to imply that the debug
level should be fixed, but it isn't currently used. Change the logic to use
strtol() so we can detect real 0 vs. conversion failure, then honor
debug_fixed in libusb_set_debug.

Reviewed by:	hselasky
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D21877
</content>
</entry>
<entry>
<title>pkgbase: Create a FreeBSD-utilities package and make it the default one</title>
<updated>2019-09-05T14:15:47Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2019-09-05T14:15:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c1a82cea504df7a79f5bd8f7d0a41cacccff16e'/>
<id>urn:sha1:4c1a82cea504df7a79f5bd8f7d0a41cacccff16e</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Only call libusb_hotplug_enumerate() once from libusb_hotplug_register_callback().</title>
<updated>2019-06-26T12:04:54Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-06-26T12:04:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5b24a2b65b945f8688ae677e816b1a2c632a39a'/>
<id>urn:sha1:a5b24a2b65b945f8688ae677e816b1a2c632a39a</id>
<content type='text'>
Else when registering multiple filters the same USB device may appear twice in
the list.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
