[Nut-upsuser] Nut 2.7.2 on OpenBSD 5.6 with APC USB UPS

Charles Lepple clepple at gmail.com
Fri Sep 12 03:34:52 UTC 2014


On Sep 11, 2014, at 11:04 PM, Stan Gammons <sg063015 at gmail.com> wrote:

> I see a libusb_get_interrupt message in the log. Could that be the problem?

Yes, it seems related.

   1.126896	upsdrv_initinfo...
   1.126906	upsdrv_updateinfo...
   1.127023	libusb_get_interrupt: Function not implemented
   1.127030	Got 0 HID objects...
   1.127036	Quick update...

Come to think of it, this might also depend on how OpenBSD provides libusb-0.1. What version of libusb-compat do you have?

However, checking the rest of the log, it seems like there are no errors during the "Quick update" portion, which should provide AC status updates (among others) every two seconds.

Can you can do a test where you power off the AC to the UPS? (I'd advise using a power strip, PDU, or circuit breaker to keep the ground connected, rather than pulling the plug completely.)

If so, same test, but "-DD" should suffice, and record the time (first column of the log is seconds since the start) when you toggle the power. Let it go for at least 30 seconds, so  it will eventually show up in the "Full update".

The OB/OL status is controlled by this line:

 [time]	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list