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

2022-10-04 Thread Jim Klimov via Nut-upsuser
As for startup - yes, it was always the case that drivers and upsd (data server) start separately even if on the same machine. They may be owned by different user accounts crossing paths just for the pipe interaction (by being in the same group with RW access to driver's pipe file) and not

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

2022-10-03 Thread Marc-André Harbec via Nut-upsuser
I found the solution, thanks to both of you for suggesting `ktrace`! I know it's been a couple of months, but it was just a side project and I finally got time to get back to it. And I thought it would maybe help others by putting my findings into the mailing archive. With `ktrace`, I was able

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

2022-10-03 Thread Greg Troxel
Glad you got it working. Marc-André Harbec 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

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

2022-08-11 Thread Greg Troxel
Charles Lepple via Nut-upsuser writes: > If that fails, I'd recommend using ktrace to find out what is failing, > such that you get the "no USB buses found" error. Definitely. I would actually recommend ktrace first. Then just `kdump | egrep NAMI` will probably find the issue fast. I use

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

2022-08-10 Thread Charles Lepple via Nut-upsuser
On Aug 10, 2022, at 9:15 PM, Marc-André Harbec via Nut-upsuser wrote: > # These are all the USB devices on my machine > ❯ doas ls -l /dev/usb* > crw-r- 1 root usb 61, 0 Jun 24 16:21 /dev/usb0 > crw-r- 1 root usb 61, 1 Jun 24 16:21 /dev/usb1 > crw-r- 1 root usb 61, 2

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

2022-08-10 Thread Marc-André Harbec via Nut-upsuser
Hi everyone, I have a problem trying to configure NUT with a Eaton 5S1500LCD on OpenBSD. It is listed as supported (https://networkupstools.org/ddl/Eaton/5S1500LCD.html) with the driver `usbhid-ups`, from at least version 2.6.4 and upward. The OpenBSD that I have is 7.1. I installed NUT via