[Nut-upsuser] No USB/HID UPS found

Vladimir Botka vlado at botka.homeunix.org
Sat May 6 18:01:33 UTC 2006


Hello,

Help me please with *newhidups* setup. Does it work for someone on *BSD ?


Here is the data.
---------------------------------------------------------------

*** FreeBSD
root.srv# uname -a
FreeBSD xxxxxx.dyndns.info 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Tue Feb 8
07:38:22 UTC 2005
admin at temp.botka.homeunix.org:/usr/src/sys/i386/compile/SRV  i386

*** NUT ver.2.0.3
root.srv# ll /var/db/pkg/ | grep nut
drwxr-xr-x  2 root  wheel      512 May  6 19:53 nut-2.0.3
drwxr-xr-x  2 root  wheel      512 May  6 19:53 nut-usb-2.0.3

*** usbd can see the UPS on /dev/uhid0
root.srv# usbdevs -v -d -a 2
Controller /dev/usb0:
addr 2: low speed, self powered, config 1, Back-UPS CS 500 FW:808.q5.I USB
FW:q5(0x0002), American Power Conversion(0x051d), rev 0.06
   uhid0
Controller /dev/usb1:
Controller /dev/usb2:
Controller /dev/usb3:

*** HERE IS THE PROBLEM
root.srv# /usr/local/libexec/nut/newhidups -u root -DDDDD auto
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

debug level is '5'
No appropriate HID device found
No matching USB/HID UPS found

root.srv# /usr/local/libexec/nut/newhidups -a myups -u root -DDDDD /dev/uhid0
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

debug level is '5'
No appropriate HID device found
No matching USB/HID UPS found

root.srv# cat /usr/local/etc/nut/ups.conf
[myups]
         driver = newhidups
         port = /dev/uhid0
         desc = "Back-UPS CS 500"

------------------------------------------------------------------

Thank you for your afford.

Cheers,

  -vlado



More information about the Nut-upsuser mailing list