[Nut-upsuser] APC SmartUPS 3000VA LCD not connecting

Zach La Celle lacelle at roboticresearch.com
Wed Mar 7 17:29:39 UTC 2012


On 3/7/2012 11:53 AM, Arnaud Quette wrote:
> 2012/3/5 Zach La Celle<lacelle at roboticresearch.com>:
>> Still getting the usbhid-ups Report 89 / Report 90 issues...output below.
> hem, there was a bug in the developer, mixing hexa and decimal :-/
> the reportIDs are really hexa!
>
> a better patch is attached, same data needed than before please.
>
> cheers,
> Arno

Looks like you have good hex for the reportIDs at the bottom of 
usbhid-ups output.

usbhid-ups output:
    0.000000    debug level is '1'
    0.000563    upsdrv_initups...
    0.181568    interrupt pipe disabled (add 'pollonly' flag to 
'ups.conf' to get rid of this message)
    0.184749    Using subdriver: APC HID 0.95
    0.185578    Path: UPS.PowerSummary.iProduct, Type: Feature, 
ReportID: 0x01, Offset: 0, Size: 8, Value: 2
    0.186577    Path: UPS.PowerSummary.iSerialNumber, Type: Feature, 
ReportID: 0x02, Offset: 0, Size: 8, Value: 3
    0.187573    Path: UPS.PowerSummary.iManufacturer, Type: Feature, 
ReportID: 0x03, Offset: 0, Size: 8, Value: 1
    0.188602    Path: UPS.PowerSummary.iOEMInformation, Type: Feature, 
ReportID: 0x04, Offset: 0, Size: 8, Value: 1
    0.189599    Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, 
ReportID: 0x05, Offset: 0, Size: 8, Value: 4
    0.190578    Path: UPS.PowerSummary.Rechargeable, Type: Feature, 
ReportID: 0x06, Offset: 0, Size: 8, Value: 1
    0.190604    Path: UPS.PowerSummary.CapacityMode, Type: Feature, 
ReportID: 0x06, Offset: 8, Size: 8, Value: 2
    0.191575    Path: UPS.PowerSummary.DesignCapacity, Type: Feature, 
ReportID: 0x0e, Offset: 0, Size: 8, Value: 100
    0.191602    Path: UPS.PowerSummary.FullChargeCapacity, Type: 
Feature, ReportID: 0x0e, Offset: 8, Size: 8, Value: 100
    0.192581    Path: UPS.PowerSummary.RemainingCapacity, Type: Input, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    0.192607    Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    0.193575    Path: UPS.PowerSummary.CapacityGranularity1, Type: 
Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 1
    0.193602    Path: UPS.PowerSummary.CapacityGranularity2, Type: 
Feature, ReportID: 0x10, Offset: 8, Size: 8, Value: 1
    0.194577    Path: UPS.PowerSummary.WarningCapacityLimit, Type: 
Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 50
    0.195577    Path: UPS.PowerSummary.RemainingCapacityLimit, Type: 
Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
    0.196579    Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, 
ReportID: 0x09, Offset: 0, Size: 16, Value: 16147
    0.197580    Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, 
ReportID: 0x0d, Offset: 0, Size: 16, Value: 4860
    0.197607    Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, 
ReportID: 0x0d, Offset: 0, Size: 16, Value: 4860
    0.198599    Path: UPS.PowerSummary.DelayBeforeShutdown, Type: 
Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: -1
    0.199597    Path: UPS.PowerSummary.DelayBeforeReboot, Type: Feature, 
ReportID: 0x13, Offset: 0, Size: 24, Value: -1
    0.200575    Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input, 
ReportID: 0x08, Offset: 0, Size: 24, Value: 120
    0.200602    Path: UPS.PowerSummary.RemainingTimeLimit, Type: 
Feature, ReportID: 0x08, Offset: 0, Size: 24, Value: 120
    0.201576    Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, 
ReportID: 0x0a, Offset: 0, Size: 16, Value: 24
    0.202576    Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 
0x0b, Offset: 0, Size: 16, Value: 54.8
    0.203575    Path: UPS.PowerSummary.AudibleAlarmControl, Type: Input, 
ReportID: 0x14, Offset: 0, Size: 8, Value: 2
    0.203601    Path: UPS.PowerSummary.AudibleAlarmControl, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 2
    0.204577    Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Input, ReportID: 0x07, Offset: 0, Size: 1, Value: 0
    0.204604    Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0
    0.204618    Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Input, ReportID: 0x07, Offset: 1, Size: 1, Value: 0
    0.204630    Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0
    0.204643    Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Input, ReportID: 0x07, Offset: 2, Size: 1, Value: 1
    0.204655    Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1
    0.204667    Path: UPS.PowerSummary.PresentStatus.BatteryPresent, 
Type: Input, ReportID: 0x07, Offset: 3, Size: 1, Value: 1
    0.204679    Path: UPS.PowerSummary.PresentStatus.BatteryPresent, 
Type: Feature, ReportID: 0x07, Offset: 3, Size: 1, Value: 1
    0.204708    Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x07, Offset: 4, Size: 1, Value: 0
    0.204721    Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0
    0.204733    Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, 
Type: Input, ReportID: 0x07, Offset: 5, Size: 1, Value: 0
    0.204745    Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, 
Type: Feature, ReportID: 0x07, Offset: 5, Size: 1, Value: 0
    0.204757    Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, 
Type: Input, ReportID: 0x07, Offset: 6, Size: 1, Value: 0
    0.204769    Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, 
Type: Feature, ReportID: 0x07, Offset: 6, Size: 1, Value: 0
    0.204781    Path: 
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, 
ReportID: 0x07, Offset: 7, Size: 1, Value: 0
    0.204793    Path: 
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, 
ReportID: 0x07, Offset: 7, Size: 1, Value: 0
    0.204805    Path: UPS.PowerSummary.PresentStatus.CommunicationLost, 
Type: Input, ReportID: 0x07, Offset: 8, Size: 1, Value: 0
    0.204816    Path: UPS.PowerSummary.PresentStatus.CommunicationLost, 
Type: Feature, ReportID: 0x07, Offset: 8, Size: 1, Value: 0
    0.204828    Path: UPS.PowerSummary.PresentStatus.NeedReplacement, 
Type: Input, ReportID: 0x07, Offset: 9, Size: 1, Value: 0
    0.204840    Path: UPS.PowerSummary.PresentStatus.NeedReplacement, 
Type: Feature, ReportID: 0x07, Offset: 9, Size: 1, Value: 0
    0.204852    Path: UPS.PowerSummary.PresentStatus.Overload, Type: 
Input, ReportID: 0x07, Offset: 10, Size: 1, Value: 0
    0.204864    Path: UPS.PowerSummary.PresentStatus.Overload, Type: 
Feature, ReportID: 0x07, Offset: 10, Size: 1, Value: 0
    0.204876    Path: 
UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, 
ReportID: 0x07, Offset: 11, Size: 1, Value: 0
    0.204888    Path: 
UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, 
ReportID: 0x07, Offset: 11, Size: 1, Value: 0
    0.204901    Path: UPS.PowerSummary.PresentStatus.ff860080, Type: 
Input, ReportID: 0x07, Offset: 12, Size: 1, Value: 0
    0.204913    Path: UPS.PowerSummary.PresentStatus.ff860080, Type: 
Feature, ReportID: 0x07, Offset: 12, Size: 1, Value: 0
Network UPS Tools - Generic HID driver 0.36 (2.6.3-3484M)
USB communication driver 0.31
    0.204940    Detected a UPS: American Power Conversion/Smart-UPS 3000 
FW:UPS 06.5 / ID=18
    0.208954    upsdrv_initinfo...
    0.208977    upsdrv_updateinfo...
    0.208985    Not using interrupt pipe...
    0.208992    Quick update...
    0.209068    upsdrv_updateinfo...
    0.209079    Not using interrupt pipe...
    0.209086    Quick update...
    2.210997    upsdrv_updateinfo...
    2.211032    Not using interrupt pipe...
    2.211043    Quick update...
    4.213058    upsdrv_updateinfo...
    4.213090    Not using interrupt pipe...
    4.213102    Quick update...
    6.215124    upsdrv_updateinfo...
    6.215164    Not using interrupt pipe...
    6.215175    Quick update...
    8.217186    upsdrv_updateinfo...
    8.217223    Not using interrupt pipe...
    8.217235    Quick update...
   10.218117    upsdrv_updateinfo...
   10.218152    Not using interrupt pipe...
   10.218177    Quick update...
   12.218243    upsdrv_updateinfo...
   12.218280    Not using interrupt pipe...
   12.218293    Quick update...
   14.220306    upsdrv_updateinfo...
   14.220339    Not using interrupt pipe...
   14.220351    Quick update...
   16.221319    upsdrv_updateinfo...
   16.221354    Not using interrupt pipe...
   16.221367    Quick update...
   18.223380    upsdrv_updateinfo...
   18.223413    Not using interrupt pipe...
   18.223425    Quick update...
   20.225441    upsdrv_updateinfo...
   20.225472    Not using interrupt pipe...
   20.225485    Quick update...
   22.226606    upsdrv_updateinfo...
   22.226643    Not using interrupt pipe...
   22.226655    Quick update...
   24.228231    upsdrv_updateinfo...
   24.228270    Not using interrupt pipe...
   24.228282    Quick update...
   26.230292    upsdrv_updateinfo...
   26.230326    Not using interrupt pipe...
   26.230339    Quick update...
   28.231238    upsdrv_updateinfo...
   28.231271    Not using interrupt pipe...
   28.231307    Quick update...
   30.233299    upsdrv_updateinfo...
   30.233333    Not using interrupt pipe...
   30.233344    Quick update...
   32.235360    upsdrv_updateinfo...
   32.235397    Not using interrupt pipe...
   32.235410    Full update...

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: XXXXXXXXXXXX
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: XXXXXXXXXXXX
ups.status: OL
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d

Thanks,

-Zach



More information about the Nut-upsuser mailing list