Greg KH wrote:
> Can you load the pl2303 driver with: > modprobe pl2303 debug=1 > and then run the program for me? > > You should see a lot of information in the kernel debug log, any info on > ioctls that your program is using that is not supported by the driver > would be nice to see.
sure, i'll go through and document that, will be tomorrow before i post
>> tcgetattr(fd,&oldtio); /* save current serial port settings */ >> bzero(&newtio, sizeof(newtio)); /* clear struct for new port settings */ > > > > Why not copy the old one to the new one, and then modify just the values > that you want to be different? > >
this was intended to simulate how most standard programs operate. this section was documented in the serial programming howto and i verified that numberious applications ( with the expection of minicom which works as you suggested) use this as their standard procedure.
> > For 2.6.0-test3 I just get the program sitting and spinning if I > uncomment this line. glibc is waiting for some line change to happen > that isn't going to happen I'm guessing... > > Have you tried 2.6 yet? >
just compiled and tested 2.6.0-test3 with the same results
> Remember all of the cr vs nl logic happens in the tty core and glibc, > not in the individual tty drivers (from what I can tell.) >
ok, so why does this program work properly with /dev/ttyS0 and not /dev/ttyUSB0 ?
i'll be digging deeper into the problem all this week, usb-rs232 are becoming a big issue since all the POS device manufactures are adding these devices into their existing products. in order for linux to support these products properly the usb-rs232 needs to perform in the exact same manner as a standard rs-232 port. with this in mind, the company i work for has aloted a significat amount of time to clear this up.
thanks dave
------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel