01 ? ? 456789ab

Vu Pham vu
Sun Jun 26 09:10:56 PDT 2005


> -----Original Message-----
> From: linux-users-bounces at linux-sxs.org 
> [mailto:linux-users-bounces at linux-sxs.org] On Behalf Of 
> Richard Thompson
> Sent: Saturday, June 25, 2005 10:11 PM
> To: Linux tips and tricks
> Subject: Re: 01 ? ? 456789ab
> 
> 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.
> 

Alma, Bill, Richard,  

Thanks for reminding me about Com1/3 and Com2/4. I remember those
relationship under DOS but never thought that the same thing would apply to
Windows. 

If I remember correctly , I at least one time set up my PC ( running DOS at
that time, and I added an add-on serial controller )  to have COM1/3 (
COM2/4 ) exist together, as long as 1/3 ( or 2/4 ) does not share the same
IRQ *and* the apps do not use IRQ on that correspoding port. But that's long
time ago, and I may be wrong.

I found this 8-port controller on eBay and use it for accessing my router
rack. At first I thought it would be nice to have COM1 for accessing Dev1,
COMN for access DevN so that I can remember them. I found another nice way
to go around this. Minicom allows me to save to configuration files, so I
have conf file r1 for router1, sw3 for switch 3...

Vu



More information about the Linux-users mailing list