I try to put up a virtual system with FreeBSD to make the build, but this
will be slowly because I don't use FreeBSD and I'm starting from zero.
Anyway your patch seems appropiate for my problem, thanks to share.

Xavier

2012/9/13 <[email protected]>

> 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....@lists.alioth.debian.org[nut-upsuser-bounces+fredericbohe=
> [email protected]] on behalf of Xavier Garcia [
> [email protected]]
> Sent: Wednesday, September 12, 2012 9:00 PM
> To: [email protected]
> 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 ?
>
>
>
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to