[Nut-upsuser] NUT can't connect to USB UPS on OpenBSD

Greg Troxel gdt at lexort.com
Tue Oct 4 00:03:47 BST 2022


Glad you got it working.


Marc-André Harbec <maharbec at gmail.com> writes:

> Also, I found I had to manually start the USB driver. In my case:
> `usbhid-ups`. I don't know if it's something that needs to be done on
> all platforms (or it's OpenBSD specific), but I haven't read anything
> on this in the official documentation. The `upsd` daemon won't start
> if the driver is not already running, and it won't spawn it itself. I
> had too create my own service file for it:
>
>     $ cat /etc/rc.d/usbhid_ups
>     #!/bin/ksh

In pkgsrc (and hence on NetBSD), there is a /etc/rc.d/upsdriver and that
seems to run something that looks in /usr/pkg/etc/nut/ups.conf.   I have
a Best unit and that starts it at boot.   So you could perhaps create a
generic driver rcfile and use 'upsdrvctl start'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221003/467026b8/attachment.sig>


More information about the Nut-upsuser mailing list