[Nut-upsdev] Liebert driver with usb to serial converter cable
Robert Jobbagy
jobbagy.robert at gmail.com
Fri May 21 13:05:03 UTC 2010
2010/5/21 Arjen de Korte <nut+devel at de-korte.org <nut%2Bdevel at de-korte.org>>
> Citeren Robert Jobbagy <jobbagy.robert at gmail.com>:
>
> This is the outputs:
>>
>> [root at gcsontos-ghost ~]# lsusb
>> Bus 002 Device 001: ID 0000:0000
>> Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
>> Port
>>
>
> This won't be the problem (the PL-2303 is known to work with many devices).
>
>
> [root at gcsontos-ghost ~]# /sbin/liebertgxt2 -u root -DDDDD -a liebertgxt2
>>
>
> I asked for '-DD' for a reason. Please don't up the debug level without
> being asked to do so. If you think you know better, don't ask for help.
Sorry but this , not I did it, I asked someone and him sent this to me.
This is it what you asked from me.
[root at gcsontos-ghost ~]# /sbin/liebertgxt2 -u root -DD -a liebertgxt2
Network UPS Tools - Liebert GXT2 serial UPS driver 0.02 (2.4.3)
Warning: This is an experimental driver.
Some features may not function correctly.
0.000000 debug level is '2'
0.001072 send: (6 bytes) => 01 88 02 01 04 90
0.009326 read: truncated: (1 bytes) => 01
0.009338 GTX2 capable UPS not detected
>
>
> 0.002463 send: (6 bytes) => 01 88 02 01 04 90
>>
>
> That looks good.
>
>
> 0.041255 read: truncated: (1 bytes) => 01
>> 0.041357 GTX2 capable UPS not detected
>>
>
> But this doesn't. The ser_get_buf() function in the do_command() function
> will do only read data once. If not all data is received by then, the driver
> will fail. We probably need ser_get_buf_len() here. Please try if changing
> that works.
I will try it and write back.
>
>
> and the driver works on serial port ,but with usb to serial don't
>>
>
> I'm actually quite surprised that it did (looking at the above).
>
> Best regards, Arjen
>
> PS Stop top posting!
>
> --
> 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/20100521/64ef02bd/attachment.htm>
More information about the Nut-upsdev
mailing list