[Nut-upsuser] APC SmartUPS 3000VA LCD not connecting
Zach La Celle
lacelle at roboticresearch.com
Mon Mar 5 19:31:57 UTC 2012
Still getting the usbhid-ups Report 89 / Report 90 issues...output below.
Thanks,
-Zach
upsc output:
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.runtime: 4860
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 54.8
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Smart-UPS 3000
device.serial: XXXXXXXXXXXXXX
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0003
driver.parameter.vendorid: 051d
driver.version: 2.6.3-3484M
driver.version.data: APC HID 0.95
driver.version.internal: 0.36
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: UPS 06.5 / ID=18
ups.mfr: American Power Conversion
ups.mfr.date: 2011/08/19
ups.model: Smart-UPS 3000
ups.productid: 0003
ups.serial: XXXXXXXXXXXXX
ups.status: OL
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d
usbhid-ups output:
0.000000 debug level is '1'
0.000537 upsdrv_initups...
0.191729 interrupt pipe disabled (add 'pollonly' flag to 'ups.conf'
to get rid of this message)
0.194913 Using subdriver: APC HID 0.95
0.195737 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID:
0x01, Offset: 0, Size: 8, Value: 2
0.196738 Path: UPS.PowerSummary.iSerialNumber, Type: Feature,
ReportID: 0x02, Offset: 0, Size: 8, Value: 3
0.197733 Path: UPS.PowerSummary.iManufacturer, Type: Feature,
ReportID: 0x03, Offset: 0, Size: 8, Value: 1
0.198715 Path: UPS.PowerSummary.iOEMInformation, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 8, Value: 1
0.199732 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature,
ReportID: 0x05, Offset: 0, Size: 8, Value: 4
0.200732 Path: UPS.PowerSummary.Rechargeable, Type: Feature,
ReportID: 0x06, Offset: 0, Size: 8, Value: 1
0.200759 Path: UPS.PowerSummary.CapacityMode, Type: Feature,
ReportID: 0x06, Offset: 8, Size: 8, Value: 2
0.201736 Path: UPS.PowerSummary.DesignCapacity, Type: Feature,
ReportID: 0x0e, Offset: 0, Size: 8, Value: 100
0.201763 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature,
ReportID: 0x0e, Offset: 8, Size: 8, Value: 100
0.202744 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
0.202771 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature,
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
0.203738 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature,
ReportID: 0x10, Offset: 0, Size: 8, Value: 1
0.203764 Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature,
ReportID: 0x10, Offset: 8, Size: 8, Value: 1
0.204734 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature,
ReportID: 0x0f, Offset: 0, Size: 8, Value: 50
0.205734 Path: UPS.PowerSummary.RemainingCapacityLimit, Type:
Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
0.206738 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature,
ReportID: 0x09, Offset: 0, Size: 16, Value: 16147
0.207739 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0d, Offset: 0, Size: 16, Value: 4860
0.207766 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature,
ReportID: 0x0d, Offset: 0, Size: 16, Value: 4860
0.208521 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature,
ReportID: 0x12, Offset: 0, Size: 16, Value: -1
0.208718 Path: UPS.PowerSummary.DelayBeforeReboot, Type: Feature,
ReportID: 0x13, Offset: 0, Size: 24, Value: -1
0.209734 Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input,
ReportID: 0x08, Offset: 0, Size: 24, Value: 120
0.209761 Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature,
ReportID: 0x08, Offset: 0, Size: 24, Value: 120
0.210734 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature,
ReportID: 0x0a, Offset: 0, Size: 16, Value: 24
0.211736 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID:
0x0b, Offset: 0, Size: 16, Value: 54.8
0.212737 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Input,
ReportID: 0x14, Offset: 0, Size: 8, Value: 2
0.212762 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature,
ReportID: 0x14, Offset: 0, Size: 8, Value: 2
0.213738 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x07, Offset: 0, Size: 1, Value: 0
0.213765 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0
0.213779 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x07, Offset: 1, Size: 1, Value: 0
0.213792 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0
0.213804 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input,
ReportID: 0x07, Offset: 2, Size: 1, Value: 1
0.213817 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1
0.213829 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x07, Offset: 3, Size: 1, Value: 1
0.213841 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Feature, ReportID: 0x07, Offset: 3, Size: 1, Value: 1
0.213871 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x07, Offset: 4, Size: 1, Value: 0
0.213884 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0
0.213896 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x07, Offset: 5, Size: 1, Value: 0
0.213908 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Feature, ReportID: 0x07, Offset: 5, Size: 1, Value: 0
0.213920 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Input, ReportID: 0x07, Offset: 6, Size: 1, Value: 0
0.213931 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Feature, ReportID: 0x07, Offset: 6, Size: 1, Value: 0
0.213943 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x07, Offset: 7, Size: 1, Value: 0
0.213955 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
ReportID: 0x07, Offset: 7, Size: 1, Value: 0
0.213967 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x07, Offset: 8, Size: 1, Value: 0
0.213979 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Feature, ReportID: 0x07, Offset: 8, Size: 1, Value: 0
0.213991 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x07, Offset: 9, Size: 1, Value: 0
0.214003 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x07, Offset: 9, Size: 1, Value: 0
0.214015 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x07, Offset: 10, Size: 1, Value: 0
0.214026 Path: UPS.PowerSummary.PresentStatus.Overload, Type:
Feature, ReportID: 0x07, Offset: 10, Size: 1, Value: 0
0.214039 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x07, Offset: 11, Size: 1, Value: 0
0.214051 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Feature, ReportID: 0x07, Offset: 11, Size: 1, Value: 0
0.214063 Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input,
ReportID: 0x07, Offset: 12, Size: 1, Value: 0
0.214075 Path: UPS.PowerSummary.PresentStatus.ff860080, Type:
Feature, ReportID: 0x07, Offset: 12, Size: 1, Value: 0
0.214734 Can't retrieve Report 89: Broken pipe
0.214760 Path: UPS.ff8600fd, Type: Input, ReportID: 0x89, Offset: 0,
Size: 8
0.215733 Can't retrieve Report 90: Broken pipe
0.215758 Path: UPS.ff8600fc, Type: Output, ReportID: 0x90, Offset: 0,
Size: 8
Network UPS Tools - Generic HID driver 0.36 (2.6.3-3484M)
USB communication driver 0.31
0.215790 Detected a UPS: American Power Conversion/Smart-UPS 3000
FW:UPS 06.5 / ID=18
0.220100 upsdrv_initinfo...
0.220122 upsdrv_updateinfo...
0.220130 Not using interrupt pipe...
0.220137 Quick update...
0.220214 upsdrv_updateinfo...
0.220226 Not using interrupt pipe...
0.220233 Quick update...
...
On 03/05/2012 01:34 PM, Arnaud Quette wrote:
> 2012/3/5 Zach La Celle <lacelle at roboticresearch.com>:
>> Yes, I can test on trunk or on a patched version, but I cannot shut down
>> or restart this particular UPS during the day. Hopefully we won't need
>> to do that to figure out the Report 89 / Report 90 stuff.
>
> perfect.
> indeed, I just need a driver debug output + an upsc one.
> so, no shutdown ahead.
>
>> Would you like me to run off of stable or devel? Also, can I check out
>> stable with subversion/git, or should I just download it manually?
>
> $ svn co svn://anonscm.debian.org/nut/trunk
> $ cd trunk
> $ patch -p0 < /path/to/apc-skip-rpt.diff
> $ ./autogen.sh && ./configure --sysconfdir=/etc/nut
> --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut
> --with-drvpath=/lib/nut --with-pidpath=/var/run/nut
> --datadir=/usr/share/nut --with-pkgconfig-dir=/usr/lib/pkgconfig
> --with-user=nut --with-group=nut --without-all --with-usb
> $ make
> $ sudo ./drivers/usbhid-ups -D -a <devname>
>
> should be good.
> remember to stop the previous usbhid-ups instance (if needed) and to
> have upsd running.
> please send back both the driver output and an upsc output.
>
> cheers,
> Arno
More information about the Nut-upsuser
mailing list