On Wed, Dec 27, 2006 at 01:38:52PM -0600, nick thompson wrote:
> Hi,
>  Basically, in a nutshell, if I cat a text file to /dev/ttyS0, and have
> a null modem setup going to /dev/ttyUSB0 (the pl2303x) the first time I
> cat it, it goes through fine. However, the 2nd and 3rd etc it is missing
> the first two characters. If anyone has any clues, or if there is
> anything I can change in pl2303.c or usb-serial.c that would help here,
> I would love to hear about it.

Try it with a "real" serial based program, like minicom.  'cat' and
'echo' don't always play nice with the usb-serial drivers which
sometimes do unfun things like reset line settings for every time the
port is opened.

Also, load the pl2303 driver in debug mode:
        modprobe pl2303 debug=1
and look at the kernel log output when you send characters to it.  It
should show you the raw data going over the line to the device to help
you determine if it's a device or driver issue.

oh, and the driver was reversed engineered and then later Prolific took
a copy of it and placed it on their web site.  Last time I looked, the
version on their site was very out of date and contained numerous bugs
and features missing.

good luck,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to