[Nut-upsdev] liebertgxt2 patch for 2.6.0

Farkas Levente lfarkas at lfarkas.org
Fri Mar 25 17:19:02 UTC 2011


it's working for us.

On 03/25/2011 06:09 PM, Arnaud Quette wrote:
> 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 <mailto: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
>     <mailto:aquette.dev at gmail.com>> wrote:
>     >
>     > 2011/3/1 Farkas Levente <lfarkas at lfarkas.org
>     <mailto: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/
>     >
>     >
> 
> 


-- 
  Levente                               "Si vis pacem para bellum!"



More information about the Nut-upsdev mailing list