[Nut-upsuser] APC Question...

Peter Selinger selinger at mathstat.dal.ca
Fri Jan 12 21:49:56 CET 2007


Hi Richard,

This is bizarre. Using -DD, you should get more output between "debug
level is '2'" and "No appropriate HID device found". You should at
least get something like:

debug level is '2'
Checking device (0000/0000) (005/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.11-1.1369_FC4 uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1d.3
- Bus: 005
Trying to match device
Device does not match - skipping

....

It looks like in your setup, newhidups (and therefore libusb) is
seeing no USB devices at all, never mind your UPS.

Could you refresh my memory about your operating system, kernel
version, libusb version, and contents of "ls -lR /proc/bus/usb"?
Perhaps you need to mount your USB filesystem.
Does "mount" show a line such as the following?

usbfs on /proc/bus/usb type usbfs (rw)

If not, try "mount -t usbfs usbfs /proc/bus/usb"

-- Peter 

richard at connections.yk.ca wrote:
> 
> >> Solution is to upgrade to nut-2.0.5-pre2.
> >
> > right, I've missed that one. thanks Arjen.
> > btw, the final 2.0.5 will be out either this afternoon, or on monday.
> 
> Greetings:
> 
> I've been reading this page in configuring my BackUPS 650ES:
> 
> http://www.mscs.dal.ca/~selinger/ups/backups.html
> 
> I get the same results using 2.0.5-pre2 as I was with 2.0.4 when I get to
> this stage:
> 
> root at excalibur:/usr/src/nut-2.0.5-pre2# ./drivers/newhidups -u root -DD -a
> apc
> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30
> (2.0.5-pre2)
> 
> debug level is '2'
> No appropriate HID device found
> No matching HID UPS found
> root at excalibur:/usr/src/nut-2.0.5-pre2#
> 
> When I use hidups, I get results, although they're odd, but at least my
> UPS is recognized...
> 
> root at excalibur:/usr/src/nut-2.0.5-pre2# ./drivers/hidups -u root -DD -a apc
> Network UPS Tools: HID UPS driver 0.13 (2.0.5-pre2)
> 
> Warning: This is an experimental driver.
> Some features may not function correctly.
> 
> debug level is '2'
> Detected APC Back-UPS ES 650 FW:818.w1.D USB FW:w1
> on port /dev/usb/hiddev0
> addhidvalue(850066, battery.charge): obtained 100
> addhidvalue(850068, battery.runtime): obtained 1005
> addhidvalue(840035, ups.load): obtained 35
> Ignoring x86 page event 0xff860060 (8)
> Ignoring x86 page event 0xff860060 (8)
> 
> IS the full release of 2.0.5 likely to solve the issues I'm having with
> newhidups?..
> 
> Thanks,
> Richard.
> 
> 
> 
> 
> _______________________________________________
> 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