Hi Arjen!<div><br></div><div>I attached the wrong and correct output , please check it.</div><div>The HEAD version liebert-esp2 driver give wrong output,but if you patch it with my patch it will be correct.</div><div>In outputs.log focus on model,firmware,serial and mfr date values.</div>
<div><br></div><div>And I attached my patch earlier.<br><br><div class="gmail_quote">2010/7/6 Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Bdevel@de-korte.org">nut+devel@de-korte.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Citeren Robert Jobbagy &lt;<a href="mailto:jobbagy.robert@gmail.com" target="_blank">jobbagy.robert@gmail.com</a>&gt;:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I checked out the HEAD rev and tried the liebert driver.<br>
it gave wrong model,firmware,serial, mfr date value. caused by len variable<br>
in line 97 and after<br>
</blockquote>
<br></div>
If you provide the debug output, this will save us looking up the last time you posted the results.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use my ups with usb -&gt; serial converter.<br>
</blockquote>
<br></div>
Which one?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
these patches attached<br>
<br>
Did you try the liebert-esp2 driver in ON Battery mode ?<br>
</blockquote>
<br></div>
I don&#39;t have one, so I can&#39;t tell.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Because If I switch my ups on battery (plugged off the input) then liebert<br>
driver force shutdown PC and shutdown UPS.<br>
</blockquote>
<br></div>
In it&#39;s present state, the liebert-esp2 driver can&#39;t shutdown the UPS.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Battery is full charged. UPS doesnt recieve LOW BATTERY EVENT.<br>
</blockquote>
<br></div>
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.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the shutdown function is missing from liebert-esp2 driver, this is the<br>
reason the force shutdown ?<br>
</blockquote>
<br></div>
The driver won&#39;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.<br>
<br>
Best regards, Arjen<br><font color="#888888">
-- <br>
Please keep list traffic on the list<br>
<br>
<br>
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@lists.alioth.debian.org" target="_blank">Nut-upsdev@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Robert <br>
</div>