[Nut-upsuser] No USB/HID UPS found

Peter Selinger selinger at mathstat.dal.ca
Sat May 6 22:22:09 UTC 2006


Hi Vlado,

your issue seems to be an issue of lower-level USB support. Not only
does NUT fail to find your ups, but it fails to find *any* USB devices
or controllers. Normal output from "newhidups -u root -DDDDD auto" 
should look like this:

Network UPS Tools: New USB/HID UPS driver 0.28 (2.1.0)

debug level is '5'
Checking device (0000/0000) (003/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.11-1.1369_FC4 uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1d.1
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.11-1.1369_FC4 uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1d.0
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (04B3/310B) (002/002)
- VendorID: 04b3
- ProductID: 310b
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping

 [...]

No appropriate HID device found
No matching USB/HID UPS found

Perhaps you don't have libusb installed? Is "lsusb" showing anything
on your system? -- Peter

Vladimir Botka wrote:
> 
> 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
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> 




More information about the Nut-upsuser mailing list