Citeren Robert Jobbagy <jobbagy.robert op gmail.com>:
> 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