I also am wondering if the message about libusb driver missing might be
the real problem.
Checking my system, I see this:
==================[root at mythtv dev]# ll /dev/bus/usb/001
total 0
crw-rw-r--+ 1 root root 189, 0 Nov 9 08:21 001
crw-rw-r--+ 1 root root 189, 1 Nov 9 08:21 002
crw-rw-r--+ 1 root root 189, 2 Nov 9 08:21 003
crw-rw-r--+ 1 root dialout 189, 3 Nov 10 09:43 004
=================
That looks to me like the udev rule worked.
==============Bill Gee
On 11/10/24 08:38, Charles Lepple via Nut-upsuser wrote:> On Nov 9, 2024, at 8:09?PM, Tim Dawson <tadawson at tpcsvc.com>
wrote:
>>
>> Check /dev/hidraw6, as noted in your dmesg output (and any other *hid*
>> devices under /dev). User nut has almost zero privs to devices unless
>> a udev rule changes the perms on the dev for nut . . .
>
> I admit I am not fully tracking the latest NUT developments, but I
don't
> think the current drivers use /dev/hidraw*, especially when the drivers
> mention libusb. (Once the libusb-based drivers start, they should detach
> the kernel's HID drivers such that the corresponding /dev/hidraw*
device
> disappears.)
>
> You are correct that the udev rules need to change permissions on one of
> the UPS /dev nodes, though.
>
> From Bill's lsusb output:
>
> [root at mythtv ups]# lsusb
> ...
> Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
>
> The libusb path for this UPS would typically be /dev/bus/usb/001/004
>
> --
> Charles Lepple
> clepple at gmail
>
>
>> _______________________________________________
>> Nut-upsuser mailing list
>> Nut-upsuser at alioth-lists.debian.net
>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser