[Nut-upsuser] Problem with APC Back-UPS CS 650 and FreeNAS 8.3.0 BETA 2

FredericBohe at Eaton.com FredericBohe at Eaton.com
Thu Sep 13 06:52:35 UTC 2012


Hello Xavier,

This issue seems very similar to another issue resolved a few days ago for Back-UPS ES.

Is it possible for you to get NUT source code ( svn co svn://anonscm.debian.org/nut/trunk ) then apply the attached patch and compile it ?
Then you could test the resulting binary and report back if it works for you.

Regards,
Fred

--
Eaton Opensource Team - http://opensource.eaton.com



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

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

________________________________________
From: nut-upsuser-bounces+fredericbohe=eaton.com at lists.alioth.debian.org [nut-upsuser-bounces+fredericbohe=eaton.com at lists.alioth.debian.org] on behalf of Xavier Garcia [xavier at xnaove.com]
Sent: Wednesday, September 12, 2012 9:00 PM
To: nut-upsuser at lists.alioth.debian.org
Subject: [Nut-upsuser] Problem with APC Back-UPS CS 650 and FreeNAS 8.3.0       BETA 2

Hi all !
I have a little problem using NUT from FreeNAS.

Operating system

FreeBSD 8.3-RELEASE-p4 (FreeNAS 8.3.0 BETA 2)

UPS

American Power Conversion/Back-UPS CS 650 FW:817.v7 .I USB FW:v7

NUT Driver

Network UPS Tools - Generic HID driver 0.37 (2.6.5)
USB communication driver 0.31

Trying to configure the UPS from FreeNAS failed so I try to investigate which is the problem.

Running "usr/local/libexec/nut/usbhid-ups -a SAI" I get this:

Network UPS Tools - Generic HID driver 0.37 (2.6.5)
USB communication driver 0.31
Using subdriver: APC HID 0.95
libusb_get_report: Unknown error
Can't initialize data from HID UPS

With -DD to get more information I found the problem:

   0.723737 Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x48, Offset: 0, Size: 32, Value: 0
   0.726114 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 32, Value: 242
   0.728599 libusb_get_report: Unknown error
   0.728715 Can't retrieve Report 46: Input/output error
   0.728739 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x46, Offset: 0, Size: 8
   0.731236 Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 8

Every time I run the driver I get the same "Can't retrieve Report 46: Input/output error."

Any thougths ?
Any possible workaround to bypass ReportID 0x46 ?
Anybody with the same UPS working nicely with NUT ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-back-ups-cs.diff
Type: text/x-diff
Size: 682 bytes
Desc: patch-back-ups-cs.diff
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120913/cf154a21/attachment.diff>


More information about the Nut-upsuser mailing list