[Nut-upsuser] LiebertPSP
Tim Gould
tgould at reverb.com.au
Tue Sep 27 19:45:23 UTC 2011
I'll quite happily experiment with this - however if you could give me a short-cut to the relevant part of the code that would be appreciated as no doubt you are way more familiar with it than me.
Thanks, Tim.
On 25/09/2011, at 7:29 , Charles Lepple wrote:
> On Sat, Sep 24, 2011 at 5:00 PM, Tim Gould <tgould at reverb.com.au> wrote:
>> -DDD output attached.
>
> Given that the ConfigVoltage should not change for a given UPS, this
> should be useful:
>
> 0.413040 Report[get]: (3 bytes) => 1d 11 01
> 0.413075 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID:
> 0x1d, Offset: 0, Size: 16, Value: 2.73e-06
> 0.417039 Report[get]: (3 bytes) => 1f 18 00
> 0.417063 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature,
> ReportID: 0x1f, Offset: 0, Size: 16, Value: 2.4e-07
> 0.421044 Report[get]: (2 bytes) => 07 0d
> 0.421080 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
> Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 1e-07
> 0.421096 Report[buf]: (2 bytes) => 07 0d
>
> If you multiply those values by 1e7, they should all be right. It
> looks like a misplaced exponent in the HID descriptor.
>
> --
> - Charles Lepple
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list