18.08.2013 Views

UPGRADING REPAIRING PCs

UPGRADING REPAIRING PCs

UPGRADING REPAIRING PCs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

172<br />

Chapter 6—Serial Ports and Modems<br />

Table 6.5 Upgrading UARTs Continued<br />

Device Type UART Location Upgrade Method<br />

Multi-I/O card Equivalent to normal Replace card<br />

with Super I/O UART inside a highly<br />

integrated surfacemounted<br />

chip<br />

Motherboard- Socketed MB chip Remove and replace 16450<br />

with based I/O 16550AF if socketed; disable<br />

serial I/O and install new multi<br />

I/O card with 16550AF or<br />

better UART<br />

Newer systems— See the section “UARTs” Disable serial I/O and install<br />

UART equivalent<br />

inside Super I/O<br />

earlier in this chapter new multi I/O card as above<br />

Serial Port Configuration<br />

Each time a character is received by a serial port, it has to get the<br />

attention of the computer by raising an interrupt request line (IRQ).<br />

8-bit ISA bus systems have 8 of these lines, and systems with a<br />

16-bit ISA bus have 16 lines. The 8259 interrupt controller chip<br />

usually handles these requests for attention. In a standard configuration,<br />

COM 1 uses IRQ 4, and COM 2 uses IRQ 3.<br />

When a serial port is installed in a system, it must be configured to<br />

use specific I/O addresses (called ports) and interrupts. The best plan<br />

is to follow the existing standards for how these devices should be<br />

set up. For configuring serial ports in either Windows or Linux, use<br />

the addresses and interrupts indicated in Table 6.6.<br />

Table 6.6 Standard Serial I/O Port Addresses and Interrupts<br />

COM x I/O Ports IRQ Equivalent to Linux2 COM 1 3F8–3FFh IRQ 4 ttys0<br />

COM 2 2F8–2FFh IRQ 3 ttys1<br />

COM 3 3E8–3EFh IRQ 4 1 ttys2<br />

COM 4 2E8–2EFh IRQ 31 ttys3<br />

1. Although many serial ports can be set up to share IRQ 3 and 4 with COM 1 and COM 2, it is<br />

not recommended. The best recommendation is setting COM 3 to IRQ 10 and COM 4 to IRQ<br />

11 (if available). If ports above COM 3 are required, it is recommended that you purchase a<br />

special multiport serial board.<br />

2. Linux users must use distributions based on kernel 2.2 or better to enable IRQ sharing. With<br />

older distributions, use the setserial command (found in the Linux startup) to assign different<br />

IRQs to devices using ttys2 (COM3) and ttys3 (COM4); this also requires you to configure the<br />

cards to use those IRQs. For more information about setserial and serial ports under Linux,<br />

refer to the Linux Serial How-To at www.linuxdoc.org/HOWTO/Serial-HOWTO.html.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!