<div dir="ltr"><div>Can you try starting the driver with higher debug verbosity to see more details, e.g. add `debug_min = 6` to the `ups.conf` section, or stop the auto-starting driver attempts and run the driver program with CLI options?</div><div><br></div><div>* <a href="https://github.com/networkupstools/nut/wiki/Changing-NUT-daemon-debug-verbosity">https://github.com/networkupstools/nut/wiki/Changing-NUT-daemon-debug-verbosity</a></div><div><br></div><div>With `upsdrvctl` driven attempts, you may also be in conflict with a generated `nut-driver@cyberpower.service` instance (although this is not the only problem, as the unit seems to fail starting for you too), more details about such units at:<br></div><div><br></div><div>* <a href="https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE)">https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE)</a></div><div><br></div><div>Jim</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 10, 2024 at 4:47 PM Bill Gee <<a href="mailto:bgee@campercaver.net">bgee@campercaver.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I also am wondering if the message about libusb driver missing might be <br>
the real problem.<br>
<br>
Checking my system, I see this:<br>
<br>
===================<br>
[root@mythtv dev]# ll /dev/bus/usb/001<br>
total 0<br>
crw-rw-r--+ 1 root root    189, 0 Nov  9 08:21 001<br>
crw-rw-r--+ 1 root root    189, 1 Nov  9 08:21 002<br>
crw-rw-r--+ 1 root root    189, 2 Nov  9 08:21 003<br>
crw-rw-r--+ 1 root dialout 189, 3 Nov 10 09:43 004<br>
==================<br>
<br>
That looks to me like the udev rule worked.<br>
<br>
===============<br>
Bill Gee<br>
<br>
On 11/10/24 08:38, Charles Lepple via Nut-upsuser wrote:<br>
> On Nov 9, 2024, at 8:09 PM, Tim Dawson <<a href="mailto:tadawson@tpcsvc.com" target="_blank">tadawson@tpcsvc.com</a>> wrote:<br>
>><br>
>> Check /dev/hidraw6, as noted in your dmesg output (and any other *hid* <br>
>> devices under /dev). User nut has almost zero privs to devices unless <br>
>> a udev rule changes the perms on the dev for nut . . . <br>
> <br>
> I admit I am not fully tracking the latest NUT developments, but I don't <br>
> think the current drivers use /dev/hidraw*, especially when the drivers <br>
> mention libusb. (Once the libusb-based drivers start, they should detach <br>
> the kernel's HID drivers such that the corresponding /dev/hidraw* device <br>
> disappears.)<br>
> <br>
> You are correct that the udev rules need to change permissions on one of <br>
> the UPS /dev nodes, though.<br>
> <br>
>  From Bill's lsusb output:<br>
> <br>
> [root@mythtv ups]# lsusb<br>
> ...<br>
> Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS<br>
> <br>
> The libusb path for this UPS would typically be /dev/bus/usb/001/004<br>
> <br>
> -- <br>
> Charles Lepple<br>
> clepple@gmail<br>
> <br>
> <br>
>> _______________________________________________<br>
>> Nut-upsuser mailing list<br>
>> <a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
>> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Nut-upsuser mailing list<br>
> <a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>