Actually, it's not bogus. The box does not have Com1 and 2. The DOS BIOS
reports the two serial ports as 3e8 and 2e8 (which is DOS is Com3 and 4).
It's an old AMI bios that does not allow me to configure the ports (they're
ISA anyway). I was using Com4 on PCPlus. The way I "found" that this seemed
to be the correct port was by trial-and-error. I did "cat < /dev/ttyS*" with
each one and the only response I got was from ttyS3. The error only shows up
when the PBX tries to transmit data. I'm afraid that I can't switch the Com
ports as I don't have the manual for the IO card (it's a horrible card, around
20 jumpers, it's nice that they didn't take the time to label the jumpers :(
). I agree that it sounds like the IO ports aren't configured properly in
Linux, but how do I tell Linux that I don't have a Com1 and 2? Or would it be
easier to reconfigure Linux's Com1 and 2 (ttyS0 and S1) to use the Base IO
addresses of 3e8 and 2e8 and then disable the Com 3 and 4 (ttyS2 and S3) ??
> On Mon, 01 May 2000 13:15:58 -0500, Duane Touchet
> >/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
> >/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
> >/dev/ttyS2, UART: 16450, Port: 0x03e8, IRQ: 4
> >/dev/ttyS3, UART: 16450, Port: 0x02e8, IRQ: 3
> This looks bogus. Are you _sure_ about what you have in the box in terms
> of io ports and irqs? Can you look at your old DOS setup or check jumpers
> or something to verify? What is on ttyS0 and ttyS1 (aka com1 and com2)?
> Must be something weird if the kernel can't figure out the uart type.
> That usually means that nothing is actually there but some init script has
> assumed that every PC has a com1 and a com2, or that something that is not
> a serial port is there.
> Having two ports on the same IRQ is A Bad Thing for ISA buss cards. If
> you really do have four com ports you might try disabling ttyS0 and ttyS1
> to see if that helps. Or, perhaps you do have four ports but the IRQ's
> aren't being detected correctly. You might try using setserial to fix
> that if you know how the hardware is configured.
> You said you "found out" the port was ttyS3...how did you find this out?
> By just trying things or by looking at your DOS setup? That tty would be
> COM4 in DOS. Is that the COM port were you using before?
> Basically, I think you have your serial port configuration messed up
> someplace. What the software thinks is there is not what is actually
> -| Bob Hauck
> -| Codem Systems, Inc.
> -| http://www.codem.com/