"Brian J. McCarthy" wrote:
> 
> I've created the following init file:
> 
> [root@gateway /proc]# cat /etc/rc.d/rc.serial
> SETSERIAL=/bin/setserial
> echo "Configuring serial ports...."
> #
> ${SETSERIAL} /dev/ttyS0 uart 16550a port 0x3f0 irq 4 ^fourport
> ${SETSERIAL} /dev/ttyS1 uart 16550a port 0x2f0 irq 3 ^fourport
> ${SETSERIAL} /dev/ttyS2 uart 16550a port 0x3e0 irq 10 ^fourport
> ${SETSERIAL} /dev/ttyS3 uart 16550a port 0x2e0 irq 10 ^fourport
> #
> echo "done"
> 
> This produces:
> 
> [root@gateway /root]# setserial -gav /dev/ttyS?
> /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f0, IRQ: 4
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000, closing_wait2: infinte
>         Flags: spd_normal skip_test
> 
> /dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f0, IRQ: 3
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000, closing_wait2: infinte
>         Flags: spd_normal skip_test
> 
> /dev/ttyS2, Line 2, UART: 16550A, Port: 0x03e0, IRQ: 10
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000, closing_wait2: infinte
>         Flags: spd_normal skip_test
> 
> /dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e0, IRQ: 10
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000, closing_wait2: infinte
>         Flags: spd_normal
> 
> But aprsd and other apps still cannot use any ports except ttyS0.  Below is
> the output from ioports.
> 
> [root@gateway /proc]# cat ioports
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : fpu
> 01f0-01f7 : ide0
> 02e0-02e7 : serial(set)
> 02f0-02f7 : serial(set)
> 03c0-03df : vga+
> 03e0-03e7 : serial(set)

Is'nt ttyS0 address 3f0-3f7 overlapping
with 3f6 of ide0 ?


> 03f6-03f6 : ide0
> ec80-ecff : eth1
> ef80-ef9f : Intel Speedo3 Ethernet
> ffa0-ffa7 : ide0
> ffa8-ffaf : ide1
> [root@gateway /proc]#
> 
> Brian McCarthy
> N7TUQ
> 

73 de Bernard, f6bvp.

Reply via email to