[Nut-upsdev] liebertgxt2 patch for 2.6.0

Arnaud Quette aquette.dev at gmail.com
Fri Mar 25 17:09:04 UTC 2011


Hi Spiros, Farkas and Robert,

have you been able to test the new driver version, with combined patches?

cheers,
Arnaud

2011/3/6 Spiros Ioannou <sivann at gmail.com>

> 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/
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110325/f0500fbe/attachment.htm>


More information about the Nut-upsdev mailing list