[Nut-upsdev] liebertgxt2 patch for 2.6.0
Spiros Ioannou
sivann at gmail.com
Sun Mar 6 14:07:05 UTC 2011
Good, I'll test the combined one soon and report back.
Actually from my code input, (values per phase, bitgroups, statuses,
multipliers), the only thing that is not future-proof is the value
multiplier detection which differs between models. I've written a
switch() to distinguish between GXT-2 and NXe (I own both). This has
to be expanded for more models, if those models use different
multipliers than the above.
Also, I have not tested the shutdown commands (provided by R.Jobbagy)
in the NXe since I am affraid it might change the device's internal
shutdown-related timers (like restart after X seconds after power
restored, or restart on X% bat charge) which can be set only using a
liebert-provided software (that they don't give out).
I'd be happy to test if somebody can provide me with this liebert-ups
configuration program. (It was a windows, not-java based software as I
remember).
-Spiros Ioannou
On Tue, Mar 1, 2011 at 16:40, Arnaud Quette <aquette.dev at gmail.com> wrote:
>
> 2011/3/1 Farkas Levente <lfarkas at lfarkas.org>
>>
>> hi,
>> as Spiros i attached the full c file and the patch to the 2.6.0 too.
>> choose anyone you like.
>
> thanks for the clarification.
> I've applied the patch (r2913), with few changes:
> - remove 2 C++ style comments,
> - rework indentation (prefer tabs over spaces),
> - remove "#define sivann", not needed.
>
> In case of doubt, refer to the NUT developer guide, and the "Information for
> developers" section:
> http://www.networkupstools.org/docs/developer-guide.chunked/ar01s03.html
>
> finally, note that you may want to bump to DRV_BETA instead of
> DRV_EXPERIMENTAL...
>
> thanks for your contribution,
> Arnaud
> --
> Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
> Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
> Debian Developer - http://www.debian.org
> Free Software Developer - http://arnaud.quette.free.fr/
>
>
More information about the Nut-upsdev
mailing list