[Nut-upsuser] Trouble getting Roline/Powercom UPS recognized

Charles Lepple clepple at gmail.com
Tue Jul 16 15:07:02 BST 2019


On Jul 16, 2019, at 9:50 AM, Patrick M. Hausen wrote:
> 
> Hi all,
> 
>> Am 16.07.2019 um 15:33 schrieb Charles Lepple <clepple at gmail.com>:
>> 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).


More information about the Nut-upsuser mailing list