notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: sysutils/nut/files/patch-drivers_libshut.c
SVNWeb

Number of commits found: 3

Sat, 14 Nov 2020
[ 07:58 cy search for other commits by this committer ] Original commit   Revision:555091 (Only the first 10 of 20 ports in this commit are shown above. View all ports for this commit)
Properly check USB errors using sys/errno.h.
Fri, 20 Oct 2017
[ 14:51 cy search for other commits by this committer ] Original commit   Revision:452531
Fix build with SERIAL option.

PR:		223122
[ 01:09 cy search for other commits by this committer ] Original commit   Revision:452496
Nut USB drivers report a "permission error" without visible reasons
for the error even though permissions are OK (or the driver is run
as root).

Nut uses libusb-0.1 API, assuming return cods of < 0. FreeBSD provides
a libusb-0.1 wrapper howerver it uses libusb-1.0 error codes (which
are negative). This set of patches "teaches" nut libusb-1.0 error codes
as produced by FreeBSD.

Network UPS Tools (networkupstools.org) has a project to use libusb-1.0.
This commit is a stopgap fix until our upline implments lubusb-1.0
support in nut.

PR:		223117
Submitted by:	lev

Number of commits found: 3