[Nut-upsuser] nut 2.6.1 on OpenSolaris/OpenIndiana doesn't find Tripp-Lite ECO550 UPS
clepple at gmail.com
Thu Aug 25 13:46:58 UTC 2011
On Aug 25, 2011, at 9:29 AM, Charles Lepple wrote:
> On Aug 25, 2011, at 8:28 AM, Kostas Oikonomou <ko at research.att.com>
>> wiley$ pfexec /opt/nut/2.6.1/bin/usbhid-ups -DDDD -a eco550 -u root
>> Network UPS Tools - Generic HID driver 0.35 (2.6.1)
>> USB communication driver 0.31
>> 0.000000 debug level is '4'
>> 0.000336 upsdrv_initups...
>> 0.042451 Checking device (058F/6366) (/dev/usb/58f.6366/0)
>> 0.045164 - VendorID: 058f
>> 0.045203 - ProductID: 6366
>> 0.045236 - Manufacturer: Generic
>> 0.045268 - Product: Mass Storage Device
>> 0.045299 - Serial Number: 058F63666471
>> 0.045330 - Bus: /dev/usb
>> 0.045361 Trying to match device
>> 0.045399 Device does not match - skipping
>> 0.045446 No appropriate HID device found
>> 0.045486 No matching HID UPS found
> If this part of the log hasn't been trimmed, that means that libusb
> is not seeing your UPS. Which version of libusb do you have?
> IIRC, there is a test app in the libusb-0.1 distribution that prints
> information from a libusb bus scan (which may be slightly different
> from what the kernel sees). Can you try compiling and running that?
> Let us know if you run into trouble finding it.
Actually that may not be necessary - I forgot that Solaris' USB stack
is similar to *BSD.
Do you see the UPS listed in the kernel dmesg output (or equivalent)?
If so, is it a 'ugen*' or a 'uhid*' node? If it is not bound to the
ugen driver, libusb might not see it. I'm not sure if there's a way to
detach it from uhid at runtime, so there might be a kernel
configuration option to fix this.
More information about the Nut-upsuser