[Nut-upsdev] Liebert ESP II driver
Robert Jobbagy
jobbagy.robert at gmail.com
Fri Jul 30 08:49:15 UTC 2010
Hi,
I tested somany times liebert-esp driver on my ups.
I found/gave two (bug)/error :
first,
I ran /usr/local/ups/bin/upsdrvctl start and driver didnt start
I gave this error:
ESP-II capable UPS not detected
I know that it is in upsdrv_initinfo function and I think ups didnt gave
answer, but I dont know why?
second,
I ran /usr/local/ups/bin/upsdrvctl start and
ups shutdown itself and I dont know why?
do you have any idea ?
How can I debug this ?
I would like use the liebert-esp2 in debug mode and write in a logfile the
output of driver, maybe it help for me.
I know that I need run the driver like this : /path/to/liebert-esp2 -DD -a
liebert-esp2 but If I use this liebert-esp -DD -a liebert-esp >> logfile <-
it doesnt work
Thanks your advice and time.
2010/7/27 Arjen de Korte <nut+devel at de-korte.org <nut%2Bdevel at de-korte.org>>
> Citeren Robert Jobbagy <jobbagy.robert at gmail.com>:
>
> How can I log my driver in debug mode?
>>
>
> Please be specific in your questions. If you want to know how to log debug
> messages in a driver, use the upsdebug_* functions (examples are in the
> driver already). If you want to know how to run a driver in debug mode, try
> running it with -h on the command line and/or read 'man 8 nutupsdrv'.
>
>
> Because I work on it liebert-esp2 driver shutdown function and
>> if I put the commands in updateinfo funciton and call it manual that it
>> works fine.
>>
>
> I have no idea what you mean to write here. Please be a little more
> specific (what did you change, which commands did you execute and what was
> the result).
>
>
> 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/20100730/f535078d/attachment.htm>
More information about the Nut-upsdev
mailing list