<div dir="auto">Hello, sorry and puzzled to hear about that.<div dir="auto"><br></div><div dir="auto">My guess would be permissions - while nut-scanner remains `root` (if started as one) and sees everything, drivers default to dropping privileges and may not see the devfs nodes (not sure OTOH which paths are involved on OpenBSD). One experimental workaround can be adding `user=root` to `ups.conf` entry for the device. But properly - tame whichever subsystem is responsible for that (devd?) to let the packaged run-time user see the device node.</div><div dir="auto"><br></div><div dir="auto">Also to cobfirm tge hypothesis, you can run the driver start attempt with higher debug verbosity, e.g.</div><div dir="auto"><br></div><div dir="auto">:; <span style="font-size:12.8px">upsdrvctl -DDDDDD -d start</span></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Feb 10, 2025, 15:55 Ben Short <<a href="mailto:ben@benshort.co.uk">ben@benshort.co.uk</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">Hi,<br>
<br>
I'm trying to get NUT running.<br>
<br>
I've installed it with pkg_add nut<br>
<br>
I can see my UPS as follows:<br>
<br>
# nut-scanner<br>
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search <br>
disabled.<br>
Cannot load XML library (libneon.so) : file not found. XML search disabled.<br>
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI <br>
search disabled.<br>
Scanning USB bus.<br>
No start IP, skipping NUT bus (old connect method)<br>
Scanning NUT simulation devices.<br>
[nutdev-usb1]<br>
         driver = "usbhid-ups"   # alternately: apc_modbus<br>
         port = "auto"<br>
         vendorid = "051D"<br>
         productid = "0003"<br>
         product = "Smart-UPS X 2200 FW:UPS 07.4 / ID=01003"<br>
         serial = "AS2039254737"<br>
         vendor = "American Power Conversion"<br>
         # bus = "000"<br>
         # device = "005"<br>
         # busport = "004"<br>
<br>
I've added the details to /etc/nut/ups.conf<br>
<br>
But get the following error:<br>
<br>
# upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.8.2<br>
Network UPS Tools - Generic HID driver 0.53 (2.8.2)<br>
USB communication driver (libusb 1.0) 0.47<br>
libusb1: Could not open any HID devices: no USB buses found<br>
No matching HID UPS found<br>
upsnotify: failed to notify about state 4: no notification tech defined, <br>
will not spam more about it<br>
Driver failed to start (exit status=1)<br>
<br>
Any ideas?<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>