Greg,
 This is happening on RHEL4 kernel 2.6.9-42 I believe. SMP and non SMP.
I can give a better explanation:

I have a null modem cable going from ttyS0 (the regular serial port on
the box) to ttyUSB0
in one xterm, I open minicom edit it to use USB0, etc. In the other
xterm, I cat a text file that is nothing but 1234567890 to ttyS0. It
goes through fine, many times. Then I exit minicom, restart minicom, and
in this case, the first time I cat the same file to ttyS0, in minicom
(USB0) it shows up minus the first character, such as 234567890 showing
up the first time when I send 1234567890 to ttyS0, but subsequent cats
to ttyS0 show 1234567890
just fine. Why is it dropping this character, and why is it only when I
exit minicom, and then restart it?

Nick

"All unix, all the time."

http://npt.ath.cx

Gregg Levine wrote:
> On 12/27/06, nick thompson <[EMAIL PROTECTED]> 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.
>>
>> Thanks so much,
>>
>> Nick
>>
>> "All unix, all the time."
>>
>> http://npt.ath.cx
>>     
>
> Hello!
> Nick, you might remember me from another list (and project on this
> server setup), can you clarify your problem? For example which kernel
> do you see this happening? Is this with the current family of 2.6
> ones?
>
> Or are you bit-banging away with this on the 2.4.x series as I am
> currently doing with my collection of projects?
>
>   


-------------------------------------------------------------------------
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