Hi Arjen!

I attached the wrong and correct output , please check it.
The HEAD version liebert-esp2 driver give wrong output,but if you patch it
with my patch it will be correct.
In outputs.log focus on model,firmware,serial and mfr date values.

And I attached my patch earlier.

2010/7/6 Arjen de Korte <[email protected] <nut%[email protected]>>

> Citeren Robert Jobbagy <[email protected]>:
>
>
>  I checked out the HEAD rev and tried the liebert driver.
>> it gave wrong model,firmware,serial, mfr date value. caused by len
>> variable
>> in line 97 and after
>>
>
> If you provide the debug output, this will save us looking up the last time
> you posted the results.
>
>
>  I use my ups with usb -> serial converter.
>>
>
> Which one?
>
>
>  these patches attached
>>
>> Did you try the liebert-esp2 driver in ON Battery mode ?
>>
>
> I don't have one, so I can't tell.
>
>
>  Because If I switch my ups on battery (plugged off the input) then liebert
>> driver force shutdown PC and shutdown UPS.
>>
>
> In it's present state, the liebert-esp2 driver can't shutdown the UPS.
>
>
>  Battery is full charged. UPS doesnt recieve LOW BATTERY EVENT.
>>
>
> How old are the batteries? When was the last time you ran a battery test?
> This sounds more like a bad battery than a driver problem. Worn out
> batteries are a common cause of mishaps like these, where the batteries seem
> to be fine when not loaded (mains present), but fail under load (mains
> failure) within seconds.
>
>
>  the shutdown function is missing from liebert-esp2 driver, this is the
>> reason the force shutdown ?
>>
>
> The driver won't be able to shutdown the UPS if the upsdrv_shutdown
> function is not functional. If the UPS kills the output, it is not caused by
> NUT but most likely by the battery protection.
>
> Best regards, Arjen
> --
> Please keep list traffic on the list
>
>
> _______________________________________________
> Nut-upsdev mailing list
> [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>



-- 
Best Regards,

Robert
wrong output:

battery.charge: 100
battery.current: 0.00
battery.runtime: 59340
battery.temperature: 0.0
battery.voltage: 54.9
battery.voltage.nominal: 55.2
device.mfr: Liebert
device.model: GXT2-1000RT230
device.serial:        GXT
device.type: ups
driver.name: liebert-esp2
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.4.3-2462M
driver.version.internal: 0.02
input.bypass.voltage: 222.0
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 223.4
output.current: 0.3
output.frequency: 50.0
output.voltage: 230.4
ups.firmware: 
ups.load: 0
ups.mfr: Liebert
ups.mfr.date: 2MR1
ups.model: GXT2-1000RT230
ups.power: 0
ups.power.nominal: 1000
ups.realpower: 0
ups.serial:        GXT
ups.status: OL
ups.temperature: 25.0

correct output:

battery.charge: 100
battery.current: 0.00
battery.runtime: 59340
battery.temperature: 0.0
battery.voltage: 54.9
battery.voltage.nominal: 55.2
device.mfr: Liebert
device.model: GXT2-1000RT230
device.serial: 0602700035AF041
device.type: ups
driver.name: liebert-esp2
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.4.3-2462M
driver.version.internal: 0.02
input.bypass.voltage: 222.0
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 223.4
output.current: 0.3
output.frequency: 50.0
output.voltage: 230.4
ups.firmware: GXT2MR15D
ups.load: 0
ups.mfr: Liebert
ups.mfr.date: 24JAN06
ups.model: GXT2-1000RT230
ups.power: 0
ups.power.nominal: 1000
ups.realpower: 0
ups.serial: 0602700035AF041
ups.status: OL
ups.temperature: 25.0


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to