zaid_aj@telus.net wrote:>
> Hi Peter,
> I got all your patches and applied them, and I wanted to say kudos for a
> great job done.
> This is the output of upsc that I'm getting right now.
> I had the same issue when using any cvs version (from two weeks ago)
> that made my UPS go into a state where it wasn't functioning normally
> (checking the kernel log shows that it cannot be connected and I had
> around a page of DEVFS_USB errors and some -71 and -75 error codes) and
71: Protocol error
75: Value too large for defined data type
It was the 75 error code (it always occurred first) that gave away to
me what might be the problem.
> the only way I got it to show up again was to power the system and UPS
> down and unplug it for a few seconds, but with your patches, its working
> fine.
>
> battery.charge: 100
> battery.charge.low: 30
> battery.charge.warning: 30
> battery.runtime: 120
> battery.voltage.nominal: 12
> driver.name: newhidups
> driver.parameter.port: auto
> driver.version: 2.1.0
> driver.version.data: Belkin HID 0.1
> driver.version.internal: 0.27
> input.voltage: 119.6
> input.voltage.nominal: 120
> ups.beeper.status: enabled
> ups.delay.restart: 0
> ups.delay.shutdown: 0
> ups.devicechemistry: PbAc
> ups.firmware: -16
> ups.load: 43
> ups.mfr: Belkin
> ups.model: UPS
> ups.power.nominal: 550
> ups.serial: unknown
> ups.serial.internal:
> ups.status: OL CHRG
> ups.test.result: No test initiated
> ups.type: offline
> zzz.ups.belkinstatus.belkinbatterystatus: 00000010
> zzz.ups.belkinstatus.belkinpowerstatus: 0000c000
> zzz.ups.powersummary.capacitygranularity1: 1
> zzz.ups.powersummary.capacitygranularity2: 1
> zzz.ups.powersummary.capacitymode: 2
> zzz.ups.powersummary.configvoltage: 12
> zzz.ups.powersummary.current: 0
> zzz.ups.powersummary.designcapacity: 100
> zzz.ups.powersummary.fullchargecapacity: 100
> zzz.ups.powersummary.ioeminformation: Belkin
> zzz.ups.powersummary.iproduct: UPS
> zzz.ups.powersummary.rechargeable: 1
> zzz.ups.powersummary.remainingcapacity: 100
> zzz.ups.powersummary.voltage: 136
>
> It seems the ups.status doesn't show OL here, I tried unplugging the
UPS
I do see OL in your above listing. It should be generated by the
UPS.PowerSummary.ACPresent item.
> from the outlet and after a few seconds it shows it as OB Discharging so
> we know its updating the values, the same goes with the remaining
> capacity and runtime (they decrease when I run on UPS only).
>
> What level of debug do you want me to run newhidups with and post back
> its output?
I think -D -D is fine; I'd like to see your Usage tree again. I have
translated the one you posted on August 3 (below), but I'd like to see
if anything has changed. Your UPS seems to have fewer usages than mine.
I am also appending my own UPS's usage tree for reference.
----------------------------------------------------------------------
Zaid's F6C550-AVR UPS usage tree (reconstructed from earlier post):
Path: UPS.BELKINConfig.BELKINConfigApparentPower
Path: UPS.BELKINConfig.BELKINConfigBatteryVoltage
Path: UPS.BELKINDevice.BELKINModelString
Path: UPS.BELKINDevice.BELKINModelStringOffset
Path: UPS.BELKINDevice.BELKINUPSType
Path: UPS.BELKINControls.BELKINTest
Path: UPS.BELKINControls.BELKINAudibleAlarmControl
Path: UPS.BELKINControls.BELKINDelayBeforeShutdown
Path: UPS.BELKINControls.BELKINDelayBeforeStartup
Path: UPS.BELKINPowerState.BELKINInput.BELKINVoltage
Path: UPS.BELKINPowerState.BELKINOutput.BELKINPercentLoad
Path: UPS.BELKINBatterySystem.BELKINCharge
Path: UPS.BELKINStatus.BELKINPowerStatus
Path: UPS.BELKINStatus.BELKINBatteryStatus
Path: UPS.PowerSummary.iProduct
Path: UPS.PowerSummary.iSerialNumber
Path: UPS.PowerSummary.iDeviceChemistry
Path: UPS.PowerSummary.iOEMInformation
Path: UPS.PowerSummary.Rechargeable
Path: UPS.PowerSummary.Charging
Path: UPS.PowerSummary.Charging
Path: UPS.PowerSummary.Discharging
Path: UPS.PowerSummary.Discharging
Path: UPS.PowerSummary.ConfigVoltage
Path: UPS.PowerSummary.Voltage
Path: UPS.PowerSummary.Current
Path: UPS.PowerSummary.CapacityMode
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.RunTimeToEmpty
Path: UPS.PowerSummary.RunTimeToEmpty
Path: UPS.PowerSummary.DesignCapacity
Path: UPS.PowerSummary.FullChargeCapacity
Path: UPS.PowerSummary.WarningCapacityLimit
Path: UPS.PowerSummary.CapacityGranularity2
Path: UPS.PowerSummary.RemainingCapacityLimit
Path: UPS.PowerSummary.CapacityGranularity1
Path: UPS.PowerSummary.ACPresent
Path: UPS.PowerSummary.ACPresent
Path: UPS.PowerSummary.BelowRemainingCapacityLimit
Path: UPS.PowerSummary.BelowRemainingCapacityLimit
Path: UPS.PowerSummary.ShutdownImminent
Path: UPS.PowerSummary.ShutdownImminent
----------------------------------------------------------------------
Peter's F6C800-UNV UPS usage tree:
Path: UPS.BELKINConfig.BELKINConfigVoltage, Type: Feature, Value: 120.000000
Path: UPS.BELKINConfig.BELKINConfigFrequency, Type: Feature, Value: 60.000000
Path: UPS.BELKINConfig.BELKINConfigApparentPower, Type: Feature, Value:
800.000000
Path: UPS.BELKINConfig.BELKINConfigBatteryVoltage, Type: Feature, Value:
24.000000
Path: UPS.BELKINConfig.BELKINConfigOverloadTransfer, Type: Feature, Value:
100.000000
Path: UPS.BELKINConfig.BELKINLowVoltageTransfer, Type: Feature, Value: 90.000000
Path: UPS.BELKINConfig.BELKINLowVoltageTransferMax, Type: Feature, Value:
0.000000
Path: UPS.BELKINConfig.BELKINLowVoltageTransferMin, Type: Feature, Value:
0.000000
Path: UPS.BELKINConfig.BELKINHighVoltageTransfer, Type: Feature, Value:
136.000000
Path: UPS.BELKINConfig.BELKINHighVoltageTransferMax, Type: Feature, Value:
0.000000
Path: UPS.BELKINConfig.BELKINHighVoltageTransferMin, Type: Feature, Value:
1536.000000
Path: UPS.BELKINDevice.BELKINVoltageSensitivity, Type: Feature, Value: 1.000000
Path: UPS.BELKINDevice.BELKINModelString, Type: Feature, Value: 34.000000
Path: UPS.BELKINDevice.BELKINModelStringOffset, Type: Feature, Value: 0.000000
Path: UPS.BELKINDevice.BELKINUPSType, Type: Feature, Value: 65.000000
Path: UPS.BELKINControls.BELKINTest, Type: Feature, Value: 1.000000
Path: UPS.BELKINControls.BELKINAudibleAlarmControl, Type: Feature, Value:
2.000000
Path: UPS.BELKINControls.BELKINLoadOn, Type: Feature, Value: 0.000000
Path: UPS.BELKINControls.BELKINLoadOff, Type: Feature, Value: 0.000000
Path: UPS.BELKINControls.BELKINLoadToggle, Type: Feature, Value: 0.000000
Path: UPS.BELKINControls.BELKINDelayBeforeShutdown, Type: Feature, Value:
2.000000
Path: UPS.BELKINControls.BELKINDelayBeforeStartup, Type: Feature, Value:
0.000000
Path: UPS.BELKINControls.BELKINDefaultShutdown, Type: Feature, Value: 0.000000
Path: UPS.BELKINPowerState.BELKINInput.BELKINVoltage, Type: Feature, Value:
1136.000000
Path: UPS.BELKINPowerState.BELKINInput.BELKINFrequency, Type: Feature, Value:
599.000000
Path: UPS.BELKINPowerState.BELKINOutput.BELKINVoltage, Type: Feature, Value:
1143.000000
Path: UPS.BELKINPowerState.BELKINOutput.BELKINFrequency, Type: Feature, Value:
599.000000
Path: UPS.BELKINPowerState.BELKINOutput.BELKINPower, Type: Feature, Value:
250.000000
Path: UPS.BELKINPowerState.BELKINOutput.BELKINPercentLoad, Type: Feature, Value:
0.000000
Path: UPS.BELKINBatterySystem.00860060, Type: Feature, Value: 16.000000
Path: UPS.BELKINBatterySystem.BELKINVoltage, Type: Feature, Value: 267.000000
Path: UPS.BELKINBatterySystem.BELKINCharge, Type: Feature, Value: 91.000000
Path: UPS.BELKINStatus.BELKINPowerStatus, Type: Feature, Value: 32768.000000
Path: UPS.BELKINStatus.BELKINBatteryStatus, Type: Feature, Value: 16.000000
Path: UPS.BELKINDevice.00860031, Type: Feature, Value: 0.000000
Path: UPS.BELKINDevice.BELKINFrequency, Type: Feature, Value: 0.000000
Path: UPS.BELKINDevice.00860033, Type: Feature, Value: 0.000000
Path: UPS.BELKINDevice.BELKINPower, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 20.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 46.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 36.000000
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.Rechargeable, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.Charging, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.Charging, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.Discharging, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.Discharging, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, Value: 11361.000000
Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.Voltage, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.Current, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 210.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, Value: 210.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, Value: 50.000000
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, Value: 30.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.ACPresent, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.ACPresent, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.ShutdownImminent, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, Value: 0.000000