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

Charles Lepple clepple at gmail.com
Thu Sep 18 03:31:30 UTC 2014


On Sep 12, 2014, at 5:15 PM, Stan Gammons <sg063015 at gmail.com> wrote:

> On 09/11/14 22:34, Charles Lepple wrote:
>> 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?
> 
> # pkg_info
> ...
> libusb-compat-0.1.5 libusb-0.1 compatibility layer for libusb1
> libusb1-1.0.9p8     library for USB device access from userspace
> ...

Nothing looks strange in libusb-compat, but there is a possibility that you are getting "Function not implemented" from some strange combinations of flags being passed to libusb1.

Can you rebuild the libusb1 pkg as a port, with the DEBUG flag turned on?

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list