[Nut-upsuser] FreeNAS , NUT and APC BK500EI problem.

Huryn Adrian a at i-pi.pl
Wed Aug 7 15:12:19 UTC 2013


 

Hello to All. 

OS : FreeBSD NAS 9.1-STABLE FreeBSD 9.1-STABLE
[uname -a]
Version : Network UPS Tools upsd 2.6.5 [upsd -V]
Installation
method : build into FreeNAS 9
UPS : APC Back-UPS 500 BK500EI USB 

Today
i install FreeNAS and try to connect to it my UPS APC Back-UPS 500
BK500EI via USB with no luck;/ 

If anyone can try to help me I would be
grateful. 

My configs
nut.conf : 
MODE=standalone

ups.conf:
[ups]

driver = usbhid-ups 
 port = /dev/ugen0.2
 desc = "BackUPS CS 500"

My
info 
usbconfig list
ugen0.2: <Back-UPS CS 500 FW808.q10 .I USB FWq10
American Power Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps)
pwr=ON (2mA)

When i try to start it i get this :

/usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller
2.6.5
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
Driver failed to start (exit status=1)
/usr/local/etc/rc.d/nut:
WARNING: failed precmd routine for nut

 1.115408 Report[buf]: (3 bytes)
=> 33 0c 00
 1.115423 Path: UPS.PresentStatus.ff860080, Type: Input,
ReportID: 0x33, Offset: 12, Size: 1, Value: 0
 1.115430 Report[buf]: (3
bytes) => 33 0c 00
 1.115438 Path: UPS.PresentStatus.ff860080, Type:
Feature, ReportID: 0x33, Offset: 12, Size: 1, Value: 0
 1.118990
Report[get]: (3 bytes) => 60 00 00
 1.119025 Path:
UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, Offset: 0, Size:
16, Value: 0
 1.122998 Report[get]: (2 bytes) => 61 0a
 1.123078 Path:
UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, Offset: 0, Size:
8, Value: 10
 1.126991 Report[get]: (5 bytes) => 62 00 01 02 03

1.127026 Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62,
Offset: 0, Size: 32, Value: 0
 1.130990 Report[get]: (2 bytes) => 51 94

1.131024 Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID:
0x51, Offset: 0, Size: 8, Value: 148
 1.131060 Report descriptor
retrieved (Reportlen = 1217)
 1.131068 Found HID device
 1.131074
Detected a UPS: American Power Conversion/Back-UPS CS 500 FW:808.q10 .I
USB FW:q10 
 1.131116 Report[buf]: (2 bytes) => 0c 64
 1.131129 Path:
UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c,
Offset: 0, Size: 8, Value: 100
 1.131153 Report[buf]: (2 bytes) => 11
0a
 1.131174 Path: UPS.PowerSummary.RemainingCapacityLimit, Type:
Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
 1.131210
Report[buf]: (2 bytes) => 0f 32
 1.131216 Path:
UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0f,
Offset: 0, Size: 8, Value: 50
 1.131236 Report[buf]: (3 bytes) => 19 54
06
 1.131243 Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 1620
 1.131272 Report[buf]: (3 bytes)
=> 1a 78 00
 1.131278 Path: UPS.Battery.RemainingTimeLimit, Type:
Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 120
 1.131314
Report[buf]: (3 bytes) => 1d 47 05
 1.131324 Path: UPS.Battery.Voltage,
Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 13.51

1.131349 Report[buf]: (3 bytes) => 1f b0 04
 1.131355 Path:
UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x1f, Offset: 0,
Size: 16, Value: 12
 1.131381 Report[buf]: (3 bytes) => 1e cf 0b

1.131389 Path: UPS.Battery.Temperature, Type: Feature, ReportID: 0x1e,
Offset: 0, Size: 16, Value: 302.3
 1.131410 Report[buf]: (2 bytes) => 05
04
 1.131417 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature,
ReportID: 0x05, Offset: 0, Size: 8, Value: 4
 1.144027 Report[buf]: (3
bytes) => 15 2e 42
 1.144042 Path: UPS.Battery.ManufacturerDate, Type:
Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 16942
 1.144076
Report[buf]: (4 bytes) => 45 13 14 01
 1.144085 Path:
UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x45, Offset:
0, Size: 24, Value: 70675
 1.144109 Report[buf]: (3 bytes) => 2c fa 00

1.144118 Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x2c,
Offset: 0, Size: 16, Value: 25
 1.144205 Report[buf]: (3 bytes) => 12 ff
ff
 1.144214 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature,
ReportID: 0x12, Offset: 0, Size: 16, Value: -1
 1.144231 Report[buf]: (4
bytes) => 13 00 00 00
 1.144237 Path:
UPS.PowerSummary.DelayBeforeReboot, Type: Feature, ReportID: 0x13,
Offset: 0, Size: 24, Value: 0
 1.144287 Report[buf]: (3 bytes) => 28 00
00
 1.144296 Path: UPS.Output.DelayBeforeStartup, Type: Feature,
ReportID: 0x28, Offset: 0, Size: 16, Value: 0
 1.144373 Report[buf]: (2
bytes) => 16 06
 1.144382 Path: UPS.Battery.Test, Type: Feature,
ReportID: 0x16, Offset: 0, Size: 8, Value: 6
 1.144400 Report[buf]: (2
bytes) => 14 02
 1.144407 Path: UPS.PowerSummary.AudibleAlarmControl,
Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 2
 1.144427
Report[buf]: (3 bytes) => 35 2e 42
 1.144433 Path: UPS.ManufacturerDate,
Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 16942

1.144471 Report[buf]: (3 bytes) => 52 2c 01
 1.144479 Path:
UPS.Output.ConfigActivePower, Type: Feature, ReportID: 0x52, Offset: 0,
Size: 16, Value: 300
 1.144501 Report[buf]: (3 bytes) => 07 0c 00

1.144507 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x07, Offset: 2, Size: 1, Value: 1
 1.144533 Report[buf]: (3
bytes) => 07 0c 00
 1.144541 Path:
UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID:
0x07, Offset: 1, Size: 1, Value: 0
 1.144559 Report[buf]: (3 bytes) =>
07 0c 00
 1.144565 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0
 1.144580
Report[buf]: (3 bytes) => 07 0c 00
 1.144586 Path:
UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature,
ReportID: 0x07, Offset: 6, Size: 1, Value: 0
 1.144604 Report[buf]: (3
bytes) => 07 0c 00
 1.144609 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0
 1.144625
Report[buf]: (3 bytes) => 07 0c 00
 1.144631 Path:
UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x07,
Offset: 10, Size: 1, Value: 0
 1.144656 Report[buf]: (3 bytes) => 07 0c
00
 1.144664 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x07, Offset: 9, Size: 1, Value: 0
 1.144682
Report[buf]: (3 bytes) => 07 0c 00
 1.144688 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
ReportID: 0x07, Offset: 7, Size: 1, Value: 0
 1.144708 Report[buf]: (3
bytes) => 07 0c 00
 1.144714 Path:
UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID:
0x07, Offset: 3, Size: 1, Value: 1
 1.144800 Report[buf]: (2 bytes) =>
21 00
 1.144808 Path: UPS.Input.APCLineFailCause, Type: Feature,
ReportID: 0x21, Offset: 0, Size: 8, Value: 0
 1.144821 Report[buf]: (2
bytes) => 21 00
 1.144827 Path: UPS.Input.APCLineFailCause, Type:
Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 0
 1.144842
Report[buf]: (5 bytes) => 20 4c 09 00 00
 1.144848 Path:
UPS.Input.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 32,
Value: 238
 1.146989 libusb_get_report: Unknown error
 1.147004 Can't
retrieve Report 46: Input/output error
 1.147031 Can't initialize data
from HID UPS

Thanks for any help. Best regards.

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130807/f48eb1f9/attachment-0001.html>


More information about the Nut-upsuser mailing list