supporting io devices

Upload: fazrul-rosli

Post on 05-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Supporting Io Devices

    1/41

    Supporting I/O

    Devices

  • 7/31/2019 Supporting Io Devices

    2/41

    Basic Principles of PeripheralInstallations

    Both hardware and software must beinstalled (hardware is controlled by software)

    Install all levels of software

    Device driver must be written specifically forthe OS

    More than one peripheral device might

    attempt to use same resources

    Update drivers, the firmware, or both

  • 7/31/2019 Supporting Io Devices

    3/41

    Installation Overview

    1. Install the device (internal or external)

    2. Install the device driver

    3. Install the application software

  • 7/31/2019 Supporting Io Devices

    4/41

    Ports

  • 7/31/2019 Supporting Io Devices

    5/41

    Using Ports and Expansion Slots forAdd-on Device

    Ports Serial

    Parallel

    USB

    IEEE 1394

    SCSI

    Expansion slots

  • 7/31/2019 Supporting Io Devices

    6/41

    Port Speeds

  • 7/31/2019 Supporting Io Devices

    7/41

    Using Serial Ports

    Transmit data in single bits (serially)

    Nine or 25 pins

    Almost always male

    Originally intended for input and output

    devices

    Configured as COM1, COM2, COM3, or

    COM4

  • 7/31/2019 Supporting Io Devices

    8/41

    Using Serial Ports (continued)

    Port assignments are made in CMOS setup

    Conform to standard interface called RS-

    232c

    Data Terminal Equipment (DTE) and Data

    Communications Equipment (DCE)

    designations

  • 7/31/2019 Supporting Io Devices

    9/41

    Port Comparison

  • 7/31/2019 Supporting Io Devices

    10/41

    Default Port Assignments

  • 7/31/2019 Supporting Io Devices

    11/41

  • 7/31/2019 Supporting Io Devices

    12/41

    Null Modem Connection

    Enables data transmission between two DTEdevices without the need for modems

    Special cable (null modem cable) has several

    wires cross-connected to simulate modem

    connection

  • 7/31/2019 Supporting Io Devices

    13/41

    Pin Connections for a 25-PinNull Modem Cable

    Wi C ti 25 Pi

  • 7/31/2019 Supporting Io Devices

    14/41

    Wire Connections on a 25-PinNull Modem Cable

  • 7/31/2019 Supporting Io Devices

    15/41

    Infrared Transceivers

    Use resources of a serial port for

    communication

    Create a virtual infrared serial port and virtual

    infrared port for infrared devices

    UART logic on the motherboard controlsserial ports on the board

    Line-of-sight issue

  • 7/31/2019 Supporting Io Devices

    16/41

    Using Parallel Ports

    Transmit data in parallel, eight bits at a time

    Almost always female

    Originally intended for printers

    Can be configured as LPT1, LPT2, or LPT3

    Port assignments are made in CMOS setup Avoid using a cable longer than 15 feet to

    ensure data integrity

  • 7/31/2019 Supporting Io Devices

    17/41

    Types of Parallel Ports

    Standard parallel port (SPP)

    Allows data to flow in only one direction

    Slowest of the three types

    Enhanced Parallel Port (EPP)

    Bi-directional

    Extended Capabilities Port (ECP) Bi-directional

    Uses the DMA channel

  • 7/31/2019 Supporting Io Devices

    18/41

    A Standard Parallel Port

  • 7/31/2019 Supporting Io Devices

    19/41

    Using USB Ports

    Effortless installation of slow peripheral

    devices

    Much faster than regular serial ports; usehigher-quality cabling

    Easier to manage; eliminate need to

    manually resolve resource conflicts

    Likely to replace serial and parallel ports

  • 7/31/2019 Supporting Io Devices

    20/41

    Using USB Ports (continued)

    Allow for hot-swapping; are hot-pluggable

    Most current motherboards have one to fourUSB ports

    Managed by a USB host controller

    As many as 127 USB devices can be daisy-

    chained together using USB devices

  • 7/31/2019 Supporting Io Devices

    21/41

    USB Ports

  • 7/31/2019 Supporting Io Devices

    22/41

    USB Host Controller

    Requirements for Preparing to

  • 7/31/2019 Supporting Io Devices

    23/41

    Requirements for Preparing toInstall a USB Device

    Motherboard or expansion card that provides

    a USB port

    OS that supports USB

    USB device

    USB device driver

  • 7/31/2019 Supporting Io Devices

    24/41

  • 7/31/2019 Supporting Io Devices

    25/41

    Using IEEE 1394 Ports

    Transmit data serially; faster than USB

    Likely to replace SCSI for high-volume, multimedia external

    devices

    Provide either a 4-pin or 6-pin connector Hot-pluggable

    Can be daisy-chained together and managed by a host

    controller using one set of system resources

    Use isochronous data transfer

    Isochronous transfers involve large streams of data. This format is used to move

    continuous, real-time data streams such as voice or video. Data delivery rates are

    predetermined and correspond to the sampling rate o the device.

  • 7/31/2019 Supporting Io Devices

    26/41

    IEEE 1394 Port Standards

    IEEE 1394A

    Supports data speeds up to 1.2 Gbps

    Allows for cable lengths up to 15 feet

    IEEE 1394B

    Supports speeds up to 3.2 Gbps

    Allows for cable length up to 328 feet

  • 7/31/2019 Supporting Io Devices

    27/41

    IEEE 1394 Cable Connections

  • 7/31/2019 Supporting Io Devices

    28/41

    Using IEEE 1394 Ports

  • 7/31/2019 Supporting Io Devices

    29/41

    Keyboards

    Traditional straight design or ergonomicdesign

    Two technologies for keys making contact

    Foil contact

    Metal contact

    Installing keyboards

  • 7/31/2019 Supporting Io Devices

    30/41

    Keyboard Connectors

    PS/2 connector (or mini-DIN)

    Small, round, with six pins

    DIN (Deutsche Industrie Norm) connector

    Round with five pins

    USB port

    Wireless connection

    Requires a driver

  • 7/31/2019 Supporting Io Devices

    31/41

    Keyboard Connectors (continued)

  • 7/31/2019 Supporting Io Devices

    32/41

    Pinouts for Keyboard Connectors

  • 7/31/2019 Supporting Io Devices

    33/41

    Pinouts for Keyboard Connectors

    You'll notice a few things about the table. First, there

    are only four actual signals used in the standard

    keyboard interface; the extra pins on both types ofconnector are not used

    (This mismatch means that the connectors were

    chosen either from existing designs to savedevelopment costs, or that room was left for future

    expansion that was never used. Both occur commonly

    in the PC industry.)

  • 7/31/2019 Supporting Io Devices

    34/41

    A Keyboard Adapter

    Since the signals are the same for the two types of connector--they just use different

    pins. This means that simple mechanical adapters can be made to convert between

    the two. These adapters let a keyboard that terminates in a large connector work on a

    system that requires a small connector, and vice-versa.

  • 7/31/2019 Supporting Io Devices

    35/41

    Troubleshooting Keyboards

    A few keys dont work

    Keyboard does not work at all

    Key continues to repeat after being

    released

    Keys produce the wrong characters

    Major spills on the keyboard

  • 7/31/2019 Supporting Io Devices

    36/41

    Pointing Devices

  • 7/31/2019 Supporting Io Devices

    37/41

    How a Wheel Mouse Works

    How a Mouse Connects

  • 7/31/2019 Supporting Io Devices

    38/41

    How a Mouse Connectsto the Computer

    Dedicated round mouse port (motherboard mouseor PS/2-compatible mouse)

    Mouse bus card (bus mouse)

    Serial port (serial mouse) USB port

    Y-connection with the keyboard

    Cordless technology

  • 7/31/2019 Supporting Io Devices

    39/41

    Pointing Devices

    Touch screens

    Other pointing devices

    Trackballs

    Touch pads

  • 7/31/2019 Supporting Io Devices

    40/41

    Troubleshooting a Mouse

    Check mouse port connection

    Check for dust or dirt; reboot PC

    Try new mouse

    Uninstall and reinstall mouse driver; reboot PC

    Reboot PC and select logged option from startup menu to createBootlog.exe file

    Continue to boot and check log for errors

  • 7/31/2019 Supporting Io Devices

    41/41

    Other Devices

    Scanners Web Cameras

    Biometric Devices

    Bar Code Readers Touch Screens