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

Re: Problems 2nd Serial Port

I believe I tested all the serial ports (except /dev/ttyS1). I remember /dev/ttyS0, /dev/ttyS2, and /dev/ttyS3 (RS-485) working.


On 13 Aug 2001 14:29:06 +0200, Magnus Rosenquist wrote:
> Hello,
>  I have a program that listens on a device on a serial
>  port, downloads some data and saves it to a file.
>  I've successfully made this function on both the
>  host-pc and the devboard using /dev/ttyS0. But
>  I cannot make it work using the second serial port.
>  As default (before doing any changes in the kernel), I
>  see that serial port 0 is always enabled and that 
>  serial port 2 is also enabled. 
>  Using /dev/ttyS2 I manage to open the port but I 
>  cannot read any data from it. I've tried to change the 
>  kernel config to include 'Synchronous serial port support',
>  but no change. 
>  Has anybody gotten the second serial port to work? How?
>  I need to have both ports working, to prevent switching devices
>  from one port to another...I will have a modem on the other port.
>  regards,
>  /Magnus