[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serial port ttys0 and ttys2



On Fri, Aug 13, 2004 at 09:56:09AM +0200, Frossard Philippe wrote:
> 
> I made a new c program (See the file attached).
> 
> If you send a file about 1Mbytes on the ttyS0 with minicom program, the 
> number of byte receive is correct (And, simultaneously you can send a 
> file by ftp, make a connection by Telnet or browse the boa Http server ...).
> 
> If you send a file about 1Mbytes on the ttyS2 with minicom program, the 
> number of byte receive is not correct (I have only one Telnet connection 
> to the axis board ! / I don't use Ftp or Http in the same time).
> 
> I think there is a problem with the ttyS2 !

Are you sure no other processes are reading from /dev/ttyS2.

When your own application is stopped you shouldn't get any /dev/ttyS2 
from the following command:

find /proc -name fd | xargs ls -l | grep ttyS

/Jonas