01 ? ? 456789ab

Richard Thompson mergannt
Sat Jun 25 21:41:15 PDT 2005


man setserial is your friend.  ttyS0 and ttyS2 share the same irq.
Likewise ttyS1 and ttyS3.  However, a closer look at your bios might
reveal the i/o address to be setable.  Most boxes used to come with 2
serial ports (COM1 and COM2)which were set up in bios.  ISA bus internal
modems had jumpers or dip switches to allow you to set up IRQ and i/o
address, thus "creating" COM3, COM4, etc.

This can also be done with software.  If I remember correctly ttyS0 with
i/o address 0x3e8 and ttyS2 with 0x3f8 are two distinct ports - COM1
(ttyS0) and COM3 (ttyS2) respectively.  

I don't know about your serial board, but the command setserial (to get
and put serial port information) and /etc/rc.d/rc.local/setserial used
to do the trick just fine when I ran a BBS off a Digiboard back in the
old days.  Double check my aging brain before using setserial.  Hope
this helps some.

- Rich Thompson

On Sat, 2005-06-25 at 15:56 -0500, Vu Pham wrote:
> My Linux box has 2 standard serial ports ttyS0 and ttyS1. I just added a
> ByteRunner PCI-800H that has 8 serial ports. Linux detects it without any
> problem and adds the 8 ports starting at ttyS4.
> 
> I went into the BIOS setup and found only two serial ports. 
> 
> I wonder which devices keep the port ttyS2 and ttyS3 ?
> 
> Thanks,
> 
> DT
> 
> 
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc: http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> 
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
-- 
Richard Thompson <mergannt at nushtel.net>



More information about the Linux-users mailing list