2010/5/21 Arjen de Korte <[email protected] <nut%[email protected]>>

> Citeren Robert Jobbagy <[email protected]>:
>
>  This is the outputs:
>>
>> [r...@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).
>
>
>  [r...@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.

[r...@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
> [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>



-- 
Best Regards,

Robert
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to