Supporting IO Devices - PowerPoint PPT Presentation

1 / 91
About This Presentation
Title:

Supporting IO Devices

Description:

If a legacy device can only use one IRQ, then use CMOS setup to reserve that IRQ ... Procedures and guidelines common to most installations of I/O devices ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 92
Provided by: annek172
Category:

less

Transcript and Presenter's Notes

Title: Supporting IO Devices


1
Chapter 9
  • Supporting I/O Devices

2
You Will Learn
  • How to use standard resources on a computer
    system when installing add-on devices
  • How to resolve resource conflicts
  • How to install a new device on a computer
  • About keyboards, pointing devices, and video
    subsystems

3
Basic Principles of Peripheral Installations
  • When you add a new peripheral to a computer, the
    device needs
  • A device driver or BIOS
  • System resources
  • IRQ
  • DMA channel
  • I/O addresses
  • Upper memory addresses
  • Applications software

4
Fundamental Installation Principles
  • Install both hardware and software
  • The peripheral is a hardware device controlled by
    software
  • Install at all levels of software
  • Be aware of possible system resource conflicts
  • The same IRQ
  • The same DMA channel
  • The same I/O address
  • The same upper memory addresses (for 16-bit
    drivers)

5
A Review of System Resources
  • IRQ
  • DMA channel
  • I/O addresses
  • Upper memory addresses

6
Installation Overview
  • Install the device
  • Install the device driver
  • Install the applications software

7
Hardware Devices
  • Internal (installed inside computer case)
  • Drives (hard drives, floppy drives, CD-ROM
    drives, DVD drives, Zip drives)
  • Devices that are inserted in expansion slots on
    the system board (modem card, video capture card)
  • Usually less expensive and take up less desk
    space than external devices
  • External (installed outside the case)
  • Existing port (serial, parallel or USB)
  • Interface card installed in expansion slot

8
Embedded BIOS on Devices
  • Sometimes a BIOS parameter may need to be changed
    to prevent a conflict in the assignment of
    computer resources

9
Embedded BIOS on Devices
10
Embedded BIOS on Devices
11
Device Drivers
  • Two kinds
  • 16-bit real mode drivers
  • 32-bit protected-mode drivers (Windows 9x)
  • Device drivers under DOS
  • Mouse driver common 16-bit DOS device driver
  • Device drivers under Windows 9x
  • Installed when hardware device is installed
  • Information kept in Windows 9x Registry
  • Automatically execute each time Windows 9x starts

12
Device Drivers under Windows 9x
13
Device Drivers under Windows 9x
14
Device Drivers under Windows 9x
15
Device Drivers under Windows 9x
16
Using Ports and Expansion Slots for Add-on Devices
  • Serial ports
  • Parallel ports
  • USB ports
  • IEEE 1394 ports
  • Expansion cards plugged into PCI or ISA expansion
    slots

17
Using Serial Ports
  • Transmit data in single file
  • Identified by number of pins (9 or 25)
  • Almost always male

18
Serial Ports
19
Serial Ports
20
Serial Ports
21
(No Transcript)
22
Infrared Technologies
  • An infrared transceiver that supports infrared
    devices, such as wireless keyboards and printers,
    can connect directly to a serial port
  • The transceiver uses resources of the serial port
    for communication and creates a virtual infrared
    serial port and virtual infrared parallel port
    for infrared devices
  • Some system boards provide a 5-pin connection for
    its own proprietary IRDA-compliant infrared
    transceiver

23
The UART Chip
  • UART universal synchronous receiver/transmitter
  • Controls all 9 pins of a serial port
  • Sets communications protocol
  • Converts parallel data bits received from the
    system bus into serial bits
  • Driver for the UART 16550 is built into Windows 9x

24
UART Driver
25
UART Driver
26
Serial Ports Summary
  • Used for various input/output data transfers,
    (data transferred over modems, to mice, to
    printers, and to other computers)
  • Follow RS-232C industry standard for
    communication
  • Assigned unique IRQ and unique I/O address
  • UART chip controlling the port is partially
    responsible for the speed of the port

27
Using Parallel Ports
  • Transmit data in parallel, 8 bits at a time
  • Almost always female
  • Commonly used by printers
  • IEEE 1284 standards for parallel ports require
    backward compatibility with previous technology

28
(No Transcript)
29
Types of Parallel Ports
  • Standard parallel port (SPP)
  • Enhanced parallel port (EPP)
  • Extended capabilities port (ECP)

30
Standard Parallel Port
  • Sometimes called a normal parallel port or a
    Centronics port
  • Only allows data to flow in one direction
  • Slowest of the three types of parallel ports

31
Standard Parallel Port
32
Enhanced Parallel Port (EPP)
  • Bi-directional
  • Faster than original parallel ports on PCs that
    only allowed communication in one direction
  • Covered under the IEEE 1284 specifications

33
Extended Capabilities Port (ECP)
  • Bi-directional
  • Designed to increase speed over EPP by using a
    DMA channel
  • Covered under the IEEE 1284 specifications

34
Configuring Parallel Ports
  • Setup can have up to three different settings for
    parallel ports

35
Examining a General-purpose I/O Card
  • Designed for use with a system board that does
    not have serial or parallel ports, or floppy
    drive or hard drive connections
  • Not Plug-and-Play compliant

36
Examining a General-purpose I/O Card
37
Installing a General-purpose I/O Card
38
Using USB Ports
  • Easier than parallel or serial ports because USB
    controller (with support from OS) manages USP
    port resources
  • All USB ports and USB devices (up to 127)
    connected to them use a single IRQ, I/O address,
    and DMA channel

39
USB Versions
  • Current version of the USB standard is version
    1.1, which supports speeds up to 12 Mbps
  • USB 2.0 is expected soon and will support speeds
    up to 480 Mbps

40
USB
  • Transfers data in packets and can partly improve
    the speeds of serial and parallel ports because
    it uses higher quality cabling
  • Cable has four wires
  • Two for data
  • One for ground
  • One provides up to five volts of power to the
    device

41
Requirements for Installing a USB Device
  • System board or expansion card that provides a
    USB port and USB firmware
  • OS that supports USB
  • USB device
  • USB device driver

42
Installing a USB Device
  • Using Device Manager, verify that the USB host
    controller driver is installed under Windows 9x
  • Plug in the USB device and install its device
    driver
  • Install the applications software to use the
    device

43
Verifying that the USB Host Controller Is
Installed
44
Using IEEE 1394 Ports
  • The IEEE 1394 bus
  • Provides either a 4-pin or 6-pin connector
  • Uses only one set of system resources
  • Is hot-pluggable

45
Types of IEEE 1394 Cable Connectors
46
IEEE 1394
  • Uses isochronous data transfer, an ideal medium
    for data transfers between consumer electronics
    products

47
IEEE 1394 Standards
  • Current standard IEEE 1394.A
  • Supports speeds of 100, 200, or 400 Mbps
  • Allows for cable lengths up to 4.5 meters
  • Is hot-pluggable
  • Under development IEEE 1394.B
  • Will support speeds up to 3.2 gbps
  • Will allow cable lengths up to 100 meters

48
To Use a 1394 Port
  • Using Device Manager, verify that Windows 98
    recognizes that an IEEE 1394 controller is
    present on the system board
  • Plug the device into the 1394 port install the
    device drivers for the 1394-compliant device
  • Install the applications software to use the
    device

49
Using PCI Expansion Slots
  • Up to four slots are supported by the PCI bus
  • Often white in color
  • Faster than ISA bus often used for fast I/O
    devices like video or network cards

50
PCI Expansion Slots
51
PCI Expansion Slots
52
PCI Bus IRQ Steering
  • Makes it possible for PCI devices to share an IRQ
  • System BIOS and the OS must both support this
    feature

53
PCI Bus IRQ Steering
54
Using ISA Expansion Slots
  • Configuration is not as automated as USB or PCI
  • ISA bus itself does not manage the system
    resources, as do the USB and PCI bus masters
  • ISA device must request system resources at
    startup
  • Often black in color

55
When Device Installations Create Problems
  • Likely due to a resource conflict
  • Resolving resource conflicts
  • Know system resources already in use
  • Know what resources the new device will need
  • Install the device using resources not already
    used by your system
  • If a conflict, use MSD, Device Manager, CMOS
    setup, and documentation for system board and
    devices to identify and resolve the problem

56
Resolving Resource Conflicts
57
Once You Have Found the Conflicting Resource
  • If the device is a legacy ISA device, physically
    set the devices jumpers or DIP switches to use a
    different resource
  • If a legacy device can only use one IRQ, then use
    CMOS setup to reserve that IRQ for the device
  • If your PC supports PCI bus IRQ steering, enable
    the feature

continued
58
Once You Have Found the Conflicting Resource
  • Using PCI bus IRQ steering, tell Windows 98 to
    use a different IRQ for a PCI device
  • Use CMOS setup to assign a specific IRQ to a PCI
    device
  • Move the PCI device to a different slot, which
    will cause the PCI bus to assign a different
    resource to the device
  • Disable PCI bus IRQ steering

59
Essential I/O Devices for a PC
  • Keyboard
  • Pointing device
  • Video display

60
Keyboards
  • Design
  • Traditional straight design
  • New ergonomic design

61
Keyboards Layouts
  • Original IBM PC keyboard
  • Keyboard controller chip on keyboard
  • Not compatible with AT and later
  • AT keyboard
  • Enhanced AT keyboard
  • Key layout
  • QWERTY
  • Dvorak

62
Keyboard Connectors
  • PS/2 connector (mini-DIN)
  • Six pins
  • DIN connector
  • Round with five pins
  • USB port
  • Cordless

63
Two Common Keyboard Connectors
64
Pinouts for Keyboard Connectors
65
Keyboard Connector Adapters
66
Pointing Devices
67
Two Mouse Technologies
  • Wheel mouse
  • Optical mouse

68
How a Wheel Mouse Works
69
Methods of Mouse Connection
  • Use the serial port (serial mouse)
  • Use a dedicated round mouse port coming directly
    from the system board (system-board mouse or PS/2
    compatible mouse)
  • Use a mouse bus card that provides the same round
    mouse port (bus mouse)
  • Use the USB port
  • Use a Y-connection with keyboard
  • Use a cordless technology

70
Cleaning the Mouse
  • Remove the cover
  • Clean the rollers with a cotton swab dipped in a
    very small amount of liquid soap

71
Other Pointing Devices
  • Trackballs
  • Touch pads

72
Computer Video
  • Primary output device of a computer is the
    monitor
  • Two necessary components for video output
  • Video controller
  • Monitor

73
Monitors
  • Rated by screen size, resolution, refresh rate,
    interlace features
  • Most meet standards for Super VGA
  • Use either older CRT technology or new LCD
    technology

74
How a CRT Monitor Works
75
Choosing the Right Monitor
76
Monitor Controls
  • Horizontal Size
  • Horizontal Position
  • Vertical Size
  • Vertical Position
  • Brightness
  • Contrast
  • Keystone or Squareness

77
Flat Panel Monitors
  • Are built to receive either an analog signal or a
    digital signal from the video card and have two
    ports on the monitor to accommodate either signal

78
Flat Panel Monitors
  • Compared to CRT monitors they
  • Take up much less desk space
  • Are lighter
  • Require less electricity to operate
  • Provide a clearer, more precise image
  • Cost three times more

79
Layers of the LCD Panel
80
LCD Panels on the Market
  • Active-matrix
  • A transistor that amplifies the signal is placed
    at the intersection of each electrode on the
    grid, which further enhances pixel quality
  • Dual-scan passive matrix
  • Two columns of electrodes are activated at the
    same time
  • Less expensive and does not provide as
    high-quality an image as active-matrix display

81
Video Cards
  • Provide interface between monitor and computer
  • Also called graphic adapters, video boards,
    graphics cards, display cards
  • Main features to look for in a video card
  • The bus it uses (influences speed and
    performance)
  • Amount of video RAM it has or can support

82
How a Video Card Works
83
The Bus Used by the Video Card
  • Since 1995, video cards have been designed to use
    only the PCI bus and more recently to use the AGP
    slot
  • Older video cards were made to run on VESA local
    buses (VL-bus), a proprietary local bus, ISA
    buses, and EISA buses
  • The fastest bus for video on a system board today
    is AGP with a 32-bit-wide data bus, running at up
    to 1 GB/sec

84
Video Card Performance
  • Performance on the video card is affected by
  • Chip set
  • Memory
  • RAM DAC
  • Bus speed and size
  • Methods of improving performance
  • Dual-porting
  • Place a processor on the video card to make it a
    graphics accelerator

85
Graphics Accelerator
  • A type of video card that has its own processor
    to boost performance
  • Necessary with the demands that graphic
    applications make in the multimedia environment
  • Processor is specifically designed to manage
    video and graphics
  • Their features reduce the burden on the system
    board CPU and perform the function much faster
    than the system board CPU

86
Video Memory
  • Necessary to handle large volume of data
    generated by increased resolution and color
  • Stored on video cards as memory chips

87
How Much Video Memory Is Needed?
  • Determined by
  • Screen resolution (measured in pixels)
  • Number of colors (color depth)
  • Enhancements to color information called alpha
    blending

88
Memory Needed to Hold the Frame Buffer
89
Types of Video Memory
  • VRAM (video RAM)
  • MDRAM (multibank DRAM)
  • SGRAM (synchronous graphics RAM)
  • WRAM (Window RAM)
  • 3D RAM

90
Chapter Summary
  • Procedures and guidelines common to most
    installations of I/O devices
  • How to use serial, parallel, USB, IEEE 1394
    ports, and expansion slots
  • Essential I/O devices for a PC
  • Keyboard
  • Pointing device
  • Monitor

91
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com