Hello Denis, > From: nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org > [nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org] on > behalf of Denis Serov [dns-...@yandex.ru] > Sent: Thursday, August 30, 2012 7:39 PM > To: nut-upsuser@lists.alioth.debian.org > Subject: [Nut-upsuser] Data stale and Back UPS ES > > Hello! > > I tried NUT 2.6.5-1 (Windows port) with my APC Back UPS ES. It seems I have > configured NUT properly, nut-scanner found my UPS: > > [nutdev1] > driver = "usbhid-ups" > port = "auto" > vendorid = "051D" > productid = "0002" > product = "Back-UPS ES 525 FW:851.t3.I USB FW:t3" > serial = "8B0745R23575 " > vendor = "American Power Conversion" > bus = "bus-0" > > I see some errors: > 1. UPSMON/UPSC tools are returning "data stale": > > Network UPS Tools upsmon 2.6.5-3691:3709M > 0.000000 UPS: upsa@192.168.10.200 (master) (power value 1) > 0.012000 Using power down flag file /etc/killpower > 0.022001 debug level is '5' > 0.026001 Trying to connect to UPS [upsa@192.168.10.200] > 0.039002 Login on UPS [upsa@192.168.10.200] failed - got [ERR > ACCESS-DENIED] > 0.044002 Current power value: 1 > 0.047002 Minimum power value: 1 > 5.049289 pollups: upsa@192.168.10.200 > 5.055289 get_var: upsa@192.168.10.200 / status > 5.064289 Poll UPS [upsa@192.168.10.200] failed - Data stale > 5.075290 do_notify: ntype 0x0005 (COMMBAD) > 5.083290 Communications with UPS upsa@192.168.10.200 lost > ... > > What should I check to fix ACCESS-DENIED error? > > 2. UPSHID-UPS fails with output: > > Network UPS Tools - Generic HID driver 0.37 (2.6.5-3691:3709M) > USB communication driver 0.31 > 0.000000 debug level is '3' > 0.000000 upsdrv_initups... > 0.031200 Checking device (051D/0002) > (bus-0/\\.\libusb0-0001--0x051d-0x0002) > 0.109200 - VendorID: 051d > 0.109200 - ProductID: 0002 > 0.109200 - Manufacturer: American Power Conversion > 0.124800 - Product: Back-UPS ES 525 FW:851.t3.I USB FW:t3 > 0.124800 - Serial Number: 8B0745R23575 > 0.140400 - Bus: bus-0 > 0.140400 Trying to match device > 0.140400 Device matches > 0.187200 HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 > 78 04 > 0.202800 HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 > 78 04 > 0.218400 HID descriptor length 1144 > ... > 3.556806 Report[get]: (3 bytes) => 60 00 00 > 3.556806 Path: UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, > Offset: 0, Size: 16, Value: 0 > 3.588006 Report[get]: (2 bytes) => 61 89 > 3.588006 Path: UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, > Offset: 0, Size: 8, Value: 137 > 3.603606 Report[get]: (5 bytes) => 62 00 01 02 03 > 3.619206 Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62, > Offset: 0, Size: 32, Value: 5.0463e+007 > 3.634806 Report[get]: (2 bytes) => 51 84 > 3.634806 Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: > 0x51, Offset: 0, Size: 8, Value: 132 > 3.650406 Report descriptor retrieved (Reportlen = 1144) > 3.666007 Found HID device > 3.666007 Detected a UPS: American Power Conversion/Back-UPS ES 525 > FW:851.t3.I USB FW:t3 > 3.681607 libusb_get_report: libusb0-dll:err [control_msg] sending > control message failed, win error: A device attached to the system is not > functioning.
It seems that it is a libusb error. Can you give us the Windows version you are using please ? Does this happens with the embedded libusb driver (i.e. the driver installed with the NUT/others/wdi-simple.exe binary) or by a manual install of libusb (which version ?) ? > > 3.712807 Can't retrieve Report 0c: Input/output error [A device > attached to the system is not functioning. ] > 3.728407 Can't initialize data from HID UPS > > I installed different versions of libusb driver, but no success. > > The most interesting thing is that one of previous version (2.6.0-1 or > 2.6.1-1) returned real data from UPS. Any ideas? Very interesting. Same question as above, was it with the embedded libusb driver or a manual libusb driver install (and which version) ? Thanks for your feedback. Fred > > Thanks, > Denis > > > > ----------------------------- ----------------------------- _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser > -- Eaton Opensource Team - http://opensource.eaton.com _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser