On Jul 16, 2019, at 9:50 AM, Patrick M. Hausen wrote:
> 
> Hi all,
> 
>> Am 16.07.2019 um 15:33 schrieb Charles Lepple <[email protected]>:
>> There may be an issue with the uhid driver binding to the device. I can't 
>> remember which versions of FreeBSD this affects, though.
> 
> Unloaded the kmod - did not change anything. But I will configure
> devd not to load uhid.ko ever, just to be sure. You are implying Ithe uhid 
> driver
> should not be present, correct?

Again, not sure whether or not uhid is definitively a problem, but libusb (0.1 
and 1.0) uses ugen.

> 
>> We have another branch that uses the libusb-1.0 API: 
>> https://github.com/networkupstools/nut/issues/300
> 
> I will compile and try this one and report back.
> 
>> This is the case where the libusb-1.0 API might provide better error 
>> messages. These might be related to permissions - check to see if the 
>> /dev/ugen0.6 node is writable by the NUT user/group. (There should be a 
>> devd.conf file installed under /usr/local to make this work.)
> 
> I’m running my tests as root. The device is rw-rw——, root, uucp.

uucp and group-writable is probably sufficient. Note that if started as root, 
the drivers drop privileges to the nut user (which the *BSD ports trees usually 
configure as group uucp).
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to