[Nut-upsdev] Liebert ESP II driver

Robert Jobbagy jobbagy.robert at gmail.com
Mon Jul 19 09:50:44 UTC 2010


Hi,

I have two questions:

first:

What's wrong with this:

    dstate_setinfo("battery.runtime.low","%d",3500);

it doesnt work.


second:

If I figure out how can I shutdown PC and UPS that ups shutdown too and if I
plug back the power PC start automatic.
I put this command in upsdrv_shutdown, is it right?
Or I need put it in other function?

Thanks your advice.



2010/7/15 Arjen de Korte <nut+devel at de-korte.org <nut%2Bdevel at de-korte.org>>

> Citeren Robert Jobbagy <jobbagy.robert at gmail.com>:
>
>  I know it,but I tried my ups On Battery with Liebert java app and when
>> java
>> app shutdown PC and after shutdown UPS.
>> Later I plugin back the power and UPS started and after PC started
>> automatic
>> too.
>> And I think NUT know it just I need configure NUT.
>>
>> I read this instcmd :
>>
>> shutdown.return          | Turn off the load possibly after a delay    |
>>   |                             | and return when power is back
>>
>> but I didn't can use it.
>>
>> And if I can send other shutdown command to UPS from this NUT function :
>>
>> void upsdrv_shutdown(void)
>> {
>>        /* replace with a proper shutdown function */
>>        fatalx(EXIT_FAILURE, "shutdown not supported");
>> }
>>
>> ???
>> Is it help for me ?
>>
>
> When people write to the development mailing list, we expect them to read
> the full thread:
>
>
> http://lists.alioth.debian.org/pipermail/nut-upsdev/2010-July/004875.html
>
>
> Best regards, Arjen
> --
> Please keep list traffic on the list
>
>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>



-- 
Best Regards,

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100719/eeb5fbf2/attachment.htm>


More information about the Nut-upsdev mailing list