Site hosted by Angelfire.com: Build your free website today!
Chapter 13: Adding and Removing Hardware

PreviousChapterContentsGlossaryNext

What Types of Hardware Can You Install?

IBM-compatible computers, having evolved for over 20 years, offer numerous, often complicated, ways to attach new kinds of equipment. The details of PC hardware are beyond the scope of this book, but this section describes the basics of PC hardware that you need to know to get a recalcitrant Windows driver installed, including older types of PC components, in case you are upgrading an older computer. See Chapter 32 for more information about configuring hard disks. Chapter 11 describes how to configure your display, and Chapter 14 talks about how to print once you've installed a printer.

note The system requirements for Windows XP are steep, so upgrading an older computer may not be worth the expense and trouble. Carefully weigh the costs of upgrading versus purchasing new (especially with the prices of new systems so low). Keep in mind that you may be required to completely replace everything inside the case in order to satisfy Windows XP, so keeping the old system might actually be more useful than upgrading it to XP. See the Microsoft Windows Hardware Quality Labs (HCL) Web site at http://www.microsoft.com/hcl to find out whether your hardware has been approved by Microsoft for use with Windows XP. Keep in mind that lots of hardware that Microsoft hasn't gotten around to testing also works.

tip For the definitions of many hardware-related terms and acronyms, see the Dirt Cheap Drives Web site at http://www.dirtcheapdrives.com/tech and click Glossary.

Integrated Versus Separate Peripherals

The original IBM Personal Computer contained nothing built into the computer beyond the central processing unit (CPU), memory, and keyboard. Everything else, including screens, floppy disk drives, hard disk drives, printers, modems, and serial ports, was provided by separate extra-cost add-in cards. (Hardware you add to your computer, other than processors and memory, is called a peripheral.) Over the years, manufacturers have found that, as the functions of the computer were combined into fewer and fewer chips, it became cheaper to build the most common peripherals into the computer's motherboard, mainboard, or system board, the printed circuit board that carries the CPU and memory. Modern computers typically include a parallel port, one or two serial ports, two PS/2 ports for keyboard and mouse, two Universal Serial Bus (USB) ports, controllers for up to two floppy disk drives and four IDE (Integrated Device Electronics) devices (typically hard drives, CD-ROM drives, CD-R drives, or DVD drives), a 56K modem, and sound and video adapters on the motherboard. Windows usually can't tell whether these items are built-in or on separate cards, so Windows treats them all as though they are separate peripherals.

Connectors

The back of your PC is bristling with connectors for various sorts of devices (see Figure 13-2). If your computer has internal expansion slots holding adapter cards, each adapter card may have a connector or two, as well. Connectors to which you attach cables are also called ports. Most likely, the user's manual for your computer has a similar picture showing and labeling the connectors on your computer.
[figure]
Figure 13-2: Connectors on the back of your computer

Serial (Com) Ports

Most PCs have one or two serial ports, which are D-shaped connectors with 9 or 25 pins (sometimes referred to as DB-9 and DB-25):
[image]

Most commonly, you plug an external dial-up modem into a serial port, but serial ports are also used for serial mice, computer-to-computer cabling for "poor man's networking," and occasionally for printers. If you have a UPS (uninterruptible power supply), a cable may run from the UPS to the PC's serial port so that the UPS can signal Windows to shut down when the UPS battery is almost dead.

Network Ports

Some PCs come with a built-in network adapter to enable the computer to connect to a local area network, DSL modem, or cable modem. Newer network ports have RJ45 jacks that look like phone jacks, only larger. Old network ports may have round coaxial cable connectors. See the "Buying Network Hardware" section in Chapter 28 for how to connect your computer to a network. See the "Installing Modems" section later in this chapter for more about installing DSL and cable modems.

Telephone Plugs

A modem connects your computer to a phone line. If you have a dial-up (analog) modem (the kind of modem that connects to a normal, old-fashioned phone line) the modem has one or two RJ-11 telephone plugs that are identical to the plugs on the back of a U.S. telephone. (If you are outside the U.S., your modem may have a different type of phone plug.) If there are two plugs, one is for the incoming phone line plugged into the wall, and the other is for a phone that shares the line with the modem. (The advantage to plugging the phone in via the modem is that, while the modem is online, the phone is disconnected, so you won't disconnect your modem call if you pick up the phone by mistake.) See "Installing Modems" later in this chapter for other types of modems.

Parallel Ports

Most PCs have a parallel port, a D-shaped socket with holes for 25 pins. Parallel ports are often used for printers, and sometimes for other devices such as removable disk drives (such as ZIP drives).
[image]

caution The 25-pin serial port is mechanically identical to the parallel port, except that the serial port is "male" and the parallel port is "female." Despite the similar connectors, you can't plug a device intended for one port into the other port.

Parallel ports can communicate unidirectionally (for sending information to a printer) or bi-directionally (for smart printers that send information back to the computer, as well as for devices that we think should never be connected to a parallel port in the first place, like ZIP drives and scanners). There are two bi-directional standards: ECP (Enhanced Capability Port, used mainly by printers and scanners) and EPP (Enhanced Parallel Port, used mainly by devices other than printers). When you look at your parallel devices in Device Manager, by clicking Ports (COM & LPT), Windows shows what kind of communication each parallel port uses.

tip You set the communications standard for your parallel port in the BIOS setup for your computer. If you run into trouble connecting a device (especially one that requires bi-directional information), check your computer's manual for how to configure the parallel port.

PS/2 (Keyboard and Mouse Ports)

All PCs new enough to run Windows XP have two connectors for a keyboard and a mouse andusually two PS/2 connectors:
[image]

The keyboard and mouse ports look identical--look at the little icons next to the connectors to determine which is which. (Nothing terrible will happen if you plug a mouse into the keyboard port, or vice versa--Windows usually complains that it can't find your keyboard or mouse.)

Display Ports

Display adapters, into which you plug your monitor, all use a 15-pin (DB-15) connector that is similar in size to the 9-pin serial connector.
[image]

Display adapters are identified by acronyms like SVGA, XGA, Super VGA, and Ultra XGA, depending on their maximum resolution. Don't worry about the acronyms, because each display adapter manufacturer seems to make up their own. All monitors made in recent years are compatible with almost all display adapters, at least at common resolutions. Resolutions you are likely to encounter are 800 0xd7 600 (the minimum required for Windows XP), 1024 0xd7 768, 1400 0xd7 1050, and 1600 0xd7 1200.

The video display adapters that are built into new computers can support lots of colors beyond the original 256 colors (also known as 8-bit color); most can display 16-bit High Color, 24-bit True Color, and 32-bit True Color.

Multiple Displays

Windows XP Professional can support more than one display (screen or monitor), continuing the Windows desktop from one display to the next. (Windows XP Home Edition doesn't include this support.) You need a video display adapter for each display or a special multidisplay adapter card. Some laptop computers enable you to use the built-in LCD screen as one monitor and an external monitor as the second monitor.

Universal Serial Bus (USB)

The USB (universal serial bus) is a relatively new connector for which Microsoft introduced full support in Windows 98. It is a faster and simpler alternative to serial and parallel ports, as well as for low- to moderate-speed devices such as modems, printers, sound cards, and backup tapes. Few older computers come with USB ports. Most new computers come with at least two.
[image]

The USB uses a small rectangular connector. Unlike most other connection schemes, USB lets you connect a USB hub to your USB port, so you can have a desk full of USB devices, even though your computer has only a single USB connector. Also remarkable is the fact that you can hot swap USB devices--you don't have to turn off the computer, plug in the device, and restart the computer; just plug the device in and turn it on.

USB printers and scanners are popular, and USB network adapters are a hit with high-speed Internet access installers (unlike network interface cards, USB network adapters don't require the installer to open up the computer).

note If the device you are attaching has never been connected to the computer before, Windows will likely need to install a driver for it. The vast majority of drivers for Windows XP can be used without restarting the computer, thanks in no small part to XP's Windows 2000 heritage.

FireWire

Some computers also have FireWire ports, also known as IEEE 1394 or Sony i.Link. They are faster than USB ports, and are typically used for digital video cameras, hard disk drives, and high-speed printers. FireWire was first developed by Apple for its Macintosh computers, but is now available on many Windows-compatible PCs, too.
[image]

FireWire cables are limited to about 15 feet in length. FireWire, like USB, can be hot-swapped--connected and disconnected--while the computer is running. FireWire is efficient, self-powered, flexible, and fast.

note Your FireWire port appears in the Network Connections window as a LAN port--choose Start | Network Connections to see it. (In Windows XP Home Edition, choose Start | Control Panel, click Network And Internet Connections, and click Network Connections to see it.)

Audio and Video Jacks

Most PCs have connectors for speakers or headphones, and sometimes a microphone. The speaker connector is a standard 1/8-inch stereo mini-audio jack. The microphone connector is usually also a mini-audio jack, so you have to be careful not to confuse the two. (Otherwise, your sound may play sdrawkcab. Well, not really.)

If your computer doesn't have speaker connectors, you can add an internal sound board. Many CD-ROM drives have headphone jacks so you can listen to audio CDs, even if your computer has no speakers.

Newer computers may have a digital audio jack (S/PDIF or Sony/Philips Digital Interface jack) to which you can connect digital audio equipment, like a DAT (digital audio tape) machine. Most S/PDIF ports accept standard RCA connectors, the same connector used for regular audio jacks.

tip If you plan to use your TV to display information from your computer, check whether your PC has a TV jack or S-video jack, to which you can connect a television. Alternatively, your PC may come with a video card that includes a TV In plug so you can watch TV on your computer monitor. These video cards may include software for picture-in-picture (so that your TV picture appears in a window) and for capturing graphics from the video.

PC Cards

Laptop computers usually have one or two PC card slots (also known as PCMCIA slots). A few desktop computers have them, too. These take credit-card-sized adapter cards of many varieties, including modems, networks, and disk and tape controllers. PC cards, unlike other adapter cards, can be added to, and removed from, your computer while it's running. To add a PC card, press it firmly into the slot until it seats. To remove a PC card, press the button next to the PC card to eject the card slightly and then pull out the card.

Before removing a PC card, you should first tell Windows, so that it can stop sending data to, or receiving data from, the card. When you have a PC card inserted, an icon for it may appear in the notification area of the taskbar. If so, click or double-click it to find a command for preparing Windows for the removal of the card.

Internal Adapter Cards

If you add a device to your computer that can't be plugged into one of the existing connectors on your computer, you have to add an adapter card that plugs into a slot inside the computer. As the PC has evolved over the past 20 years, the slots into which you can plug adapter cards have evolved as well.

PCI Cards

PCI (Peripheral Connect Interface) slots enable you to expand the capabilities of your computer by installing PCI adapter cards inside the computer. To install a PCI card, you need to turn off the computer, take off the cover, slide the PCI card into the slot, screw it down, replace the cover, and turn the computer back on. PCI cards include display adapters (for connecting to monitors), sound cards (for connecting to speakers), network adapter cards (for LAN and high-speed Internet connections), disk drive adapters (for connecting hard disks, CD-ROM drives, and floppy drives), and SCSI adapters (for connecting a wide variety of peripherals).

note Older PCs came with ISA (Industry Standard Architecture) slots, into which you plugged ISA cards, which often required you to set jumpers and switches on the card. Later, PC manufacturers introduced EISA (Enhanced or Extended ISA) slots, an improved version of ISA. Both ISA and EISA slots have been superceded by PCI slots. Computers capable of running Windows XP are unlikely to have ISA or EISA slots.

AGP Cards

AGP (Accelerated Graphics Port) slots are an advanced version of PCI for video cards, enabling faster screen updates. The original specification, 1x, could transfer graphics data between the cards buffers and system RAM at a speed equal to the system's bus, typically 33, 50, and 66Mhz at that time. 2x and 4x varieties have since become available and bus speeds have increased 100Mhz to 200Mhz. Luckily, newer AGP cards are backwards compatible (that is, compatible with older versions). Another advanced feature of these cards is that they can use half the RAM of equivalent PCI-based cards. For example, a 4MB AGP video card is the functional equivalent of an 8MB PCI video card, because the AGP card allocates an equal amount of system RAM to that of its on-board RAM.

Other Kinds of Cards

Most computers have a few specialized slots and connectors for specific devices. There are usually two to four small slots for memory, and a connector or two for IDE or EIDE expansion disks. Your computer's manual should list the available slots and connectors.

Hardware Parameters

Every card in your PC needs a variety of hardware parameters to be set, so that the CPU can communicate with the card reliably and without interfering with other cards. With the newer kinds of connections, such as PCI, USB, and FireWire, most--if not all--of these parameters are set automatically by Windows' Plug and Play feature; but older ISA cards and some PCI cards require manual tweaking.

To see a list of your computer's hardware, you use the Device Manager window. To display it, choose Start | Control Panel, click Performance And Maintenance, click the System icon, and select the Hardware tab (Figure 13-3 shows the hardware tab of the System Properties window on the left). Click the Device Manager button to see the Device Manager window (shown in Figure 13-3 on the right). You can choose commands from the View menu on the menu bar to see listings by type of device or by how they are connected to the computer. To see listings of the interrupts (IRQs), I/O addresses, DMA channels, and memory addresses, choose View | Resources By Type, then click the plus box to the left of each item.
[figure]
Figure 13-3: The System Properties dialog box and Device Manager window

tip Keep a logbook for your computer, listing all the cards installed in your computer and the hardware parameters you've set on them. This makes troubleshooting a lot easier.

I/O Address

Every device attached to a PC has at least one I/O address, a hexadecimal number that the CPU uses to communicate with the device. All I/O addresses on a given computer must be unique; address "collisions" are the most common reason that a new I/O device doesn't work.

Devices on the motherboard have I/O addresses that either are permanently assigned or can be changed in the setup menus built into your motherboard (see the documentation that came with your computer). Devices on ISA cards have addresses that generally can be changed by moving jumpers on the card, while PCI cards have addresses that are set by software when you start your computer.

All traditional PC devices have well-known fixed addresses. These include up to four serial ports, a parallel port, floppy and hard disk controllers, and internal devices such as the clock and keyboard controller. Other add-in devices have more-or-less fixed addresses, depending on how popular the device is and how long it's been around. PCI cards automatically get unique addresses, but ISA cards often need jumpers to be reset.

See the troubleshooting section later in this chapter for advice on getting I/O addresses unscrambled. Luckily, with newer hardware you are unlikely to need to worry about I/S addresses.

note AGP, the Accelerated Graphics Port technology from Intel, is a derivative of PCI. AGP video cards appear in the hardware list as device 1 of PCI Bus 0. This is normal, despite the name AGP.

Interrupts (IRQs)

The PC architecture provides 15 interrupts or IRQs (interrupt requests), channels that a device can use to alert the CPU that the device needs attention. The interrupts are numbered 0, 1, and 3 through 15. (For historical reasons, interrupt 2 isn't available, and the few devices that used interrupt 2 on early PCs use interrupt 9 instead.) PCI devices all can, and usually do, share a single interrupt, but nearly every ISA device that uses an interrupt needs a separate unique interrupt number. Motherboard devices use interrupts 0 and 1; built-in serial ports usually use 3 and 4; the floppy disk uses 6; the parallel port uses 7; the clock uses 8; a built-in mouse uses 12; the floating-point unit uses 13 (even if you don't do any floating-point calculations); and the hard disk controller uses 15--leaving 5, 9, 10, 11, and 14 for other devices. Assigning interrupts correctly on ISA cards is one of the most troublesome and error-prone aspects of hardware configuration. A few ISA cards can have their interrupt number set in software, in which case Windows sets the interrupt automatically; but most have jumpers you have to change. Fortunately, only a few ISA cards are still available commercially; everything else is PCI based.

DMA Channels

DMA, which stands for direct memory access, is a motherboard facility used by a few medium-speed devices. There are six DMA channels, of which the floppy disk always takes DMA 2. Some sound cards need a DMA channel, usually DMA 1. You set the DMA channel in the Properties dialog box for the device.

Memory Addresses

Each byte of memory in your computer has a unique memory address. A few devices, notably screen controllers and some network cards, use a shared memory region to transfer data between the CPU and the device. Those devices need a range of memory addresses for their shared memory. Screen cards generally use the ranges (expressed in hexadecimal numbers, or hex) 0xA0000 through 0xAFFFF, 0xB0000 through 0xBFFFF, and sometimes 0xC0000 through 0xCFFFF. The range from the end of the screen controller's memory to about 0xE0000 is available for other devices. PCI (and AGP) cards always have their addresses set in software.

Disk Controllers

A disk controller is a PCI adapter card or built-in board to which you connect hard disks, CD-ROM drives, or tape drives. Disk controllers present an extra configuration challenge, because you can attach more than one device to a single controller. See Chapter 32 for more information about configuring hard disks.

IDE and EIDE Device Numbers

IDE (Integrated Device Electronics) and EIDE (Enhanced IDE, also known as ATA 2) disk controllers support up to two devices, the first of which is usually a hard disk, and the second of which can be either a hard disk or a CD-ROM drive. The controller has two connectors into which drive cables are plugged, and which device is which depends on which connector each is plugged into. The first device is called the primary device, and is the second the secondary device. When the position on the cable determines which device is primary and which is secondary, this is called cable select (CS). Jumpers on the devices can also determine which one is primary and which one is secondary, regardless of where they are plugged in.

Most motherboards contain two IDE or EIDE controllers, each of which can have a primary and a secondary device, for a system total of up to four devices.

SCSI Device Numbers

SCSI (Small Computer System Interface) is an older standard for connecting high-speed devices to your computer, and has largely been superceded by USB and FireWire. Few newer computers come with SCSI controllers. SCSI is still widely used in server computers for connecting disks and tapes.

Each SCSI controller can connect up to 7 devices for older controllers, or 15 devices for more recent controllers. To identify devices attached to one SCSI controller, each device has a device number from 0 to 7, or 15.

The SCSI controller itself has a device number, usually the highest possible number--7 or 15. The first disk is invariably device 0, but other numbers can be assigned arbitrarily, as long as each device has a separate number. A few devices have subunits, such as tape or CD-ROM jukebox drives that can contain several different tapes or disks.

caution Due to some extremely bad planning in the early 1980s, older external SCSI devices use connectors that are physically identical to the DB-25 and Centronics connectors used on modems and printers on parallel and serial ports. Even if they fit physically, don't try connecting a SCSI device to a non-SCSI controller, or vice versa, because it won't work, and you may well cause expensive damage to the electronics.

Memory (RAM)

Memory, or RAM (random access memory), is the temporary storage your computer uses for the programs that you are running and the files you currently have open. Most PCs have from two to four memory slots, and usually the computer is shipped with one or two of the four slots already containing memory. Memory comes in many different sizes, speeds, and types, so you must ensure that the memory you add is compatible with your particular computer (see the section "Adding Memory" later in this chapter). Memory chips are extremely sensitive to static electricity, so be sure to understand and follow the procedures needed to avoid static damage. (Some memory ships with an antistatic wrist strap and instructions on how to use it.)

What Are Drivers?

Many hardware devices--whether they come as part of your computer or are added later--require a driver or device driver, a program that translates between your operating system (Windows) and the hardware. For example, a printer driver translates printing requests from Windows (and through it, your applications) to commands that your printer can understand.

Windows comes with standard drivers for a wide range of monitors, printers, modems, and other devices. When you buy hardware, you usually receive a floppy disk or CD-ROM that contains the driver for the device, which you need to install during the configuring process to get the device to work with Windows. For some devices, Windows already has a driver on the Windows XP CD-ROM, so you never need to insert the driver disk. Many manufacturers provide updated device drivers on their Web sites.

tip Many hardware components come with one set of drivers for use with Windows Me/9x and another set for Windows 2000 and XP. If a device doesn't have drivers for Windows XP, try the Windows 2000 drivers.

To see information about the driver for a device, display its Properties dialog box--from the Device Manager window, right-click a device and choose Properties from the menu that appears. If there is a Driver tab, click it. Most Driver tabs contain a Driver Details button (for a list of files that make up the driver), Update Driver button (for installing a new driver), Roll Back Driver button (for reinstalling a previous driver), and Uninstall (to uninstall the driver, leaving the device with no driver).

note Many drivers have not been approved by Microsoft's Windows Logo testing program because it's expensive and many manufacturers don't like the idea of paying Microsoft to approve their software. When you install a driver for a new device, you may see a warning like this:

[image]

If the driver came with the device, or you downloaded it from the manufacturer's Web site, click Continue Anyway to go ahead and install it.

PreviousChapterContentsGlossaryNext