Someone any idea, what is wrong? 2010/5/21 Robert Jobbagy <[email protected]>
> > > 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. >> >> >> 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 change ser_fet_buf function with ser_get_buf_len > > And this is the debug output: > > > 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.020847 send: (6 bytes) => 01 88 02 01 04 90 > 1.020588 read: truncated: (0 bytes) => > 1.020604 GTX2 capable UPS not detected > > >> >> 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 > -- Best Regards, Robert
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
