PC Understanding
PC Understanding
The Bus
Bus is group of connecting wires that are used to conduct an electrical signal. These
are used to data transfer between all the devices connected to the computer.
BUSes are divided into three parts:
1. The Data Bus
These are used to transfer data in the CPU. It is used to transfer data in CPU. It
acts as measure of CPU performance. It transfer data in a given time. It is used
to carry data from CPU to RAM, ROM and I/O units and time & control unit.
The data lines are represented by D with prefix ie. D0,D1,D2…
2. ADDRESS BUS / MEMORY BUS
These are used to define address in the CPU. It is also known a memory bus. It
does not carry actual data but carry the location address of the particular data.
Address Bus measure the data in terms of address lines.
The CPU with address line 10 will have address 210 = 1024 bytes
Address lines are presented by A with Prefix : A0,A1,A3…
Processor Mode
Mode is a way that create a system for itself to its processor creation and operations.
Processor mode is responsible for managing and controlling the system memory and
its use.
Processor mode are classified into three types
1. Read Mode
This mode operates CPU in limited environment mode
Has advantage of accessing speed
Compatible with intel 8088 chip
All processor supports real mode+
Computers normally boot up in real mode or DOS mode
2. Protected Mode
Modern multitasking operating systems use protected mode
First implemented in 80826 chip
It has several advantages
Offer faster memory access
Support multitasking access
Can execute many programs at a time
To limit for accessing memory, can use additional memory
Needed along with the support of virtual memory
3. The Virtual Read Mode
It is the enhancement of protected mode. The virtual mode issued to run
graphical multitasking operating system like window. It allows to run DOS using
some necessary files, The virtual real mode machines have separate address
space which help to run DOS programs in virtual real mode.
2) Pipelining
It is a technique to construct faster CPUs. By pipelining more than one
operation can execute at a time. Pipelining allows to start execution of another
instruction even fist is still executing. It allows to execute many instructions in
a clock cycle. Pipelines helps in using the resources as CPU can only complete
one instruction per clock cycle.
3) Super Pipelining
It is similar to pipelining with a feature of series of operations are unblocked so
that many instructions are executed at a clock cycle time
4) Speculative Execution and Branch Prediction
It is used to give the probable prediction on branching the instructions in the
CPU. Pipelining has issue in branches, as pipeline is not linear but the sequence
of program execution changes from one level at another in given time. As CPU
executes many instructions at a time and it difficult to maintain the branching
and it need to jump speculatively to next instructions. This is done by predicting
the branches by using if, then, for etc conditional statements
5) Dynamic Execution
It is a technique which is used to predict the multiple or nested branches. It
makes CPU to order the level of the instructions execution according to the
branch in order to enhance the performance of the CPU.
6) Register renaming and write buffers
While executing multiple instructions it should be in proper way. In order to
make separate registers it is renamed which help in avoiding the pipeline
overloading or jam. After execution of instruction result are stored in the
memory location which is done by write buffers. These buffers help in
execution of various instructions and avoid jam or pipeline stalling
7) Multiprocessing
This is a way to run more than one processor in one system. More processor
means increased performance of system and it is directly proportionate to
increase in the number of processor. Main requirement of the multiprocessing
is:
(a) A host computer must have motherboard which can support multiple
processors
(b) Host computer should use the processor which suites multiprocessing
(c) Operating system of computer should support multiprocessing
Multiprocessor operating system are Windows, NT/ 2000or Linus
8) Multimedia Extensions
Multimedia extension is a booster in CPU performance. Only technocrats are
not enough, effective presentation using graphics, animation etc. also make
sytem successful.
SIMD (single instruction multiple data) was used in intel motherboard to
support graphics with MMX extension, 3D is done by using more instructions
by AMD and SSE Motherboard
SSE-II, use SIMD extension which support audio, video graphics and speech
recognition.
List out the import features of MMX technology
MMS is an extension for multimedia extension or matric math extension, these are
used to provide hardware support to multimedia applications. Main features of
MMX are
(a) Its primary caches are twin than earlier processor. It has 16 kb each for level 1
data and instructions caches.
(b) Cache mapping improved by 4-way set associative.
(c) Pipeline feature increase the execution level to 6 stages.
(d) It helps in optimal use of pipeline by running the instructions in two
executive pipes.
(e)Accuracy improved by using branch prediction device.
(f) Efficient in instruction decoder.
Usually the BUS is the common means for sharing data and this data transfer is done
between all the devices connected to it. The BUSes are also called processor signals.
The several sets of these signals are divided into three main sets, mainly:
The Data BUS: This BUS is responsible for the to and fro movement of information in
the CPU. It acts as a measure of CPU performance. It is also used to carry data in and
out of the CPU at any given time. As shown in figure 1.1 the data BUS is used to carry
the information from CPU to RAM, ROM and I/O units as well as among Timing and
control,
BUS interface and ALU. The data lines are usually represented by “D” prefix (D0, D1,
D2, and D3 … Dn).
The Address BUS: This BUS is used to define address in the CPU. It is also called as
memory BUS. The Address BUS does not carry the actual data but carries the specific
address of that particular data. The address BUS measures the data in terms of
address lines. For example, the CPU with address lines= 10 may have address 210 =
1024 bytes. The “A” prefix (A0, A1, A2, A3 … An). is generally used to represent
address lines.
The Control BUS: This BUS is also called as timing and control BUS. It is used to control
and coordinate the CPU operations. The various signals are read, write, interrupt,
and acknowledge; parity checking, cache operation and power control and
management.
Table 1.1: Difference between the three BUSes
Data BUS Address BUS Control BUS
Transmits Transmits Transmits
instructions address to number of
to the CPU memory before individual
from any instructions signals that is
memory for or data can be used to control
execution. written. and coordinate
the operations
Carries Carries Carries
data or addresses or individual
operands locations signals
1.2.2 Processor Modes
Before we proceed to the CPU concepts and its architecture, it would help you to
have a brief introduction to some of the concepts of processor modes. In generic
term, mode is a way that creates a system for itself for its processor creation and
operations. Processor mode is responsible for managing and controlling the system
memory and its use. Processor modes are classified into three types as:
Real Mode: This mode operates CPU in a limited environment. The real mode has the
advantage of accessing speed. It is compatible with Intel 8088 chip. All processors
can support real mode. Computers normally boot up in real mode or DOS mode.
Protected Mode: This mode used in modern multitasking operating systems was first
implemented in 80826. Protected Mode has several advantages. o It offers faster
access to memory
o It supports multitasking facility that manages the operating o System in the
execution of many programs at a time. o There is no limit for accessing the memory.
o It allows the computer to use additional memory whenever o Needed along with
the support of virtual memory.
Virtual Real Mode: This mode of operation is the enhancement of protected mode.
Protected mode is used to run graphical multitasking OS like windows. If you want to
run DOS program in the windows system then you would have to use the virtual real
mode. This is because the necessity of running DOS program on real mode and not
in protected mode has given rise to the virtual real mode. This mode will simulate
the real mode to start in the protected mode and help in running DOS programs in
windows. The virtual machine will have separate address space dedicated to it, which
helps in invoking this feature of operating virtual real mode machines.
Unit 2
Memory is used to store and retrieve information and experiences. Major processors
of Memory are:
1) Encoding -> Converts information into usable form
2) Storage -> Encoded form of data is stored in storage space in the free
space of the memory
3) Retrieval ->Make information stored in storage space available whenever
required
T1: Explain the organization of memory
Memory Organizations:
Memory is organized in for the form of Row and Column in single dimension array
system.
Each row contains the address (0 to 7) of the memory and column contain the data
of single bit.
Columns are represented by D0, D1, D2, D3, D4, D5, D6, D7.
Memory effectiveness depends on the intersection of individual row and column.
SIMM once installed can’t be install backwards but, With the help of standard
pin architecture, it can be transported from one PC to another
MEMORY CONSIDERATON.
Importance of memory is growing in rapid speed and it is not a storage space for data
bits. It is very difficult to track the memory options and understand the architecture.
Points to consider before selecting memory are memory speed, its layout etc.
1. Memory Speed
CPU performance depend on the memory speed, and when low cost memory
chips are used CPU has to wait for the memory catch up with the speed.
System can always extend its memory with faster memory to increase the
performance.
Memory speed is defined as the time taken to access one bit of data from the
storage space. It is measured in access time which is in nanoseconds (ns).
Access time is the time delay that takes place from the beginning of the access
till get the valid data ready for use.
Cycle Time : Cycle time is the minimum amount of time needed between the
accesses. These times are measured in nanosecond, memory with high
performance is rated in terms of megabytes.
System can always extend its memory with faster memory to increase the
performance. Therefore, some mechanism should be altered between the
memory and its architecture for the particular performance. The cost in
tailoring the architecture and memory is too high when compared to the rate
of performance. Therefore, it is better the system be altered only when the
system is obsolete i.e. working too slow.
2. Wait State
Wait state is defined as the state of a program which is waiting for the
processor so that an event should complete its processing. It is a state when
processor is not available for an operation and it is waiting as the another
operation is to complete its execution. When memory process need to wait
then it needs to insert a new clock cycle, which gives additional time to memory
to operate. Current PC use one wait state while older computers uses two-
three wait states. As the wait-state increase performance of the system
decrease.
MEMORY TYPES
Memory is broadly divided into two Type
ROM (Read only Memory ) and RAM (Read Access Memory )
1) Read Only Memory (ROM)
ROM is an integrated circuit chip in the motherboard that allows only to read
the data and do not permit to edit or modify it. It is also called a fireware. This
is a non-volatile memory i.e. data will be secure on the power cut or any failure
occurs data will not have lost. Only disadvantage of the ROM chip is that once
the data is stored by manufacture it can’t be erased, and while creating the
programs to embed if any mistake occurs then correcting to it will not be
possible.
There are different types of ROM available which allowed to extent to rewrite
the content in the memory or reuse the memory:
MEMORY TECHNIQUES
Memory should be selected in a way that its performance does not affected due to
the cost. To use inexpensive and existing memory types in the architectures which
is well defined with the help of memory technologies. Mostly used architectures in
all the system are:
1) Page Memory
In this technique the data is transferred from secondary memory (hard disk) to
the main memory in the form of pages. Pages are the block of same size. Paging
allows the CPU to use free available address space in the RAM memory. The
memory makes partition of the RAM into smaller groups or pages of size of 512
KB or a bit more. If the access takes place in the current page it can accomplish
within zero wait state, if access occur outside the current page one or two wait
state can allowed until that particular page is found.
This type of technique is used on high end i286 model and i386 systems.
2) INTERLEAVED MEMORY
Interleaved Memory is the combination of two banks memory i.e. it required
two memory modules. When the first memory is performing some process
second memory is reading the data of another process. Performance is better
in Interleaved memory due to combination of two memory modules.
3) Memory Cache
To run programs that are used very frequently or repeatedly in software, CPU
required very fact memory which enables the execution of the program in less
time. This is a small memory which is very fast and acts between CPU and RAM.
It operates in 5-15 nanoseconds which is fast enough to process CPU in zero
wait state. Content read on the motherboard is copied to cache and read it
from cache to cache if there if there is any content present on it.
If the content is not present in the cache memory it is called cache miss. Then
it searches for the content in the DRAM for the content in one or more wait
states. Cache memory is classified into two levels - internal cache and external
cache.
4) SHADOW MEMROY
In this technique Data is transferred from ROM to RAM creating copy of the
data. ROM devices are comparatively very slow and its access time takes
several nanoseconds. Therefore, in turn it increase number of wait states used
in access. This automatically decreases the potential performance of the
system. In show memory the content is loaded from ROM to RAM, so
whenever content in ROM needs to be accessed, it can be accessed from the
faster RAM memory rather than accessing it from ROM.
T4: How do we select a memory.
SELECTION AND INSTALLATION OF MEMORY
1) Getting the Right Amount
It is always considered that what is the amount of memory required to make
CPU perform at best all the time. Getting memory and installing will be ease if
it cost is less, but SDRAMs is considered best but it cost is too high. We must
have enough memory in the System, but it is always difficult to define the
amount of memory which is enough due to the transformation in the PC
industry as memory requirements varied from generation to generation.
System
2) Filling Banks
The amount of memory that is enough to fit the bit width of the data bus is
called memory bank. The size of memory in MB does not matter until bank is
filed. Its main requirement is depending on three components - Memory
Amount, Memory Matching and Bank Order.
The entire bank should be filled with sufficient amount of memory. It a system
has bank 0 filled with 8 MB then next ban 1 also must store with 8 MB for
smooth processing. The modules must have same size and sped in the bank.
This is called memory matching.
EXPANSION SLOTS
Expansion slots are slots which provide external connectivity with motherboard to
other connect other devices such as video controller, SCSI host controller, network
card etc. these allow the system to communicate with the outside world with the
help of additional boards. These are present at the back of the computer and allow
the ports in the card that go inside it to be accessed.
Type of Expansion Slots
a) Industry Standard Architecture (ISA)
ISA is an old type of expansion slot and is used to connect the system with video
cards, sound cards, networking cards etc. These are bigger in size as compare
to other expansion slots and not in much use these days.
b) Peripheral Component Interconnected (PCI)
It is a high speed intelligent bus. It has 64 connections on the motherboard and
each connection is capable to handle data of 1 bit at a time. Expansion slot
changes as the technology changes. The video cards can be inserted along with
older network cards.
c) Accelerated Graphics Port (APG)
It provided high speed data path between video card and the motherboard.
Motherboard has only 1.5 V AGP slot.
d) PCI Express (PCIe)
It is a new technology which is replacing APG. PCIe x16 It can transfer data upto
4 GB on the motherboard which is twice in speed in compare to AGP. It comes
in first different sizes s - PCIe x 1, PCIe x 2, PCIe x 4, PCIe x 8, PCIe x16.
MEMORY SLOTS
Memory slots are small holes or gaps which are used to connect external memory
devices to the motherboards. RAM in today’s motherboard must be added in
motherboards through slots. It is easy to install memory slots in the motherboards,
but during upgradation of the memory it involves more of adding larger modules
than adding slots.
MOTHERBOARD UPGRADATION
When a system gets older motherboard has very limited feature for upgradations.
However, a CPU can be upgraded by adding RAM but it has very less impact on the
motherboard’s performance. Even, motherboard rates are decreasing regularly and
it is cheap to buy a new one. Motherboard upgradation is a very easy process but it
is a time consuming and detail-oriented process. Points need to consider before the
upgradation are: -
a) Each motherboard has its unique features, so must be careful in
specifications of I/O ports and its types will determine the feature of
expandability.
b) Consider the size of the motherboard as it has to be placed inside the
system space. It must be tightly fixed in system.
c) Space for new slots and new processors must be available in the
motherboard. If upgradation is to add AMD or dual core have to take care for
heat sink also and it must be fit with expansion slots.
d) While buying a new motherboard make sure that all the components are
working properly or there is any need for further upgradation of the
components. The main component to be taken care of is to see whether the
old hard drive support the new motherboard and it
It’s all functions full potential
e) It is always better to change the motherboard with new one rather than
changing alone the defective parts because a new motherboard gives good
support with respect to cache, space and RAM availability.
f) To overcome the cost effect of time, many organisations have designed a
device that mounts processor, cache and RAM on a readily accessible module
which is called daughter card. It is based on modular mother board. This can
be replaced in few minutes once the upgradation is done. Only disadvantage
of this module is that each daughter card needs to be designed for a particular
motherboard which is specified and sometimes it becomes costlier than the
conventional motherboard.
g) Instead of taking more time to replace the motherboard, Microchannel
system can be installed to any of the expansion slots. This system is called
processor card. It takes whole control over the resident CPU and logout of the
original processor. Though the cost of the processor card is more than another
CPU. It is more standardized than daughter board.
2. CMOS SETTING
CMOS settings must be updated to load in the new motherboard’s CMOS. Current
BIOS versions allow to enter BIOS dafaults in the CMOS Setup, Some COMS have
to do manually.
SETS FOR MOHTERBOARD UPGRADATION
Handle screw drive very carefully, if anything slip in motherboard it can
damage it.
Turn off all the system and unplug it from the power socket before
opening the cabinet
Place all the screws in safe covered place,
Label the things which are mark in PC, which will help in connecting back
the cable after upgradation.
Before removing original motherboard, make a safe place to keep
motherboard
Remove the expansion board and place inside the antistatic bag and keep
bags on antistatic mats. Remove all the screws carefully and do not apply
much force. Do not try to remove motherboard forcefully, make sure all the
screws are removed.
Remove the cable connected to the motherboard
Detach the drives - floppy, hard drives etc
Disconnect the power supply
INSTALLING THE NEW MOTHERBOARD
While installing the new motherboard, effort is required to see that the
motherboard is fitted in the cabinet properly. Steps to be taken are:
1) Make sure all the slots and ports are properly aligned. Holes from the
cased must match with holed of the motherboard. Do not apply much force
to fix anything, it can damage the motherboard.
2) Fix bolts in such a way that motherboard is away from contact with
conductive materials. Use nonconductive washer between the bold and the
motherboard.
3) Read user manual for clarification and check the jumper for each module
or DIP Switch like switch on/off, case indicator lights, reset buttons and
speakers.
4) Reassemble the original system which is disconnected. Make sure all the
memory modules, BIOS, RAM, CMOS are fixed properly.
5) Connect the external devices e.g. keyboard, mouse, monitors, printers
etc.
6) Test the system to ensure all the components and cabling are well jelled
with each other. Switch on the power and POST will start, it performs the
preliminary checking for the availability of various components that are
essential to boot the system and ensure the correctness of the operating
system. Select ok to start the setup. Review the COMS setting, which is
responsible for the boot of the system and help in maintain performance.
7) Set the variables in their default states and reboot the system
8) Finally install the hardware drives for newly installed components, if any.
STEPS TO IDENTIFY WHETHER TO REPAIR OR REPLACE THE MOTHERBOARD
When any component of the motherboard fails or shows problem in it functioning.
In order to make decision to replace it or repair we have to take some steps to
inspect the PC:
1) Make sure all the connections are properly connected. Check power
supply, power cable and other cables are attached tightly and correctly.
2) Check all the CPU Chips, ROM Chips, CMOS, RTC modules are mounted on
the respective socket properly.
3) Ensure that the AC power supply in is proper order.
4) Take care of electrostatic precautions
5) If motherboard have any port connected, disable by setting jumpers or
switch.
6) Screw drivers connected are properly fitted. There is enough space
between connecting materials and motherboard.
UNIT 4 =- BUSES
BUSes are collection of electrical cables that are used to transferred data,
information or the address of the memory location. These are used to communicate
between two or more components of the computer. BUS consists of three major
part - Address BUS, Data BUS and Control BUS. A bus is also called backbone because
if connects the computer through one cable.
Address BUS - Carried the information of the location of the information.
Data BUS- Carries data between different components for execution.
Control BUS - Allows transferring the control instruction from CPU to memory or I/O
devices
BUSes are measured in terms of Clock Speed and marked by MHz Width specified
the amount of the data transferred in one time. Buses are connected to number of
devices which are working at different speed. When device operate slow then other
device can’t send or receive data, therefore clock speed need to set so that all the
devices interact with each other at same time.
Expansion buses are used to connect the system with the peripheral devices like
printer, monitor, scanner etc.. This makes PC a flexible machine that can be
configured to the requirements of the external devices or add-ons.
Fast Bus - In order to make the applicable execution faster and transfer of
data bits faster, fast bus is used.
Local bus- is used to directly connect the data transfer to the CPU
Serial Bus - which allows the data travel in single bit serial form
Parallel Bus - Allows data transfer in multiple wires in a parallel form.
Internal Bus- Used to connect with internal components like sound card,
CPU etc.
External Bus- Used to connect with external devices like, USB, Printer etc.
Bus can be Unidirectional and bidirectional.
Unidirectional Bus-> Allow data transfer from one computer to other computer in
one direction.
Bidirectional Bus ->Allow data to travel through it from one device to another device
in both directions.
Different architectures are designed to support different kinds of buses, computer
system and its components. Depends on the architecture the bus is divided into
three major types –
1) Industry Standard Architecture (ISA)
2) Peripheral Component Interconnected (PCI)
3) Accelerated Graphic Port (AGP)
This bus support connection for 6 interrupts (IRQ2-IRQ7) and three DMA channels
(DMA0-DMA3). All the connector on the bus is supposed to work in the similar
fashion. PC is designed with 8 expansion slots requires any card inserted in the eighth
slot to provide a special signal called “card selected” or pin labelled B8. Timing
requirement for the eight slot are also tighter.
Interrupts and DMA (Direct Memory Access) channels are supported by this bus. An
interrupt is an event in hardware that triggers the processor to jump from its current
program counter to a specific point in the code. DMA channels are system pathways
used to many devices to transfer information directly to and from memory.
16 BIT ISA
It is an expansion to 8 Bit ISA with the connection of 36 pin connector added alon
with the 62 Pin connector. 8 Bit bus replaced by 16 Bit bus by doubling the number
of data bits and adding pin connectors. It is used in PC/AT bus. It is used in IMB’s
second generation PC designed 6 Mhz Intel 80286 microprocessor and released in
1984 as machine type 5170.
In addition to 8-bit data, 16-bit bus consists of extra 8 bits, five interrupts and three
DMA channels. One extra bit is used for +5 dc volts which is not included in number
of bits. It is also added with 04 additional address lines. The speed increased from
4.77 MHz to 8.33 MHz.
PERIPHERAL COMPONENT INTERCONNECT (PCI)
32 bit bus fails to process Graphic cards. There are two VL and PCI to overcome with
the issue. VL (vesa Local Buses) – Video Electronics Standards Association local bus
acted as high speed bus path for DMA and memory mapped I/o which is different
from ISA Bus and ISA bus handles interrupts and port mapped I/O. Disadvantage
with the VL was that Bus performances depends on the CPU performance only and
does not have its own standard specifications.
AGP VS PCI
Accelerated Graphics Port (AGP) and Peripheral Component Interconnected (PCI)
both buses used at least one PCI Bus. AGP is not mean to replace PCI but to enhance
PCI in terms of graphic cards functioning. A 32 bit AGP will easily fit into PCI
configuration.
Main difference between the AGP and PCI are:
Bandwidth capacity of AGT is 4 times greater than PCI due to its pipelining
and super-pipelining features.
AGP support optimized 3D graphics.
PCI fixed clock speed is 33 MHz while AGP clock speed is up to 66 MHz
PCI make only one request at time and take other data transaction one
first is complete, while AGP makes multiple request for transaction at a time.
AGP does not shave bandwidth with other devices while PCI share it with
other devices also.
PCI AGP
Address / data is multiplexed Address/ Data is de-multiplexed
No pipelined Request is pipelined
Data bytes high speed 133 MB/s Data bytes high speed 533 MB/s
with 32 bits with 32 bits
Multiple target and multiple Single Target and single master
master
Connected to the entire system Connected only to read/write
memory.
High / Low Priority Queues No priority Queues
AGP Layout
AGP used in ATX and NLX machines (New Low Profile Extended) is form factor
proposed for low profile, low cost, mass-marketed retain PC.s NLX specifications
defines the motherboard size, hole mounting, locations, rise card location. It has
three variants 3.3 V, Universal and 1.5V. Though the signal layout is similar the key
locations are different, and cards can’t interchange.
AGP Signals
Signal Functions
PIPE # This request if asserted by the current master. This
indicates that the request has to queue up the full
width request
Read Buffer Indicated whether the pre-requested low priority read
Full signal data can be readily accepted by the master
(RBF#) Once RBF# is asserted, the arbiter can’t initiate the
request of take back the low priority read data to the
master
Write Buffer Indicated whenever there is data keying from the core
Full Signal program to ensure that whether master is ready to
(WBF #) accept the data.
Once WBF# is asserted, the arbiter can’t initiate the
request to provide data
GNT # Indicated that the signals have some meaning to the
master
FRAME # Indicates the output from the core logic
AD Bus 2x data transfer mode on address line is provided
Strobe 0 Data providing agent drives this signal
Signal
(AD_STB0)
Side Band Timing for SBA is provides and driven by AGP master
Strobe
Signal (
SB_STB_
CLOCK (CLK) Provides timing for both AGP signals
TROUBLESHOOTING OF BUSES
In general troubleshooting of buses not done as it is a passive connector and can
be easily replaced. But to troubleshoot some of the major signals connected to
motherboard POST board LED lights are used to flash on POST Board to indicate
the status of the power supply, control signals and cock time. When the LED is
missing in the board then it means there is some error in the connection in the
motherboard.
Points to rectify the Bus Errors:
1. Check voltage level in the bus by suing multi-meter. Voltage should be
between -12 volt dc and +5 volt dc. Low voltage bus should have +3.3 Volt dc.
In case of any fault in the Bus, power supply has to replace.
2. Timing signal for external devices are provided by CLOCK signals, and
need to be adjust between 0 Hz to 33 MHz. Expansion device will not work if
the CLOCK signal is 0. In that case check the motherboard circuitry and rectify
that.
3. After correction and rectifying the expansion device, set it to original
setting by reinitializing by using Reset Signal which will active for one or two
time after power supply is switched on.
Important Considerations while connecting Bus to the various components
Bus slot version should be clear, as PCI slots are compatible with the only
slots to which they are designed for.
Connectors are mechanical devices and should and fixed at right place in
motherboard. Any wrong connection may result unreliable connection and
can cause failure to any function or cause severe motherboard damages.
Faulty board should be replaced or removed. Remove and reinsert the
board. Since board is metallic device, it may cause metallic oxides and effect
the function of device. Metallic oxide change be cleaned after removing the
expansion slots and reinsert it after that.
In cause of faulty board remove it and test in other board before replacing
it to make sure that problem is related to motherboard only. Sometime BUS
may also cause component failure.
UNIT 5 CMOS
E1: Need of CMOS
CMOS – Metal Oxide Semiconductors
CMOS is a Semiconductor, battery power chip which exists in the motherboard. Its
main features are:
(a) Retain certain system information like date, time and some system setup
programs when the computer system is shut down.
(b) It is a very low-power static RAM and have 128 bytes of memory.
(c) Whenever computer boots us it provides storage facility to the RAM to
store information such as Hard Disc Type, Keyboard Type, Display Type,
Chipset, Data and Time etc.
All the information lost when the power is switched off. Only last saved information
remains, therefore CMOS is used to access hard disk along with needful information
UNIT 6 BIOS
Basic Input and Output System
BIOS is an electronic program that instruct to computer to start the operation. It is
a collection of instruction in ROM Chip which is designed to manage themselves at
all conditions. BIOS occupy 128 KB of upper memory space in the motherboard. BIOS
main functions are:
(a) POST: It verify that all the components required to boot he system are
available and in working conditions.
(b) CMOS Setup routine: To configure the Hardware and RAM
(c) System services routines.: To form a layer between hardware and
operating system.
Power-On-Self-Test
POST is a routine that make ensure that all the components and functions of the
computer are working properly to start the computer. It checks system for
availability of resources and manage the initialization of the computer system
entirely. Main tasks done by POST are:
(a) Initialization of all the activities for the PC
(b) Low-level diagnostic and reliability test of system RAM and ROM
instructions
(c) Checks the CPU, motherboard start up, CMOS for system configuration
data (The Upper Memory area of 128 bytes of CMOS)
(d) Sets interrupt vectors for the CPU ranging from 0000h to 02FFH i.e. from
0 bytes to 768 bytes. It is on-chip expanded RAM area of total 768 bytes, which
can be accessed by external direct addressing mode with instructions.
(e) It set up a BIOS stack area ranging from 0300h to 03ffh, i.e. 769 bytes to
1023 bytes
(f) It loads the BDA in low memory ranging from 0400h to 04FFh i.e. 1024
bytes to 512 kb
(g) It detects for the optional equipment’s if any.
(h) After performing all the checks and managing, POST proceeds to boot the
operating system in available disk.
Routines
Routines are set of sequences of computer BIOS program which work as an engine,
it is consists of standard unvarying procedure which are classified into two types
(a) CMOS Setup Routines
CMOS setup routines are the set of instruction in BIOS RAM used to alter and
test the CMOS settings. This routine set the parameters for hardware drives
and attributes required by computer to store them. This Routine helps in hard
drive installation. In old computer CMOS setup routine are provided by using
external utility in the form of floppy drives, but in modern computer these
routines are built in the Motherboard BIOS. When POST encounter any
mismatch while comparing hardware setting information with CMOS RAM,
CMOS setup routine halt the boot process and display system setup error.
c) Software Condition
Software interrupts is generated by a CPU has to check the hardware device.
E.g. whenever we press “PRNTSCN” *(Print screen button) it generate INT
05h, it stores the video or text buffer to the printer port and execute when
shift+printScreen is pressed and when the BOUND instruction detects a
bound failure.
BIOS Features
BIOS supposed to improve its technology get meet with rapid improvement in
motherboard, chipset, video, drives etc. BIOS main features are:
(a) CPU Support -
(b) Chipset Support
(c) Memory Support
(d) Drive Support
(e) Power Management Support
(f) I2 /O support
(g) Plug-And-Play Support
(h) USB Support
(i) Parallel Port Support
(j) PCI and AGP Support
(k) Antivirus Support
BIOS Classification
Bios are classified upon the type of its manufacturer. Some of the BIOS manufactures
are :
(a) AMI BIOS
American Megatrends Incorporation (AMI) is the leader in development of BIOS
and its different versions for PC. Code for BIOS which consists of details of its
age, motherboard manufactures, chip identification etc. appears in the lower
portion of the POST Display.
Older Format for the Code is
AAAA-BBBB-DDMMYY-Kx
AAAA – Chip identification code
BBBB – AMIT customer reference number which is code of the motherboard
manufacturer
DDMMYY - Date of release of BIOS in the Day/Month/year format
Kx - K stand for Keyboard BIOS and x stand for level of revision
A -> CPU vintage - 8086 ->0; 8088 ->1, 80286 ->2, 80386->3,80486-> 4, Pentium
->5 and so on
# is size of BIOS where 0= 64kb and 1= 128 kb
BBBB-> Version number of BIOS
CCCCCC -> AMI Customer reference (motherboard manufacturer)
DDDDDDD -> Key operating attributes of the BIOS with eight logical flags
o Halt or error during POST
o Initialize CMOS RAM at every boot
o Keyboard controller output pin 23, 24 blocked
o Mouse support in BIOS and Keyboard controller
o Wait in case of POST Error
o Display Floppy error during POST
o Display Video error during POST
o Display Keyboard error during POST
EEEEEE -> is the format of Release of BIOS in Day/ Moth/ year
FFFFFFFF -> is BIOS Type which also include chip identification code
G -> G indicated the BIOS code and level of its revision
(b) Award BIOS
Award BIOS is another manufacturer or BIOS. Its code appear at the lower
portion of POST display.
For AAAAABBCD
AAAAA-> type of chipset used in motherboard
BB -> motherboard manufacturer
C-> Model of the motherboard
D-> Represent constant value and it have no meaning. It remains always 00
(c) Microid Research BIOS (MR BIOS)
The BIOS identification is situated at the top right corner of the summary
screen. It consists of Motherboard model and manufacturer e.g. C&T_300
represents it is designed for Chips and Technologies using CS8230 processor.
Power Wastage
Power wastage in a regulator can be reduced by supplying the enough energy
need to the regulator. This achieves and maintain a stable output which
increase the efficiency of the power supply and excess of input energy
circulated to a feedback loop.
Feedback loop
Feedback loop is a path that leads to the initial generator point of the feedback
signal to the subsequent modification of that event. Feedback signal maintains
a check on the output voltage provided to the load and turn the AC witch on or
off as per requirements and maintain the normal level of the output without
creating much heat which prevent loss of energy in the form of heat.
Duty Cycle
Duty cycle is the amount of time that a signal is “on (active or logic 1)”. Duty
cycle is a fraction of time refers to how long a system can keep operating before
it needs a rest. One switching on power supply, transistor is turned on and off
at high frequency and long duty time.
The adjustment to the duty cycle is done continuously with the help of
switching circuits, which acts as a chopper and breaks the pulsating DC into
chopped DC and forms a signal for a step-down transformer which leads duty
cycle to affect the AC voltage.
Power supply is the lifeblood of the PC so identify the basic power problems
and upgradation of the power supply is very important. There is some general
problem indicator by which problem can be recognized.
(1)The Computer Freezes midway of the system working
In general computer can become stable with any problem with application
or configuration fault. Power supply can also be suspected if computer
freezes for server times in an hour or in day.
(2)Random Memory Error
Memory errors always does not indicate power supply error. However, if
the see memory error message or face trouble after upgrading the device
driver it can be power problem. It can happen when system is placed in new
place.
(3)Hard Drive Data is lost or corrupted
It can be due to lose data cable, or may be OS error. If have any problem in
drive reading or writing, check power supply before taking disk backup and
do any disk diagnostic.
(4)Trouble in communicating with modems or peripherals
While using mouse or modem the chances of communication error like
modem driver missing, mouse not connected etc. First, check for the
connection and make sure are configured properly. If system is ready and
working problem may have problem midway or difficulty may occur while
working with a printer which may be due to power problems.
(5)Hardware Failure
The Problem of this type of problem is recurrence. Suppose, there was
memory problem and it was rectified by replacing it. After few day same
problem appears again. It may be due to some spikes in the power supply
AC line. Power problem may cause all system o crash even the real problem
might not be apparent. It can damage one or more chips on the
motherboard, expansion boards, drives.
Dealing with Power Problems
Check for AC: Oscilloscopes is a device which is used to measure and view the
voltage, we are very expensive of measure smaller Hz of memory, alternative ways
to check the test the Voltage Supply:
Use multi-meter to measure the output, check the obstructs in the circuit
in case of low voltage supply
Devices like air cooler consumes high voltage. Check if any such device is
connected with the same line. Switch off them and start the computer and
make sure computer is turned off, if want to use these devices again.
If not devices connected, check for line for the outlet and try to get one
direct line with proper grounding for the PC .
If all the above terms are satisfied and still PC is Power problem still exist,
this will be problem with power supply only.
Suspect the supply: If problem in power supply is suspected, it may be in the
hardware. Check voltage at each supply using multi-meter. Make sure good quality
protector are used, also check on another AC line to avoid spikes.
The correct voltage is between +12 Vdc and +5 Vdc. Low voltage will be indication
of attachment of other devices with the same line and system is overloaded, if any
new device is attached try to remove that it may be due to device upgradation.
Hard Drives are the machines that read and writes the data in the respective disks.
Disc drives makes the disk to rotate and had head which reads or writes the data
onto the disk.
The Hard Drive construction
Hard drive is also known as hard disk drive or fixed disk drive. It is the main and
largest storage device in the computer and usually referred as C: drive. This contains
all the important programs and applications of the computers. Hard drive is non-
volatile memory, random access device for electronic data in the computer. In hard
drive data is stored in long, thin tap which is coated with some magnetic material on
its surface.
Data from Hard disk is read/write from the rotating discs with the help of read/write
heads of hard drive. Hard disc is consisting of different parts which do the different
function.
(a) Platter
Platters are of rough and solid substrate made of aluminium. Platters are
circular in shape and coated with magnetic substance from both sides to read/
write data. Plater are attached with two more heads to read/write data into
disc. Platter move in one common axis and heads move on radius of platter
and read data of all parts of the surface.
The information of each division of platter is formed to represent a specific
location. This forms a design of set of concentric circle which is used to record
the data. These concentric circle on platter is called track which are further
divided into sections. Head of both side surface always remains on the both
side of respective track. All the tracks together called as cylinder and sometime
track and cylinder are used interchangeably.
Platter contains thousands of tracks which further divided into smaller segment
known as sector. Each sector holds a 512 bytes of data which include error checking
and housekeeping data, which is used to identify the sector, track and CRC Result
(Cyclic Redundancy Check). Hard disc is manufactured in high priority due to
extreme smaller versions of the components.
CRC Result (Cyclic Redundancy Check) is a function which is designed to detect the
change in data which occur accidently. It is also known as polynomial code
checksum.
CD ROM DRIVE
Basic of CD ROM
Compact Disc, read only Memory, is an adaptation of the CD which is design to store
data inform for text, graphics, sound and video. Due to advance digital approach its
excellent sound quality remains always same even when played again and again. As
name suggest, CD ROM only can only read data. It is popular for its low cost, good
reliability and broad media compatibility.
CD Media
CD’s are made by stamping the pattern of pits and lands onto a molded
polycarbonate dis which is also known as substrate. It is covered with silver coating
to reflect the last light. A touch scratch resistant is coated on disc after silvering.
Finished disc is labelled with silk screen which is a printing technique where artwork
is converted onto films to create a fine mesh screens.
CD Data
CD’s data are recorded as a single continuous spiral track ruing form the spindle area.
The inside dot lines show the relationship between the pits and lands. CD use a high
focused laser beam and laser detector to sense a presence or absence of pits. When
laser lights strike the land it reflects that light towards detector which produces a
very strong output signal. When the laser light strikes a pit the light is slightly out of
focus.
EFM BASICS
EFM stand for Eight to Fourteen Modulations which is a complex decoding process
that convert sequences of the pits and land into meaningful binary information. EFM
is used by CD to obtain the ability of placing a large number of bits into a limited
number of flux transitions, user data, error correcting information, address
information and synchronization patterns are obtained in the form of bit stream
which is represented by pit and land. Flux transition is the bits encoded by magnetic
media and it is not he discreet orientation of any magnetic area. The EFM encoding
technique equates each byte (8 bytes) with a fourteen-bit sequence which is called a
symbol where each binary 1 must be separated by at least two binary 0’s.
Data Storage
A CD-ROM contains twenty-four synchronization bits, fourteen control bits, twenty-
four data symbols and eight complete error correction symbol.
Three merged additional bit separate each symbol by bringing the total number of
bit in the frame to 588.
588 bit on the CD-ROM represent 24 bytes of data which is expressed as number of
pit and land.
Each data block has ninety-eight frames, so each block carries 98 x 24 = 2048 bytes.
The data delivered by the basic CD-ROM to its host computer is equal to 15.6 KB (75
blocks)
The Life of CD ROM is affected by its physical storage and handling. Exclusive dust
and finger print interface with the laser beam can cause disc read error. In case there
is need to clean the surface of disc, clear it with dry soft linen cloth. CD ROM can be
taken care by
(a) Avoid Bending the disc
(b) Never Heat the Disc
(c) Avoid scratching the disc
(d) Key away from the chemicals
(e) Store the disc in a cradle during storage or travel
CD ROM Constructions
All the CD ROM drivers must be able to accept the standard size disc from all varieties
of surfaces. The drive spin the disc at the constant linear velocity, which is a qualifier
for the rates speed of an optical disc drive and the writing speed of recordable disc.
Disc speed varies inversely with the tracking radius. When the tracking comes almost
near the disc edge the disc edge speed slow down and speed increate when it went
away from the disc edge.
CD ROM Working
CD ROM has single structure for mounting the mechanical and electronic
components of the drive. The Frame is attached with the lid, front bezel, eject
button, volume control button, fix slot for CD insertion and removal. The drive
control, interfacing, head phone handled by electronic package of the disc drive
which are further divided into several PC board assemblies. Actual physical
performance of the drive is done by the main CD Sub assembly. Spindle motor
frame is used to spin the disk and read disc data. Sub frame mounted with a spindle
motor and connected to a spindle mother PC board. The drive main PC board
manage the operations to position the sled motor.
CD ROM Electronics
CD ROM electronic package is divided in to two areas: The Controller Section and The
Drive Section.
The Controller Section
It makes the connection of the peripheral interface to the drive controller
board
The Drive Section
It manages the physical operations of the CD ROM such load or unload, spin
the disc, move the sled, Data Decoding, Error Correction, drive circuitry
converts analog output form the laser diodes into a EFM signal.
CD ROM Software
A low level device driver allows program to access the CD-ROM at the hardware level.
If device is changed or upgraded the driver should also be changed or upgraded.
TROUBLESHOOING OF CD ROM
CD-ROM installation is very easy but the problem may be with compatibility issue,
poor media quality, outdated drivers, conflicting software applets and operation
system versions.
Changing the Driver Letter
CD Drive letter is by default assigned by the system operating system during
the start time, which will be default letter for the drive. This default assigned
drive letter can be changed from setting in the control panel using these
steps
1. Click Start -> Setting -> Control Panel
2. System Icon (double click) -> Device Manger -> setting tab
3. Go to Reserve Drive Letter section -> change the start drive letter
and End drive letter of choice.
4. Click ok button and return to control panel
5. Close all the running programs and restart the system
Check the computer the changes must have done.
Auto Insert Notification (AIN)
Auto Insert Notification (AIN) feature of the CD ROM start, which
automatically identify the Disc and set ready when the disk in inserted. To
confirm the disk is ready, CD Drive blinks for every few seconds, even this is
no read/write operation. This AIN have not effect in the system, but some
time it can damage some sensitive programs. It can be disable by:
1. Click Start-> setting -> control panel
2. Device Manager (Double Click) -> CD-ROM (Double click) -> Double
click the CD Drive letter
3. Setting Tab -> Look for Auto Insert Notification and clear its check-
box.
4. Click close button and Restart the computer to check the change.
CD Drive Performance
CD drive some time not respond properly, when can be happen is cache size
is not configured properly. Follow these steps to optimize the CD-Drive
setting
1. Click Start -> Setting -> control panel
2. Double click system ICON
3. On the performance tab, click file system
4. Click CD-ROM Tab
5. Set the supplement cache size slider to right to allocate more system
RAM for caching data from the CD Drive.
6. Click – OK, Close. Restart the computer when prompted.
DVD DRIVE
DVD (Digital Versatile Disk) is a high density storage media which is low widely used
in the computers. It can hold program, data, audio and video. Its storage capacity
is upto 17 GB.
Access Time: Time Required by drive to locate the required information on the disk
is called access time. DVD drives are very slow can take up to hundreds of
milliseconds (mS) to access the information
Data Transfer rate
Time taken to read the data form the disc is called data transfer rate. After data is
accessed from external disk, it transferred to the disk of the system. Data transfer
rate is measured in two ways
1) Speed at which the data is read into the on board buffer of the drive
2) Speed at which the data is transferred across the interface in the drive
controller
DVD Media
Data is recorded in spiral pattern as a series of pits and lands into a plastic substrate.
There are few key different which makes DVD superior to CD
a) Data is very concentrate din the DVD:
DVD tracks are 0.74 um CD tracks are 1.6 um. To locate smaller geometries
DVD sued very short wavelength laser light
b) DVD forms multiple layers of pits and lands to accommodate more data.
c) DVD use only one side data at time which is up to 8.5 GB for one side disk,
so DVD can store 17 GB data in double sided double layer disk.
DVD life can be increased by:
a. Do not bend the disk
b. Do not head the disk, it is made of plastic material
c. Avoid scratch. Circular scratch can entirely wipe the data from the DVD
d. Avoid using chemicals to clean the disc.
e. Wipe disc, if necessary with, soft clothes
DVD Drive and Decoder
DVD drive a motorized disk tray which is used to insert and remove the DVD disc. It
has load/ unload button the drive to open and close the tray. It shows a light blinking
when the data is being read from the disk. This blinking lights is termed as busy
indicator. At front panel it has volume controller to adjust the volume and
headphone jack to listen the music/ sound.
It uses 4 pin power connector. The signal connector may be SCSI which directly
connect to driver adapter. There are two output connectors. One is 4 pin connector
that attach to the sound board and other pin supplies sound to a digital recording
system.
THE MPEG-2 Decoder
MPEG-2 is a hardware based decoder card which is added in the PCI Slot and
connected directly to the monitor. Decoded audio from movie is passed from the
decoder card to the sound card using CD audio connection. Decoding can be done
by using hardware components as well as software applications. Software decoding
is simpler than hardware decoding. There are five major connections on the MPEG-
2 Decoder card:
1. Analog input Jack
Used to Mixing in an auxiliary audio signal to the decoder card
2. Analog Output Jack
Provides the master audio signal that is fed to the line input of existing sound
card
3. Digital Output Jack
Used to drive an external digital device
4. Monitor Connector
Drive the Video Graphic Adapter (VGA) through monitor connector
5. Video input Connector
Video input is put to the decoder card, so that while decoder card is idle the
video signal is passed through the MPEG-2 Card to the monitor.
DVD Troubleshooting
To set DVD configuration to default state during installation or correcting the
problem in DVD-ROM use these points:
a. Video Configuration
Set the display to 640 x 480 using 16-bit colour and monitor to standard VGA
b. DVD Drivers
Update the drivers regularly to provide better hardware compatibility.
c. Video Drivers
Update video drives regularly for better video performance and compatibility.
BLUE RAY DISK DRIVE
Blue Ray disk (BD) is an advance version of DVD, is made of smaller pits and lands. It
used blue-violet laser light to read/write data from the disk. One single layer BD can
store almost 25 billion bytes (more than five time the DVD capacity) and double layer
BD can store almost 50 billion bytes. To achieve higher density 0.1 mm (milli-meter)
cover layer is used in BD to move the data closer to the lens. The technology used in
the BD is HDMV (High Definition Movie) which provide functionality of high definition
graphics planes, animated and popup menu buttons and sound effects for the
selection of menu buttons.
Physical Media:
Pulse compensator convert the analog pulse into multiple pulse or waves. By
adjusting the leading edge of the first pulse and the trailing edge of the cooling pulse
of the multi-pulse signal, can control the accumulation amount in accordance with
the mark length, which enable the Mark edge position exactly. Pulse waveform
modulated is sent to a laser drive circuit which modulates the power of the laser
beam to record Mark/Space data on a Blue-Ray Disc. To play back recorded data,
Equalizer produce singla to the Phase Locked Loop to convert to digital signal and
passed to a PRML channel to correct the initial bit error and output is signal to the
subsequent digital signal processing circuit The output of the write pulse
compensator goes through laser drive and optical pick up.
The standard disk size of DVD is 12 cm in size.
To check the active register address bits are A0 to A9 decoded. –I/OR and -I/OW lines
are used to determine whether the signals on the data bus are being read from or
written to the specific register. Handshaking signals are bidirectional protocols that
are used to acknowledge to sender that data is received. These signal trigger the
interrupt to request a new character. Conventional parallel port is implemented in
a series of three registers. One register is used to buffet the 8 bits’ data; other two
registers handle the handshaking signals of the port by using base address of each
port with an offset value of 01h (Identifier 2) while the control register is accessed
with an offset value of 02 (identifier 3)
Signals and Time Diagram
Signal is any time varying quantity which is generated to produce the interrupt. All
signals in the parallel port is compatible with conventional signal levels. D-Sub
miniature is an electrical connector used commonly in computers. In D-type
connector D is a prefix for the whole series that denotes the shell size as A=15 pin,
B=25 pin, C=37 pin, D=50 pin , E=9 Pin followed by actual number of pins followed by
the gender. In printer device the parallel connection uses 36-pin connector which is
also known as Centronics type connector.
Centronics mode is a conventional method of transferring data to the printer where
handshaking mechanism is not used. The data send by the sub miniature D-type
connector is to responded by Centronics connector at earliest as data can’t reside in
the connector for long time.
Signals are of three type –
(a) Data Signals
Data signals are the signals that carry information from the parallel port to or
from the printer or other devices. There are eight data lines (D0 to D7) These
lines are located from 2 to 9 Pin.
(b) Handshaking signals
Handshaking signals are bidirectional protocols used between sender and
receiver to acknowledge to the sender that the data has been received.
(c) Ground signals
Ground signals are used to reduce the noise effects of the signals. These signals
also provide common electrical reference between the computer and
peripheral.
Initialize signal (-INI) is initialized to ensure that the printer is start, if it is active
low, the computer will apply logic 0 to initiate the start of the printer. The
Select signal (SEL) is used to inform he computer that the component is ready
to receive the data. It is active high, logic 1 indicates that the printer is online
and ready. Pin 1 and 0 is used by Ground signals.
Data rate speed is upto 500 kbps at 10 meter or 32.8ft with CC cables
(4) ECP Mode
Extended Capability Port mode is an advance mode for communication
between printers and scanner which allow data compression for images and
FIFO facility for items in queue. It makes high performance bidirectional path
between computer and the peripheral.
Data rate speed is in the range of 500 KB to 2MB per on depend on the speed
of the interface.
IEEE Issue
IEEE is supposed to be superb, but there are some points need to consider:
1) Parallel port, cable and peripheral devices like printer, tape drivers, hard
drivers etc. must be IEEE 1284 compatible.
2) Have to use specific printer cable depends upon the printer attached.
Negotiation
Negotiation is a method developed to determine the feature of the peripheral
connected so that computer can choose the mode of standard of connected
peripheral. It is a series of events that exists on the parallel port interface and used
to determine the requirement of type of mode of the device. For older device
compatibility mode is selected for operations as they do not support negotiation
method.
Serial cables are identical at both the ends and have three type of signals
(a) Data Lines
Data lines are the conductors that carry to and fro information from the serial
port, modem, Connected peripherals.
(b) Control Lines
It is the bidirectional protocol used between sender and receiver to
acknowledge the sender that the data is received.
(c) Ground lines
These are used to reduce noise effects in the signals
Data signals and control signals are bipolar in nature are also known as bipolar
transmission, which is a method of sending binary data through cable or wire. These
signals have two logical states- high logic 1 and low logic 0.
Tx and Rx are the kind of data lines which are responsible for sending and receiving
the data in serial port.
Tx Rx
Tx stands for Transmit Line Rx stands for receive line
Sends the serial data from the Accept serial data form the serial
computer port device
When the computer is connected Other device receives the same
to the peripheral, device sends data using Rx data line
the data to the other using Tx
lines
Only one device can have control over the data lines at a time. If more than one
device tries to send data, it gives error message stating “Bus contention”
Bus contention:
Bus contention is an error message send by data lines in serial port when more than
one device tried to take control over the data line at a time.
RTS and CTS
TRS and CTS signals are responsible for control data flow through the system
hardware.
RTS CTS
Request to send Clear to Send
A signal that is generated by DTE Once the DCE receive the RTS
(Data terminal equipment) and signal from DTE it sends back CTS
inform the DCE that it will receive signal to DTE, which means it is
data. ready to receive the data.
DCD
(Data carrier Detect)
DCD stand for Data carrier detect and is particularly used with modem. It generates
the signal when a carrier is detected from a remote device and when it is ready to
establish the communication pathway. DCD signal is send back to the DTE so that
DTE remains active as long as the connection is established.
RI (Ring Indicator)
Ring indicator is a signal asserted by DCE and particularly used in modem. This signal
is generated when it detects a telephone ring, when a remote user calls in to seek
permission to access another computer from a remote machine. Ring indicator is
also give a “wake up ring” in power management configuration.
Modems
A combination of modulator and demodulator is termed as modem. It is a device
which is used to modulate analog signals to digital signal and demodulate the digital
signals in to analog signals. Modems are used to communicate the data from one
computer to another computer through a telephone line.
Constructions and operations of modem
Modems are combination of specialized chips and discrete parts. Operations of
modem is as follows:
Parallel form data is translated to serial form and vice versa. Serial data
converted to audio signal to enable it to pass through a telephone line.
Transmitted signals contained by audio signals are called data compression
which transmit the data from computer to modem. Modem collects all the data
bits together and convert to send the data over the telephone line and audio
signals are separated from transmitted signals and reconverted to serial data.
When data is converted from one form to another form the chance of
errors may be with loss of data or adding some unwanted data. Error checking
technique in modem verifies that the data receives has no damage in its data.
In case the receiving network is slow than sending network, control flow
sends the message to sending end to pause the data till initialized data is
transferred. Flor control is done by both hardware and software. Software
controller generates a character that sounds pause and data sending remain
pause till next proper character for resume the data transmission. Hardware
controller use wires in the modem cable.
Finally, modem uses non-volatile RAM (NVRAM) to store the list of set up
parameters.
10.4 Modems
A combination of modulator and Demodulator, is shortly known as Modem. Modem is a device that is used to modulate
analog signals to digital signal and demodulate the digital information to corresponding analog signal. It is also used to
communicate the data from one computer to another computer through a telephone line.
In the initial stages of modem operation, the speaker is used to check the dial tone for connectivity. Overall operation of
the modem is managed by the controller which accepts the command from the modulator and some parameters which
are to be changed. NVRAM is the non-volatile random access memory which stores the default loaded parameters.
During a power cut you can load the default parameter from the NVRAM. The internal modem gets power supply directly
from the expansion bus.
External modem: external modems are the devices that are used to connect computers with public network. The
external modem is not present as built in device inside the serial port but is connected from outside the computer. The
block diagram of the external modem is as shown in the Figure 10.6.
The working of the external modem is similar to the internal modem except that the device is connected to the serial port
of the system rather than being connected directly to the expansion bus. An external modem is connected to computer
through the already configured serial port in the computer. 9-pin or 25-pin serial cable is used to connect modem to the
computer externally which makes the set up easier and faster because you need not bother about the interrupt lines and
I/O address settings. In external modems hardware conflicts are rare.
The external devices are powered using a small AC adapter. External modem provides LEDs which states the series of
signal status which allows you to check the communication status.
1. First you have to shut down the windows and unplug the computer.
2. Remove the bolts of the case and keep it in a safe place.
3. If you are replacing the modem then carefully separate old modem by removing the bolt and detach the modem from
the chassis and place it in an antistatic place.
4. Identify the availability of expansion slot for the new modem card.
5. Insert the modem card by pushing it firmly and evenly inside the slot. Ensure that the card is seated properly in the slot
and replace the screws to secure the bracket of the modem card to the computer chassis.
6. Reconnect the modem with the telephone jack.
7. If you want to use the phone on the same line then you should plug the phone to the phone jack. You must also have a
microphone to avail simultaneous voice and data feature.
Software installation
Once the hardware is installed it needs the support of device drivers and application software. The following are the
steps to be taken to install the software:
1. The modem must be automatically detected when the Windows restarts. If the device is PnP complaint then you need
to use the Add New Hardware wizard to execute the installation process.
2. Select the “Driver from disk provided by hardware manufacturer” and then click OK.
3. Insert the CD to install the device drivers, and the select the drive letter.
4. After you Click OK modem’s drivers will be loaded by the Windows.
5. Verify the modem installation for success once it is loaded. When your desktop returns, then click start, select settings
and then click control panel.
6. Double click the modem icon.
7. The suitable description of the modem is obtained in the modems properties dialog box as shown in Figure 10.7. This
means your modem installation is done properly.
8. To test the modem click the diagnostics tab. Select the modem and click for more info button.
9. After a few minutes, you should see the more info dialog box as shown in the Figure 10.8 which lists the modem’s port
information as well as series of standard modem commands.
10.Once the modem is working you can install any other applications that accompany the modem.
COM3. The letter “F” stands for first i.e. the first of the even communication port. That means COM1.
0x2F8: this address number is represented by binary number 1011111000. Here, the first number after 0 is 2, refers to
an even number. So, the COM port will be even. For example COM2 or COM4. The letter “F” stands for first i.e. the first of
the even communication port. That means COM2.
0x3E8: the address number is represented by binary number 11111101000. Here it refers to odd number indicating odd
COM port. And the letter E indicates the next eliminating the first. Therefore in this case it is COM3. 0x2E8: the address
number is denoted by binary number 10111101000. Here it refers to odd number indicating even COM port. And the
letter E indicates the next eliminating the first. Therefore in this case it is COM4 This can be used to memorize the
allotment of COM port.
When you try to upgrade the PC by adding I/O adapters you may normally encounter problems. If the computer has two
COM ports from the motherboard manufacturers, adding a third port will result in hardware conflict. This can be rectified
by disabling the new COM port or one of the existing among the two ports or by setting the jumper of the new COM port.
Sometimes device drivers may also be a cause for the problem. If a new COM port is installed and problem arises, disable
the driver reference in the CONFIG.SYS and try to install a new protected
10.7 Glossary
Term Description
COM Communication port is a serial port which is serial port that is
responsible for communication between the computers.
IRQ IRQ stands for Interrupt ReQuest, and refers to special numbered
channels that are used by devices to get the processors attention.
25-pin D type D-sub contains two or more parallel rows of pins or sockets usually
connector surrounded by a D-shaped metal shield that provides mechanical
support, some screening against electromagnetic interference, and
ensures correct orientation. It consists of 25 pinouts.
The mechanism of the mouse internally is very simple. The rubber ball in it rests against two rollers, one for translating
the X-axis movement and the other for the Y-axis movement. These rollers are usually connected to small disks with
shutters that alternately block and allow the passage of light.
There are small optical sensors which detect movement of the wheels by noting an internal infrared light blink on and off
as the shutter wheel rotates and "chops" the light. The infrared light blinks are then translated into movement along the
axes. This type of setup is called an opto-mechanical mechanism and is popularly used nowadays.
Microsoft IntelliMouse
A new variation of the popular mouse called IntelliMouse was introduced by Microsoft in late 1996 looking exactly like
the standard Microsoft mouse except for a miniature gray wheel rising up between the left and right buttons. The only
change in mouse are the wheel has two main functions: the primary function to act as a scrolling device, allowing one to
scroll through documents or Web pages by merely pulling down or pushing it up with the index finger and the secondary
function to act as a third mouse button when pressed. This is very useful while browsing Web pages or working with
word processing documents or spreadsheets. The major advantage of IntelliMouse is that, unlike other three-button mice
by other vendors, it does not get in the way while working and there is less likelihood of it being clicked by mistake. Its
only drawback is that the new wheel will work only if the software is rewritten to support it.
11.2.2 The Trackball
If you were to turn over a traditional mouse you will observe a stationary device called a track ball or roller ball. If you
move or rotate this roller ball, the cursor also will move in turn.
In the case of traditional mouse, the user needs to perform three tasks simultaneously viz. grasping the mouse, moving it
and clicking the button. However, the newer version allows the user to perform these tasks independently of each other.
The trackball comes in various sizes. If the ball is small, it requires less effort for its movement or rotation. As regards
buttons on the trackball, they can be single click, right click, double click, or drag-lock. While some trackballs are of the
plug and play type requiring no installation other than connecting of a cable to the computer's port others have
supporting software to be installed in the computer. This software enables you to customize the acceleration of the
mouse and assign different functions to the buttons of the trackball. Below figure 11.2 shows a sample trackball.
The largest trackball available is the 3 inch trackball found in BIGtrack (a trackball model from Info grip, an hardware
company) which requires less fine motor control than a standard trackball. The left and right mouse click buttons located
behind the trackball prevent unwanted mouse clicks.
1. The trackball allows for the user to perform each of these tasksseparately of one another.
2. The size of ball of trackball will vary from as large as a cue ball, to as small as a marble. The smaller the ball, the less
amount of effort or rotation of the ball.
Sent at 4:11 PM on Tuesday
3. Buttons on the trackball can be a single click, right click, double click, or drag-lock which helps in selecting various
features of computer such as selecting an icon on desktop, refreshing the PC, choosing word file on the desktop, etc.
Hardware Problems: The hardware problem generally relates to interrupt conflicts and is more difficult to solve.
• Interrupt Conflicts: A computer uses internal signals called Interrupts to indicate when something needs to be done.
A mouse uses an interrupt whenever it has information to be sent to the mouse driver. The mouse might not work
properly or even might not work at all if a conflict occurs and a different device uses the same interrupt used by it. If
your system uses a mouse port then interrupt conflicts do not normally occur but they can occur with the other types
of mouse interfaces. Mouse ports built into modern mother-boards are almost always set to IRQ 12. On machines that
use a PS/2 mouse (a type of mouse that plugs into a PS/2 mouse port), this is the IRQ reserved for its use. Using a PS/2
mouse frees up the COM1 serial port and the interrupt it uses for other devices. If your system has a motherboard
mouse port, you should take care that you don't set any other adapter cards to IRQ 12, otherwise a conflict occur.
Whenever you use a serial mouse (a mouse that connects to a computer via a serial port) there is every likelihood of
interrupt conflicts occurring if you add a third or fourth serial port. The reason behind this is that in ISA bus systems,
odd-numbered serial ports (1 and 3) are often improperly configured to use the same interrupts as the even-numbered
ports (2 and 4). Therefore, if your mouse is connected to COM2: and an internal modem uses COM4: both might use
the same interrupt, resulting in a conflict. But if you move either the mouse or the modem to a different serial port
you can use both of them at the same time. For example, if your mouse uses COM1: and the modem still uses COM4:,
you can use them both at the same time because odd and even ports use different interrupts. The best way to prevent
these interrupt conflicts is to make sure that no two devices use the same interrupt.
• In case the driver declines to acknowledge the mouse irrespective of its type, then try using a different mouse which
works. If you find that the problem is caused by a defective mouse, then the best option would be to replace it with a
good mouse.
Software Problems: Software problems, which are trickier than hardware problems generally, manifest themselves as
the mouse "just not working." In such instances, you would do well to check the driver and the software applications
before assuming that the mouse itself is faulty.
• Driver Software: The mouse requires the installation of a device driver to function properly. It is recommended that
you use default drivers built into the Windows or OS/2 operating environments. In case you want the mouse to work
with DOS applications then you should load an extra driver (via CONFIG.SYS).
• Application Software: It is necessary to check the setup information or configuration section of the program if your
mouse does not work with a specific piece of application software, Even after indicating to the program that you are
using a mouse, and it does not work, then it is recommended that you contact the technical support department of the
application software
11.3 Keyboards
The keyboard, a primary input device is one of the basic system components. Used for entering commands and data into
the system the keyboard is the friendliest input peripheral. You can not only key in program and data through it, but also
give commands to the software from the keyboard. It is almost impossible to use a computer without a keyboard.
11.3.1 Basics of Keyboard
Keyboard generally consists of 105 keys. The keyswitch (a type of small switch placed under the keys) is activated when a
key is pressed. An electronic circuit in the keyboard determines as to which key has been pressed. Then a standard 8-bit
code is generated and sent to the computer. Detecting which key is pressed and generating the corresponding code is
known as encoding. There are two types of keyboards. One is the serial keyboard which sends data, bit by bit, in a serial
fashion and the computer converts the data into parallel byte. The other is the parallel keyboard which sends the data as
a byte in a parallel form; all the bits are sent simultaneously on the different lines (wires). It is essential that the cable
between the keyboard and the computer has more wires in a parallel keyboard.
Keyboard Functions
A matrix of rows and columns connect the keyswitches; each keyswitch having a fixed set of coordinates, namely, row
number and column number.
• Mechanical keyswitch – These switches will have metal contacts in a momentary contact arrangement.
• Membrane keyswitch – These switches are formed together on a sheet that is fixed on a rubber dome sheet.
• Capacitive keyswitch - Capacitive switches are non-mechanical type of switches currently used.
Key Switch Design
Keyboards nowadays come with several types of switches; most keyboards use one of several variations on a mechanical
key switch. A mechanical key switch relies on a mechanical momentary contact type switch to make electrical contact in a
circuit while some high-end keyboard designs use a totally different non-mechanical design that relies on capacitive
switches.
• Pure mechanical
• Foam element
• Rubber dome Membrane
Pure Mechanical: Generally it has a tactile feedback mechanism with a clip and spring arrangement to give a "clicky"
feel to the keyboard and a built-in feature offers some resistance while pressing the key. Mechanical switches, whose life
time is 20 million keystrokes, are very durable and usually have self-cleaning contacts.
Foam element: Older keyboards used this technology in which switches are characterized by a foam element with an
electrical contact on the bottom that is mounted on the bottom of a plunger attached to the key itself. When the switch is
pressed, a foil conductor on the bottom of the foam element closes a circuit on the printed circuit board below and a
return spring pushes the key back up when the pressure is released. The advantage of using foam is that it reduces the
contact, thereby preventing bounce. The disadvantage of using this type of switch is that it is prone to corrosion on the
foil conductor and the circuit board traces below.
Rubber dome: Rubber dome switches are mechanical switches which are the improved versions of the foam element-
type switches. These switches which use a rubber dome instead of a spring that has a carbon button contact on the
underside, are very simple in design, use fewer parts, are highly reliable and very popular in modern computers. When
the key is pressed, the key plunger presses on the rubber dome, causing it to resist and then collapse all at once,. As the
rubber dome collapses, the user feels the tactile feedback, and the carbon button makes contact between the circuit
board traces below. When the key is released, the rubber dome reforms and pushes the key back up.
Membrane keyboard: Membrane keyboards are very suitable for extremely harsh environments. When no other type
of keyboard can work in certain situations, these sheets can be bonded together and sealed and protect from the
elements.. Many industrial applications use membrane keyboards especially for terminals that do not require extensive
data entry but are used to operate equipment such as cash registers.
Capacitive switches: Although they are expensive, these switches have the advantage of being resistant to dirt and
corrosion and also offering the highest-quality tactile feedback of any type of switch. A capacitive switch does not work by
making contact between conductors but instead, two plates usually made of plastic are connected in a switch matrix
designed to detect changes in the capacitance of the circuit. When the key is pressed, the plunger moves the top plate
relative to the fixed bottom plate. These switches have a lifetime of up to 25 million or more keystrokes.
11.3.2 Maintenance and Troubleshooting
Although difficult intermittent problems might give rise to keyboard errors, generally two simple problems are usually
faced by users:
• Defective cables
• Stuck keys
Defective cables are easy to spot if the failure is not intermittent. If the keyboard stops working altogether or every
keystroke results in an error or incorrect character, then the problem lies with the cable. Troubleshooting such a fault is
simple, especially if you have a spare cable on hand. To do this simply replace the suspected cable with one from a known
working keyboard, and ensure that the problem is set right. However, if the problem still exists then you should try to
look elsewhere for its source. By using a DMM (Digital Multi-Meter). you can test the cable for continuity by removing it
from the keyboard.
Keyboard stuck key failure
When you press a key on the keyboard, the processor built into the keyboard (8048- or 6805-type) reads the keyswitch
location in the keyboard matrix. The processor then sends to the motherboard a serial packet of data containing the scan
code for the key that was pressed. This is called the Make code. When the key is released, a corresponding Break code is
sent, indicating to the motherboard that the key has been released. The Break code is equivalent to the Make scan code
plus 80h (‘h’ stands for hexadecimal). For example, if the Make scan code for the "A" key is 1Eh, the Break code would be
9Eh. By using both Make and Break scan codes, the system can determine whether a particular key has been held down
and determine whether multiple keys are being pressed. If you get the message
“keyboard struck, key failure”, you can look up the scan code to determine which keyswitch is causing the problem. You
can solve the problem removing the keycap of the offending key and cleaning the switch.
Many newer systems have a electrical fuse that can be replaced. This protects the motherboard keyboard and mouse
connectors. Locate any type of fuse on the motherboard in the vicinity of the keyboard or mouse connectors. Some other
systems may have a socketed keyboard controller chip (8042-type), in which case, it may be possible to repair the
motherboard keyboard circuit by replacing this chip. As these chips have ROM code in them, it is advisable to get the
replacement from the motherboard or BIOS manufacturer.
Cleaning a Keyboard
Periodical cleaning is a part of maintenance, which is essential to maintain a keyboard in good condition. Preventive
maintenance requires that you vacuum clean the keyboard weekly or at least monthly. You could also use canned
compressed air (available at electronics supply stores) to blow the dust and dirt out instead of using a vacuum cleaner.
Before you dust a keyboard with the compressed air, turn the keyboard upside down so that the particles of dirt and dust
collected inside can fall out. You should avoid pressing the keys hardly. You should also avoid playing games for a long
time to increase the durability of key switches.
11.4 Basics of Sound Boards
A sound card is also known as an audio card. It is a computer expansion card that facilitates the input and output of audio
signals to and from a computer under control of computer programs. Sound cards are very much useful in providing the
audio component for multimedia applications such as music composition, editing video or audio, presentation, education,
and entertainment (games). Many computers have sound capabilities built in, while others require additional expansion
cards to provide for audio capability.
When the PC standard was first created, it did not have audio capabilities than basic beeping or tone generation. The
reason for this was that the PC standard created in 1981, and other computers of that time had similar rudimentary
capabilities. However, systems that were designed later, such as the Macintosh, which was introduced in 1984, did
include high-quality audio capabilities as an integral part of the system hardware and software. Although there still is no
universal audio hardware and software standard for PC compatible systems, the inherent expandability of the PC
platform allows audio capability to be easily added, and at least one genuine standard has emerged.
Sound Card Devices
Joysticks: A number of sound cards may have a joystick, or game port. A joystick is ideally meant for game playing and
is best chosen through handson experience like speakers.
MIDI Connector: In order to use MIDI (Musical Instrument Digital Interface) to create synthesized music, you have to
connect musical keyboard or other MIDI device to the sound card. The joystick port on sound cards has unused pins that
can be used to send and receive MIDI data. If you connect a MIDI cable to the joystick port, you can connect PC to a MIDI
device.
Synthesizer: If you are considering MIDI and you intend to compose or play music, then you will need sequencer
software, which is a musical application designed to play back musical notation to record, edit, and play back MIDI files.
11.4.1 The Recording
You need to connect a microphone to the sound card to record sound in the computer. Some of the sound cards may not
have options to connect a microphone. While purchasing a sound card, you should check whether it is having an ‘Audio
In’ jack to plug the microphone.
11.4.2 The Playback
Speakers are used to playback the recorded sound. Successful multimedia presentations, business applications, and MIDI
work require external highfidelity stereo speakers. Sound cards offer little or no power to drive external speakers.
Although some sound cards have small 4-watt amplifiers, they are not powerful enough to drive quality speakers which
are essential for quality sound. A 16-bit sound card may provide better sound to computer speakers. However if you have
good speakers then 8-bit sound card can also provide better sound. Speakers are measured by the following three
criteria:
• Frequency response: This is a measurement of the range of high and low sounds that a speaker can reproduce. The
ideal range is from 20 Hz to 20 KHz.
• Total Harmonic Distortion (THD). This is an expression of the amount of distortion or noise created by amplifying
the signal. The amount of distortion is measured in percentages. An acceptable level of distortion is below .1 percent
(one-tenth of 1 percent). For some CD-quality recording equipment, a common standard is .05 percent. Some speakers
have a distortion of 10 percent or more. Headphones often have a distortion of about 2 percent or less.
• Watts. This is the amount of amplification available to drive the speakers. Many sound cards have built in amplifiers,
providing up to 8 watts per channel. (Most provide 4 watts.)
Headphones are an option when you can't afford a premium set of speakers. Headphones also provide privacy and allow
playing sound card as loud as you like.
11.4.3 Sampling Concept
A technique called digital sampling helps in recording and playback of sounds. In order to record your voice, you first
speak into a microphone. The Analog-to-Digital Convertor (ADC) translates the analog waves of your voice into digital
data that the computer can understand. To do this, it samples, or digitizes, the sound by taking precise measurements of
the wave at frequent intervals.
The number of measurements per second, called the sampling rate, is measured in kHz. The faster a card's sampling rate,
the more accurate its reconstructed wave is.
In case you want to play back your recording through the speakers, the Digital-to-Analog Convertor (DAC) will perform the
same basic steps in reverse. With accurate measurements and a fast sampling rate, the restored analog signal can be
nearly identical to the original sound wave.
Some reduction in sound quality can be caused even with high sampling rates. Distortion may also occur due to the
physical process of moving sound through wires. Two measurements are used by manufacturers to describe this
reduction in sound quality:
Locate any jumpers on the sound card if used by it and identify what they control. There may be jumpers that set the
MIDI port to use with a joystick, or jumpers that set the IRQ (Interrupt Request) for the controller for CDROM. Locate the
jumpers for the IRQ setting. When a bridge is made with a jumper between two adjacent posts, the jumper is said to be
ON. When the jumper is removed, it is OFF.
11.5 Troubleshooting a Sound Board
In order to install a sound card, you will have to select IRQ numbers, a base I/O address, or DMA channels that don't
conflict with other devices. Although most cards are already configured to be used on an otherwise idle set of ports,
sometimes problems do occur. Therefore troubleshooting may be required which may mean changing board jumpers or
switches, or even reconfiguring other cards.
11.5.1 Hardware (Resource) Conflicts
A device or hardware conflict occurs when sound card simply doesn't work (no sound effects or music). Sometimes it
may repeat the same sounds over and over and causes PC to freeze. Sound cards usually clash with other devices
installed in the PC. There are generally three sources of conflict in sound card installation:
o Interrupt ReQuests (IRQs). IRQs are used to "interrupt" PC and get its attention.
o Direct Memory Access (DMA) channels. DMA channels are the way to move information directly to PC's
memory, bypassing PC's processor. DMA channels allow sound to play while PC is doing other work.
o Input / Output (I/O) Port addresses. An I/O Port address in PC is used to channel information between the
hardware devices on sound card and PC. The addresses usually mentioned in a sound card manual are the starting
or base addresses. A sound card has several devices on it, and each one will use a range of addresses starting with
a particular base. Most sound cards include installation software that analyzes PC and attempts to notify any of the
standard settings in use by other devices.
It is advisable to install a sound card using the default settings where possible because poorly written software cannot
work properly with alternate settings, even if they do not cause conflicts.
Solving Hardware Conflicts
The best way to find a hardware conflict is to locate all of the documentation for the PC and its various devices, such as a
tape backup interface card, CD-ROM drive, and so on. The most common causes of system resource conflicts are the
following:
• Ensure that the sound card is set in such a way that it uses all default resources, and that other devices using these
resources are either changed or removed.
• Are the speakers connected? Check that the speakers are plugged into the sound card's Stereo Line Out or speaker jack.
• Find out whether they are amplified speakers and are powered on. Check the strength of the batteries or the adapter's
connection to the electrical outlet.
• If the speakers are stereo check that the plug inserted into the jack is a stereo plug, not mono (short form of Monaural
or Monophonic sound reproduction, which is a single-channel).
• Make sure that the mixer settings are high enough. Many sound cards include a mixer control for DOS and/or Microsoft
Windows. The mixer controls the settings for various sound devices, such as a microphone or CD player. There may be
controls for both recording and playback. Increase the master volume or speaker volume when in the play mode.
• Use sound card's setup or diagnostic software to test and adjust the volume of the sound card. Such software usually
includes sample sounds that play.
• Switch off computer for a minute and then switch it back on. Such a hard reset (as opposed to pressing the Reset button
or pressing Ctrl+Alt+Delete) may clear the problem.
• If computer game lacks sound, check that it works with sound card. For example, some games may require the exact
settings of IRQ 7, DMA 1, and address 220 to be Sound Blaster-compatible.
Scratchy Sound
If there is a scratchy sound then the solution is quite simple. You could solve the problem in the following ways:
• If the sound card is near other expansion cards could be picking up electrical interference from other expansion cards
inside the PC. Therefore, move the sound card to an expansion slot as far away as possible from other cards.
• If you find that the speakers are too close to the monitor move them farther as the speakers may be picking up electrical
noise from monitor.
• Ensure that you are not using a cheap FM (Frequency Modulation) synthesis sound card because most of the cards that
use FM synthesis instead of wave table sound generation have very poor quality output. It is recommended that you
upgrade to a card that has wave table synthesis so you can get the full benefit of high quality sound.
11.5.3 Other Problems
Sometimes sound problems can be difficult to solve. Due to quirks and problems with the way DMA is implemented in
some motherboard chipsets, there can be problems interacting with certain cards or drivers. Sometimes altering the
Chipset Setup options in CMOS settings can resolve problems. These kinds of problems can take a lot of trial and error to
solve.
11.5.4 Full-Duplex Drivers
If you can play a wave sound and record it at the same time (e.g., using Windows Sound Recorder), then your sound card
is full-duplex. However, if the program you are trying to use needs DirectSound. You need full-duplex compatible
DirectSound drivers. You might find some information on this at your card's manufacturer website.
Sometimes sound card drivers become corrupt or have conflicts after an operating system update, or if additional
hardware is installed. To solve this problem, if you have a new sound card, reinstall the driver that came with the device.
If audio support is built into your motherboard, or the sound card is not a newer model, download and install the latest
drivers from the manufacturer's website.
If system conflicts occur after installing additional hardware, try uninstalling the sound card drivers, reboot the computer
a few times, and then install the drivers again. If your operating system has a system restore feature, try restoring the
computer to one of the restore points when the sound card worked.
11.5.5 Soundboard Accelerations
It is found that soundcards, especially onboard, can cause a number of problems. More often than not you might find that
the card is not the real cause of the problem, as you may hear the sound properly but the game might be running slower
than usual or even might crash. A number of problems could be caused like: distorted/weird sound slowdown, especially
on top of the line PC's. This is especially true if the game is reporting 30 or higher FPS (frames per second). This may lead
to random crashes of the desktop or hanging.
Blue screen crashes (especially protection faults and similar) are often due to this. You could prevent this from occurring
by: ensuring you have the most up-to-date driver for your sound hardware; disabling Direct X's (Microsoft’s gaming
technology) sound optimization.
Follow the below steps to do this:
1. Go to start. Select run. Type in "dxdiag" (an executable file to diagnose direct X) and hit enter.
2. The Direct X Diagnostic tool will launch. Wait a couple of seconds while itdetects hardware information.
3. Click on the sound tab.
4. Move the hardware acceleration slider all the way to the left (off or none will be displayed).
5. Ok and exit.
The actual performance hit on your system is variable. Many manufacturers bypass Direct X's software acceleration in
favor of their own hardware or driver based routines. In majority of the cases, you won't notice any difference with how
the game plays (except less crashes and more stability). If you do see decreased performance, try moving the slider up a
notch and retest the game. Often you can get basic acceleration or better before the initial problem reappears.
11.5.3 Multiple Codecs
If you find there are several codecs on the same card, you need to call snd_ac97_mixer () (a procedure to run codecs)
multiple times with ac97.num=1 (setting the value of the variable num) or greater. The num field specifies the codec
number. If you set up multiple codecs, you either need to write different callbacks for each codec or check ac97->num in
the callback routines.
11.5.4 WAV Playback Problems
When you try to play wave sound (.wav) files in Windows you might encounter the following problems prompting you to
troubleshoot them: Program-specific problems such as improper configured Playback device, incorrect Mixer settings,
incorrect Hardware configuration, Damaged wave sound files, Compression-related problems
Program-Specific Problems
In case you are not able to play .wav files with a specific program that you use in Windows, then you should check if the
same problem occurs when you play the file with another program. For example, if you are attempting to play the file
from a third-party program that is not included with Windows, try to play the file from Media Player or Sound Recorder.
To start Media Player or Sound Recorder, click Start →Programs→ Accessories→ Multimedia and Multimedia → click
Media Player
In case the problem occurs only when you try to play the .wav file with one program, the files that are associated with
that program may be damaged, or the program may not be configured correctly then it is advisable to contact the
software manufacturer to solve it. However if the problem occurs with multiple programs, then it could be that the
problem may be caused by any of the reasons discussed in this unit.
Playback Device Not Configured Properly
If you find that you are unable to play .wav files in Windows, or if .wav files are not played at the proper volume, then the
reason could be that you have not selected a playback device, or the playback device that you have selected may not
have been configured properly. Therefore, in order to select and configure a playback device you should:
1. Click Start → Settings → Control Panel.
2. Double-click Multimedia or Sounds and Multimedia.
3. In the Playback box, click the playback device that you want to use in the Preferred Device list, and then move the
Volume slider to the value you want.
4. In the Recording box, click the playback device that you want to use in the Preferred Device list, and then move the
Volume slider to the value you want.
5. Verify that your speakers are properly connected to the sound card, and that the speakers are turned on.
Mixer Settings Not Configured Properly
If the mixer control settings are not configured properly then you will not be able to play .wav files in Windows, or .at files
(audio file created with Sony's Adaptive Transform Acoustic Coding (ATRAC) compression algorithm; designed for storage
and playback on portable media devices) in their proper volume. You could use the mixer control program that is included
with Windows to adjust the volume for playback, recording, and voice commands. If you are using Windows 3.1 drivers
with your sound card, you must use the mixer control program that is included with the sound card to adjust the volume
for playback, recording, and voice commands. It is sensible to contact the sound card manufacturer if your sound card
does not include a mixer control program, or if you need information about how to use the mixer control program that is
included with your sound card,. In order to configure mixer control settings with the mixer control program that is
included with Windows:
You may need to adjust the current Volume Control or Wave slider settings to play .wav files at the volume level that you
want.
Damaged Wave Sound Files
If you cannot play .wav files in Windows, or if .wav files are not played properly, the .wav files that you are attempting to
play may be damaged. To determine if a .wav file is damaged,
Term Description
Trackball Trackballs are also called as "rollerballs". They are best described if
you turned the traditional mouse over exposing the ball. Trackballs are
a stationary device. Movement or rotation of the ball moves the
cursor.
Keyboard The keyboard is the primary input device. It is used for entering
commands and data into the system. The keyboard is the friendliest
input peripheral. Both program and data can be keyed in through it.
Direct DMA channels are the way to move information directly to PC's
Memory memory, bypassing PC's processor. DMA channels allow sound to play
Access while PC is doing other work.
(DMA)
12.2.3 DirectX
DirectX is a technology from Microsoft, which is a collection of Application Programming Interfaces (APIs) for handling
tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of
these APIs all began with the word Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so
forth. But later on the name DirectX was coined to refer to all of these APIs (the X standing in for the particular API
names) and this continued to be the name of the collection. When Microsoft developed a gaming console called ‘Xbox’, to
indicate that the console was based on DirectX technology. The initial X has been used in the naming of APIs designed for
the Xbox such as XInput and the Cross-platform Audio Creation Tool (XACT), while the DirectX pattern has been continued
for Windows APIs such as Direct2D and DirectWrite.
For the development of video games for Microsoft Windows, Microsoft Xbox, and Microsoft Xbox 360, 3D graphics API
within DirectX (Direct3D) is being widely used. Other software applications for visualization and graphics tasks such as
Computer Aided Design / Computer Aided Manufacturing engineering use Direct 3D You would have observed that the
terms ‘Direct3D’ and ‘DirectX’ have been used interchangeably.
The DirectX Software Development Kit (SDK) consists of runtime libraries in redistributable binary form, along with
accompanying documentation and headers for use in coding. Originally, the runtimes were only installed by games or
explicitly by the user. Windows 95 was not launched with DirectX but it was included with Windows 95 OEM (Original
Equipment Manufacturer) Service Release 2 Windows 98 and Windows NT 4.0 both contained DirectX which SDK can be
downloaded for free.
The new versions of DirectX such as Direct3D 9Ex, Direct3D 10 and Direct3D 11, available only for Windows Vista and
Windows 7 were built to depend upon the new Windows Display Driver Model.
Direct3D 9Ex: this allows full access to the new capabilities of drivers while maintaining compatibility for existing
Direct3D applications. The new Vista/Windows Display Driver Modelgraphics architecture includes a new video memory
manager that supports virtualizing graphics hardware to multiple applications and services such as the Desktop Window
Manager.
Direct3D 10: It is designed around the new driver model in Windows Vista and featuring a number of improvements to
rendering capabilities and flexibility.
Direct3D 11: It has the major features of multithreading support to assist video game developers in developing games
that better utilize multi-core processors.
12.2.4 Replacing / Updating an Adapter
It is important to know which type of video adapter can be used in your system as there are three main types of video
adapter upgrades available.
Add-on Video Card
Add-on video card can be physically inserted into and taken out of the computer as an individual hardware component. It
can be plugged in PCI or AGP slots. In order to upgrade an add-on video card, you haveto remove the old card and drivers
and install the new video card and drivers.
Motherboard Video-only Chipset
This type has an integrated video along with an open AGP expansion slot. Either you can use the motherboard’s
integrated video or plug-in your own video card in the AGP slot. Modern PCs are equipped with this setup. You should
disable the on-board video and add an AGP video card and install drivers for the new card to upgrade to this type.
Motherboard with Integrated Video
There is only on-board video in this type.You will not find an extra AGP slot that you can use to install a new video card.
You may be able to install a slower PCI video card or if you really want an AGP video card you can opt for a motherboard
upgrade (to one that offers an AGP slot).
• Memory: Graphics accelerators have their own memory, which is reserved for storing graphical representations.
Because of the demands of video systems, video memory needs to be faster than main memory. The amount of memory
determines how much resolution and how many colors can be displayed. Some accelerators use conventional DRAM
(Dynamic RAM), but others use a special type of Video RAM (VRAM), which enables both the video circuitry and the
processor to simultaneously access the memory.
• Bus: Each graphics accelerator is designed for a particular type of video bus (AGP or PCI).
• Using VRAM, a kind of RAM technology that could allow multiple accesses per cycle (one for video refresh, and one for
accelerator output)
• Using RAMBUS, wherein the RAM is partitioned over multiple buses
• Slicing the memory in large sequential banks
• Embedding an eDRAM (embedded Dynamic RAM) and splining the onchip
• Increase the efficiency of memory accesses via tiled addressing
Host, Accelerator Communication
A command queue (or FIFO-First In First Out strategy) helps in communicating operations from the host to the
accelerator. The host graphics API (Application Programming Interface) are decomposed to these accelerator specific
commands which are then executed by the graphics accelerator and then de-queued by the graphics accelerator in oldest
first order. Writing to and arbitration of the graphics queue usually involves writes and reads to memory mapped graphics
register locations, or I/O ports. However, writes to ordinary system memory and graphics based DMA strategies are also
possible.
Earlier graphics accelerators faced the hurdle of the queue being too small (typically 16 entries) to give the host and the
graphics accelerator sufficient opportunity for parallelism. So, the host driver would commonly be stalled waiting for the
queue to free up enough space for the next operation. But in modern graphics accelerators, you will not face this problem
as the queue has been significantly expanded usually to sizes usually above 512 entries. While a register window retained
a small queue, a portion of the graphics memory would be used as an extension queue to the register window queue.
Some accelerators, in order to improve queue access performance use the ploy of memory mapping the queue to
contiguous sequential addresses, to use the PCI bursting capabilities of the host chipset.
Features and Host Feature Emulation
There are various factors which influence the marketability of graphics like: price, how well they support games, and how
well they conform to standards. Earlier, starting in 1989, PC based graphics acceleration was limited to 2D but with the
advent of DirectDraw and Direct3D and availability of 3D accelerated games, 3D is being preferred. 3D is not as simple as
2D for graphic companies to deal with.
Monitor Refresh
Monitor refresh is the last factor in determining the video speed which takes a certain amount of memory bandwidth
away just to update the monitor. But 3D applications perform double buffering in order to prevent tearing or flickering.
By double buffering we mean that the trace is sent back and forth between two frame buffers and the monitor is
alternately refreshed by the buffer. In order to repoint the monitor to refresh from a different section of graphics RAM to
avoid tearing, you have to wait until the current refresh (if one is pending) is complete. Typically this is done by "waiting
for vertical retrace". This "wait period", however is dictated by the specifications of your monitor, not by the performance
of your CPU or graphics accelerator.
12.5 3D Graphics Accelerator Issues
3D computer graphics requires a lot of computer processing power and a large amount of memory. Until late 1995, 3D
acceleration was only found on a small number of high-end products its target applications being high-end rendering
packages and supporting engines. However, with the introduction of powerful Pentium chips, the demand for 3D
accelerators has increased manifold with all modern PCs incorporating them.
It was found that the initial 3D accelerators were slower than conventional GUI accelerators under Windows, and poor in
DOS at a time when most PC games ran on that platform, the main problem lying with software support. Moreover, with
32-bit Super Games Consoles on the increase, the quantity and quality of titles available for the 3D cards was poor.
With Microsoft supporting DirectX and enhancing Windows 95 as a multimedia platformand with the sales of 3D graphics
chips exceeding 42 million, in 1997, attitudes changed. There was a phenomenal increase in the demand for 3D graphics
chips with sales going up to 140 million by the year 2000.
12.5.1 The 3D Process
The main purpose of a dedicated 3D graphics chip or a dual-purpose 2D/3D graphics chip is to take away load from
system CPU and perform the rendering by itself. This rendering, or drawing, is accomplished through the graphics
pipeline in two major stages: geometry and rendering. The geometry stage is performed by the CPU. In this the CPU
handles all polygon activity and converts the 3D spatial data into pixels. The rendering stage is handled by the 3D
hardware accelerator. It manages all the memory and pixel activity and prepares it for painting to the monitor.
Earlier, although for a brief period, the only way a PC user could have access to 3D acceleration was throughan add-on
card that worked along with a conventional 2D card. The latter was used for day-to-day Windows computing, and the 3D
card gained popularity only when a 3D game was launched. As 3D capability rapidly became the standard, these 3D-only
cards were replaced by cards with dual 2D/3D capability. These 2D/3D combo cards combine standard 2D functions plus
3D acceleration capabilities on one card and represent the most cost-effective solution for most gamers. Almost all
modern-day graphics cards have some kind of dedicated 3D acceleration, but their performance varies a lot. If you want
to upgrade to 3D, you could go in for a dedicated 3D add-on card.
12.5.2 Issues in 3D Speed
A CPU's capabilities are stretched while handling the various 3D rendering techniques involving complex calculations.
Even if you have dedicated 3D accelerators to perform many of the functions identified abovethe CPU still handles most
of the geometry calculations – such as, the positioning of every filtered pixel that appears on-screen. With current 3D
accelerators sending out over a 100 million pixels per second, this is beyond the capacityof even the fastest CPU. The 3D
accelerator literally has to wait for the CPU to finish its calculations.
12.5.3 Improving 3D Performance
Two very different ways of improving 3D performance have been found. One is the use of dedicated geometry processor
which takes over the geometry calculations from the main CPU. Another means is offered by processor manufactures
who have tried to boost the 3D performance of their CPUs because they feared that once geometry processors became
standard on graphics boards, it would only take a mediocre processor to perform other functions such as running the
operating system and monitoring devices. Hence they provided specialized instruction sets Katmai New Instructions (KNI -
The code name for the new multimedia instructions that were built into the Pentium III (Katmai) chipin the case of Intel
and 3D Now! (an extension to the 8086 instruction set,)in the case of AMD for improving 3D performance. But, in the long
run, the increase in performance provided by these new MMX-style (Multi Media extension) instructions will appear
insufficient to cope with the brute power of the new generation of 3D accelerator. Moreover, most users including
gamers do not upgrade their systems regularly and have CPUs which are relatively slow. Therefore, dedicated geometry
processors are the most preferred.
12.6 Troubleshooting
Some typical problems encountered with video cards are discussed in this section. Most of the problems addressed are
related to specific setup issues with the video subsystem. You should always make sure that you are using the correct
drivers for your video card. If you have any problems related to the video subsystem, or even general instability with the
system that shows up when you are running Windows, thenbe sure that it is caused due to the use of faulty or incorrect
drivers. The video cards are generally shipped with their drivers in a floppy-disk or CD-ROM from their manufacturers.
However the up-to-date drives can be found in their company’s website. These will often fix many of the strange
problems sometimes seen when installing a new video card.
12.6.1 Avoiding the Basic Problem Problems Associated with Graphics/Video Cards and Devices
Video cards, graphics cards, and other 2D/3D graphic accelerator cards are bunched with the corresponding device
drivers that are essential for the proper function and performance of the graphics device. Sometimes these old device
drivers may not work properly if you upgrade your motherboard, processor or operating system. Under these
circumstances you need to uninstall the old drivers, download the latest drivers suitable for the upgraded motherboard,
processor or operating system and then reinstall it.
Resolving Installation Problems with Driver Detective
The device driver update tool called Driver Detective can be used to update Graphics and video device drivers quickly and
accurately. The Driver Detective tool can identify individual graphics and video cards with driver problems. They can also
automatically download the most up-to-date drivers suitable for a particular motherboard, processor and/or operating
system.
If you encounter difficulties like crashing, hanging, freezing, etc. Then it means that the display adapter has some
problem. In case your video card displays some things incorrectly then you may be able to identify the problem by
comparing your screen errors with examples screenshots. This section contains some screenshots of video cards which
show different kinds of visual problems. But if your video card crashes or hangsthen it isoften difficult to find the cause
because there could be various other reasons displaying the same signs. You could carry out some standard procedures to
set right the problem. As a last resort you could seek the help of support forumsBut before trying these proceduresit is
advisable to create a system restore point as described below. A restore point allows you to undo software changes you
make while trying to solve your video card problem.
• Assuming that the video card adapter is separate from the motherboard, you should check that the card is properly
seated. Sometimes one end of the card may creep out of the slot when it is initially screwed in resulting in no display
appearing on the monitor.
• Verify the correct jumper settings for video cards that are mounted to the motherboard by checking the documentation
that camewith the hardware.
• The cable running from the monitor to the video port may also be broken or there may be a loose contact. Examine the
monitor cable to ensure that there are no broken or bent pins. A bent pin can usually be straightened using a pair of
sharp-nosed pliers. Also check that the cable running from the monitor to the VGA port is secure.
12.6.3 Basic Troubleshooting in Windows OS Operating System does not appear
Suppose if the initial screen of the startup process appears on the monitor and then if the display goes blank, then there
is a possibility of wrong video driver installation. When an incompatible video driver with the operating system is installed
these kinds of problems will surface. If your operating system is Windows XP, you can follow procedures given below to
resolve the problem.
• In Windows XP, start the computer in Safe Mode by pressing [F8] when the Starting Windows message appears.
• From the boot menu select the Safe Mode option. This will force Windows XP to start using the standard VGA driver,
instead of the video driver that is used when the operating system is started normally.
• Once the computer is started in Safe Mode, you can install the correct video driver using Device Manager.
You can get a detailed description of these steps under the section "Updating Video Drivers".
Another cause for the video problem discussed above could be due to overclocking. Although this is a popular method
used to get more performance out of a hardware component such as a video card adapter, it could result in display
problems. The problem can once again be resolved by starting Windows XP in Safe Mode and configuring the video card
to operate at its default speed.
Poor Display
Poor display can cause, besides fuzzy appearance, distorted text, monitor flickering etc. Due to poor display there may be
chances of causing headaches and sore eyes after working for long time on the computer. Therefore this problem has to
be resolved.
There are a number of causes which lead to poor display. You should first verify that the latest driver for the video
adapter has been installed. You can determine which driver version is currently installed in Windows XP by completing
the steps outlined below:
Select the Properties button under Adapter Type to locate specific driver information including the driver version. You can
find the version information beside the Driver Version field. Compare this version with the latest version on the
manufacturer's Web site. If the driver needs to be updated complete steps four through seven listed under the section
entitled “Updating Video Drivers”. If the latest driver is installed, you may need to adjust the resolution and refresh rate
(this is the rate at which the video card redraws the screen) for the video adapter card. Incorrect display settings can
cause problems with your display.
Screen Resolution
In order to configure display settings, right click the Windows XP desktop and click Properties to open the Display
Properties dialog box. Then select the Settings tab as shown in Figure 12.3 to change the resolution settings. Use the
slider under Screen resolution to adjust the settings. Normally, a 17 inch monitor will have a default resolution of
800x600.
Once again, select the Settings tab and click the Advanced button. Select the Monitor tab as shown in Figure 12.4. Use the
drop down arrow to adjust the refresh rate to about 70 MHZ. Remember that a higher refresh rate will reduce the
amount of flickering. As with the screen resolution, if you are unable to select the desired refresh rate, go back to the
video driver to make sure the latest one is installed. Use the Monitor tab to adjust the refresh rate.
It is important to verify that the monitor supports the screen resolution and refresh rate configured in the Display
Properties dialog box. You should refer to the documentation or manual that came with your monitor in order to identify
the values that are supported.
Problems Displaying Videos or Animations
You will encounter problems with videos and animations, if the display adapter driver does not support DirectDraw. If
videos and animations are not correctly displayed on the monitor, you should first determine if the video card adapter
driver supports DirectDraw which can be accomplished using the DirectX Diagnostic Tool. Then from the Run command
type DxDiag.exe and click OK. From the Display tab, click the Test DirectDraw button. Windows XP will perform a series
of tests. If your display does not pass each of the tests, you will need to update the video adapter.
If updating the video adapter driver does not solve the problem, verify that your video card is indeed supported by the
operating system installed on your computer. If you are running Windows, you can check the Hardware Compatibility List
(HCL) to determine if the video card adapter is supported.
Updating Video Drivers
Faulty or incorrect video drivers can result in such things as operating system instability, video subsystem problems, and
so on.Most video cards come with drivers on a floppy disk or a CD-ROM. You can use the drivers that came with the
hardware or visit the manufacturer's Web site to obtain a more recent one. The drivers should come with a text file
outlining the installation process.
The first step in updating the driver is to identify the make and model of your video card. In Windows XP, you can see a
list of all the hardware components within Device Manager. The video card should be listed under Display Adapters as
shown in Figure 12.5. However, if it is has not been recognized by Windows XP, it may be listed under Unknown Devices.
Double click on the video adapter listed to identify the make and model. This information can be used to retrieve the
latest driver from the manufacturer's Web site. Device Manager will list the Display Adapter installed in the computer.
A majority of video adapter card problems can be solved by ensuring that the correct driver is installed and that the
display settings are properly configured based on the capabilities of your hardware. However, if you are unable to resolve
the problem using the steps discussed in the previous sections then, it might be
• Initiators and targets: Based on the type of SCSI bus, the devices can be initiators and targets. An initiator is a device
that starts communication when something has to be done. A target is a device that responds to the initiator’s
commands. The organisation for initiator and target is a two way process and interactive. An initiator may become
target in the course of data transfer cycle and vice-versa. There must be at least one initiator and one target in the
system. Usually the SCSI adapter card will be the initiator and all the other devices like hard drives or CD-ROMs are
usually the targets.
• Synchronous and asynchronous: SCSI needs a handshaking protocol to organise data transfer from sending end
to receiving end.
There are three types of handshaking protocols. They are asynchronous, synchronous and fast synchronous.
Asynchronous protocol works like a parallel port in which whenever each byte is received it must be acknowledge and
request is sent before the next byte can be sent. This type of operation leads to reliable but slow performance.
Synchronous and fast synchronous operations do not bother about request and acknowledge handshake only for data
transfer. Therefore the operations will be slightly faster with a fixed amount of delay time called as offset.
The fast synchronous protocol uses shorter signals, which gives faster speed. The protocol to be used is chosen by the
initiator and the target through their communications.
• Disconnect and Reconnect: SCSI gives features of disconnect and then reconnecting the devices again later. This
feature is the main reason of SCSI desirability in the multitasking environment and allows different operations to
operate simultaneously. The initiator can decide whether it can give the feature authority of disconnecting the device
to the target.
• Terminators: It is a small resistor array which is used to enhance with SCSI signal integrity.
The SCSI cable must be terminated with a location of terminating resistor depending upon the devices that are added to
the Bus. Since there is a particular limit to the number of devices that can be added to the cable, the termination have
become a big deal. They just have to add the resistor. Termination has become a very important element of SCSI setup
and troubleshooting. The incorrect termination can cause lot of signal problem. There are two types of terminators, active
terminator and passive terminator. Active terminator provides its own regulated power sources. This feature will
influence the longer cable. Passive terminator has resistor pack that can be plugged into SCSI device.
Passive terminator is suited for short distances usually work for cable length inside the PC.
• SCSI IDs and LUNs: SCSI bus is designed to support eight devices at a time (hard drive, DVD drive, host adapter,
Scanner, Printer, etc.) called as logical unit. A logical unit number must have its own unique ID number ranging from 0
to 7. The SCSI IDs are the set for SCSI adapter. Each SCSI device uses jumpers or DIP switches (A series of tiny switches
built into circuit boards which helps us to configure a circuit board for the specific types of the computer or the
applications.). Generally the SCSI adapter is set for ID7 (SCSI ID 7 is the preset SCSI ID for the SCSI host bus adapter
giving it the highest priority on the SCSI bus), the primary SCSI hard drive is set to ID0 (it is the standard ID used for an
internal drive) and the secondary SCSI hard drive is set to ID1 (low priority comparatively). From ID2 to ID6 are the
unique ID numbers in which the other devices can be placed.
A logical unit number or LUN is a number used to identify a logical unit, which is a device addressed by the SCSI protocol
or similar protocols. Logic unique numbers (LUNs) are similar to SCSI ID that is used to identify a logical unit. LUNs indicate
devices within devices. Every SCSI ID from 0 to 7 can have up to eight LUNs that mean there can be eight sub devices for
every given device ID. You can also make your device ID consisting of more than eight sub devices. For example, suppose
you have three hard drives E:, F: and G:, ID2 can be used by all three drives but E: can be assigned to LUN0, F: to LUN1, G:
to LUN2. Unfortunately, an SCSI user cannot decide randomly to use LUNs assignment because there must be a hardware
designed for that purpose. If you have a device that uses LUNs like CD juke box, you may need to enable LUNs support in
the host adapter’s bios or device drivers.
• Bus Configuration: As we know, SCSI uses single ended cabling that support an eight bit data bus also known as A-
cable. This eight bit data Bus is a 50-pin assembly. SCSI cable with 50-pin single ended system consists of 3 major
sections. They are ground wire, data signal and control signal. The brown line is carried by at least half of the single
ended interface. There are eight data lines from D0 to D7 and one data parity bit (DPAR). The parity bit is always an odd
number in SCSI. There are four terminator power lines (TERM PWR) and nine control signal wire.
The following will explain each of the signals:
• C/D - Control/Data: This signal is target driven that allows the target device to select whether it will be returning a
command or data to the initiator.
• I/O: This signal is target driven that allows the target device to determine whether it will be receiving the data or sending
the information along the data Bus.
• MSG - Message: This signal is target driven that allows the target device to send coded status or error messages back
to the initiator during the message portion of SCSI Bus cycle.
• REQ - Request: This signal is data strobe signal that is also target driven which allows a potential target device to obtain
data on the Bus.
• ACK - Acknowledge: This signal is initiated driven which is also called as data strobe signal that is sent in response to
target! REQ signals that inform the target device that it has gained the use of the Bus.
• BSY - Busy: This signal is either target driven or initiated driven. This signal allows the device to inform the Bus that the
target device is busy
• SEL - Select: This signal is neither target driven or initiated driven that is used by an initiator to select a target device.
• ATN - Attention: This signal is initiator driven that is produced by the initiator which informs the target device that
initiator has message ready. The target should switch to the message phase.
• RST - Reset: This signal is target driven or initiator driven and is strobe signal that triggers a Bus-wide Reset off all
devices. Usually only one device produces a reset signal.
13.2.2 Installing a SCSI system
Ideally SCSI host adapters are PnP devices that can automatically detect the resource connected to the PCI slot. Problems
occur because of |incorrect hardware or software installations. In this section, you will understand the overview of SCSI
adapter installation process and SCSI BIOS setup.
• Internal Hardware installation: you need to install the SCSI host adapter and connected to at least one SCSI device.
You must follow the steps below to perform installation of a typical SCSI host adapter:
• Software Installation: Any hardware requires the appropriate software available for proper execution of the device.
You must install the necessary device drivers for the SCSI device you have installed.
You need to follow the instructions below to properly install the software to the windows.
1. It should automatically detect the SCSI device when windows start up.
2. Click on Driver which is provided by the device manufacturer in the Disk. Then click OK.
3. Driver CD should be inserted into CD ROM, then select CD-ROM drive. Then click OK. This will load the SCSI drivers
into the windows
4. Once loading is finished verify for installation success. When your desktop returns then Click start → highlight
settings → click control panel.
5. Next double click on the system icon → click the Device Manager Lab.
6. Double click on the SCSI Controllers branch to expand it.
7. Now it is possible to see that your new SCSI host adapter is listed in the system properties. If you can see the name
of the device drivers then it means that your new device is installed properly. If not, then you need to check the
installation.
8. Once you get to see the device in the system properties you can now exit the Device Manager and start the use of
your SCSI adapter.
13.2.3 SCSI considerations
While adding or upgrading the SCSI support on your computer you must consider the four important elements. They are
the SCSI peripheral, the SCSI host adapter, the SCSI cable assembly, and the SCSI software driver. If any of these elements
is missing, then the installation will suffer from problems.
• The SCSI peripherals: you need to find out the compatible devices with the architecture of the SCSI controller such
as SCSI hard drive or CDROM. You must know about the wide range of SCSI ID settings of each of the SCSI device. The
peripheral device must be flexible to run on any of the eight SCSI IDs (0-7). SCSI peripheral should support SCSI parity.
We must be sure about the type of SCSI devices as the SCSI devices are of two types such as internal and external. If
you use internal SCSI device then there must be enough space inside the PC to fit the device inside. If you are using
external device then there should be two SCSI connectors on the adapter to allow the chain connectivity for adding
devices later. Device drivers must be compatible with the same standard protocol used by adapters. Compatibility is
an issue because if the device drivers are not compatible then it will not work properly. The peripheral you are using
must offer built-in cable termination.
• SCSI host adapter: SCSI host adapter is an important device. The adapter chosen should be compatible with the
existing PC bus. It should support the standards. The adapters must be flexible enough to work with all SCSI IDs from 0
to 7. The host adapter also requires device driver to run properly. Therefore, the same standard device driver must be
used that is compatible with the host adapter.
• SCSI cables: Though the recent cabling is highly standardised, check for proper cabling. While choosing the
peripherals, be aware of the cable requirement. Don’t use specialized cables because all devices may not support them.
Keep the cable length short and use the good quality cabling. You must also take care of termination and end point of
cabling. The termination and ending of the cables must be thoroughly checked and verified.
• SCSI drivers: Device driver provides instructions that allow the SCSI host adapter to communicate with the PC as
well as with the peripherals. The peripheral as well as host adapter requires device drivers to operate. Therefore you
must use the same standard device drivers that are compatible to the devices.
13.2.4 Troubleshooting
In many cases, the troubles are caused during installation, setup, and operation of the devices that is on the bus. When
you are installing a device, install one by one then you will have less problems. You must first check the host adapter SCSI
BIOS initialization message. If you don’t find the initialization message when you switch on the computer then it is sure
that there is some problem with system SCSI host adapter. This means that either the adapter is installed properly or
device itself is defective. If this test is passed in the SCSI checking them probably the problem is in the driver installation.
You must ensure that any old CMOS settings are mapped wrongly to the new device. Then you need to unselect the
settings. Below are the general tips or checklist for troubleshooting the SCSI device in the following.
• You must ensure the power supply of the computer is sufficient enough to handle all the SCSI devices in the computer.
• The quality of the cable must be good and securely attached to each device.
• The orientation of each connector on the SCSI cable must be verified properly.
• SCSI ID of the device must be properly selected. You must make sure that duplicate IDs are not allowed unless LUNs
designations are used.
• You must ensure that the two ends of the cable must have proper terminations and should have active terminators.
• You must verify for the proper configuration of SCSI controller. There must be no conflicts in the SCSI controller in case
of IRQs, BIOS addresses, or I/O. you must check the SCSI host adapter BIOS. The SCSI BIOS can be disabled if you are
not using SCSI hard drives in booting. This decreases the problem related to performance or compatibility issues can be
solved.
• You must check for CMOS setup for drive configuration. If the SCSI drives are in the system and IDE drives are not in
the system then make the drive entries under CMOS as “none”.
• You need to check for the PCI slot containing the SCSI host adapter is active or not and ensure that it is using the unique
IRQ.
• You need to check the DOS drivers for host adapter and non HDD devices are installed properly in CONFIG.SYS and
AUTOEXEC.BAT. CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special file
that contains setup or configuration instructions for the computer system. AUTOEXEC.BAT is a root directory batch file
that is responsible for executing commands at system start up.
• You need to check for the protected mode drivers if you are working under windows. You must see that any necessary
protected drivers for the host adapter and SCSI devices are installed properly.
13.3 USB systems
Universal serial Bus (USB) is a serial Bus standard for connecting the device to the computer without installing the driver
when the computer is shut down and restarted. It is termed as intelligent serial interface and a technology for high speed
data transfer over cable. USB is often used for connecting keyboard, mouse and portable data storage devices to the
computer. It is very user friendly when compared to alternative port such as parallel and serial port.
In this section you will study the general concept of USB and get to know the troubleshooting procedures to solve the
problems with implementation and performance on windows platform. You will also study the architecture of USB.
13.3.1 USB Concept
The USB interface simplifies the problem faced by external peripheral devices such as printer, scanner, drive, etc due to
integration. Using USB interface you can directly pin the devices to the computer. The USB is a hardwired connection
linking two or more hardware components within a computer system and is designed to provide a fast and functional
means for adding external components to a PC. With the help of USB there is no need to install and reconfigure the
system of a dedicated computer. Computer peripherals automatically configure as soon as they get attached to the
computer without rebooting a system or executing the CMOS setup routine.
USB allows up to 127 USB devices to run simultaneously on computer.
USB devices: Each USB device has the same potential as every bit, as diverse as the personnel computer itself. Some of
the devices that is designed for USB in the computer are telephones, modems, keyboards, mouse, CD-ROM drives,
joystick, scanners, digital cameras and printers.
Additional to these devices USB’s 12Mbits/s data rate supports other peripherals such as MPEG-2 video (MPEG-2 is a
standard for the generic coding of moving pictures and associated audio information. It describes a combination of lossy
video compression and lossy audio data compression methods which permit storage and transmission of movies using
currently available storage media and transmission bandwidth.) Based product, data gloves (device which is in a form of
gloves with concept of virtual reality measure the movements of the fingers who wear the gloves and transmits them to
computer) and digitizer(it is device for converting analog signals into digital signals which combines two operations of
sampling the input data and quantizing samples). USB also acts as DSL interface (Digital Subscriber Line) and
accommodate cable modem. DSL is a technology that provides data transmission over the telephone network without
interfering with the voice service.
• Implementing USB: It is simply a matter of attaching a USB hub such as USB keyboard and then attaching USB device
to the hub. If there is no USB available in the system. You will need to upgrade the motherboard to a chipset that
contains USB-complaint. Once the new motherboard is placed USB device can be attached.
• Enabling USB: BIOS control the USB port on the motherboard that enables through the system CMOS setup utility.
you can locate the USB configuration setting section once you enter the CMOS setup. You can find these settings under
input output port configuration menu or peripheral setup menu. Enable the USB ports, before using the USB
• Types of USB host controller: There are two types of USB host controller. They are UHCI (Universal Host Controller
Interface) and OHCI (Open Host Controller Interface). These types are responsible for having an impact on USB device
compatibility. UHCI is a register level interface that enables a host controller for USB or fireware hardware to
communicate with a host controller driver in the software. OHCI is a register level interface to assure software works
properly with any hardware. OHCI does not support all the USB devices USB devices often work fine with UHCI. For
example, sometimes you find that a USB peripheral may not function properly in any USB port that is when you attempt
to use it Compaq USB camera with an OHCI, the camera may not get detected or may not work properly. This probably
means that your camera is designed to work on the UHCI host controller and not supported on OHCI controller. OHCI
host controller has optimization feature that allow multiple transaction submitted in a single frame whereas UHCI host
controller send only a single transaction per frame. This means your camera cannot respond to a second transaction
within a second frame.
In order to find the type of the USB host controller in your computer you must use the following steps,
1. You need to click start → settings →control panel
2. Double click on the system icon and select the Device Manager tab
3. Expand the universal serial Bus entry by clicking the plus sign (+) in front of it. This is to be done to see controller
information dialogue.
4. Locate UHCI or OHCI on the dialogue box.
USB Features You can list few of the features of USB as follows,
1. When USB device connects to a computer, the computer acts as the host device.
2. You can connect up to 127 devices to the host using USB.
3. The USB 2 has the maximum data rate of 480 megabits per second. USB 2.0 is an external serial interface used on
computers and other digital devices to transfer data using a USB cable. The designation 2 refers to the standard
or version of the USB interface.
4. You can connect two wires of the USB cable to power supply. One wire for voltage supply and other wire for grounding.
5. For low power devices like keyboard, mouse they can be directly connected to the computer and draw their power
supply from the BUS. High power devices such as printer, scanners have their own power supplies and draw minimum
power from the BUS.
6. You can plug the USB devices into the BUS and unplug them at any time.
7. When the computer goes to power saving mode the USB devices can automatically put to sleep mode by the host
computer.
USB Devices: These devices are the peripherals of the computers that communicate with the host computer using USB
protocol. Some of the devices are flash Drive, MP3 player, image still camera, video camera, etc. Additional to this, there
is special type of USB device called as USB hub that gives the additional attachment points to connect more peripherals.
USB Hub is a device that has multiple USB ports which is used to plug the various USB devices and other hubs.
USB Cable: cable is a wire that is used to connect host computer and USB device.
The maximum length of standard USB cable limits to 5 meters for high speed devices and 3 meters for low speed devices.
The reason behind using short cable length is the maximum allowed delay of the signal is limited to shorter time above
which the connection will be lost. Practically, some USB devices may work with longer than specified cable. When longer
cable is used it may decrease the signal quality provided by the USB bus. This avoids the USB device to work properly or
may not work at all.
13.3.3 Troubleshooting
Usually USB problems are not severe. But still there are few steps which can control these small problems such as
hardware failure, device driver’s configuration problems, cabling problems, firmware/BIOS problems, Root hub
configuration problems, etc.
The steps are as follows:
Hardware failures or Configuration problems: There may be some hardware problems such as high or low
power, limited bandwidth, malfunctioning, etc. In this case, make sure that the root is working properly through the
Device Manager. If you find an exclamation mark in a yellow circle or triangle along with root hub then it means there
is some error. USB Root Hubs are both physical and virtual installation ports that can be found on your computer that
are used for implementing and installing additional hardware files and components to your computer's hard drive. You
need to verify that the BIOS assign the Interrupt request line (IRQ) to the root USB controller. This is very important as
it loads the device drivers. If the devices are not working when you plug the device to a root hub then check the power
requirement of the bus. If the device tries to draw more power than the capacity of the bus then the device don’t work.
Otherwise if the port gets less power, then port is not at all active. Then also it will not work.
Device driver configurations problems: when the device is connected to the root hub, it should automatically
load and configure the device without even asking a device driver. If the computer prompts you for device driver then
you need to enquire with the manufacturer of the device that the windows you are using support the specific device.
Cabling problems: USB has two types of cables. They are high speed and low speed cables. If you plug high speed
cable in to a low speed cable, then it can cause signal distortion over a long distance. The major difference between
the two types of cabling is their shielding.
Firmware/BIOS problems: Firmware is software that is stored permanently inside the ROM. It is the key to all USB
devices. All the information about the device is present in the device’s firmware. Port reset itself once the descriptors
in the firmware are loaded into the system. Verify the root hub and you must have up-to-date firmware for both BIOS
and USB device. Malfunctioning of firmware results in loading the second copy of the device in the Device Manager.
When you remove and insert the device, the device becomes available again and appears as the second instance of the
same device. When you find this you must verify that you have the most up-to-date firmware for that device.
Root Hub Configurations Problems: This problem is related to computer set up. IRQ line need to be assigned
by an USB controller in the computer BIOS.
13.5 Glossary
Term Description
Root hub Are both physical and virtual installation ports that can be found on your
computer that are used for implementing and installing additional
hardware files and components to your computer's hard drive.
USB hub Is a device that has multiple USB ports which is used to plug the various
USB devices and other hubs.
Unit 14 PC Assembly
14.2 Plug and Play Devices
Plug and Play (PnP) is a combination of hardware and software support that enables a computer system to recognize and
adapt to hardware configuration changes with little or no involvement by a user. This feature enables you to add devices
to a computer or even remove devices from, it even without any understanding about the hardware or even performing
any manual configuration. For example, you can add and remove plug and play devices such as keyboard, mouse,
monitor, pen drive, external hard disk etc.
PnP is supported by the device hardware, device drivers and system software. The hardware industry standards, PnP ISA
definition and the PC Card standard are provided for easy identification of add-in boards and basic system components.
The system software support for PnP, together with PnP drivers provides the following:
Moreover, the Plug and Play device driver support for many device classes is provided by the Microsoft Windows Driver
Model (WDM), which also supports power management and other new capabilities that can be configured and controlled
by the operating system.
Plug and Play Architecture in Windows 2000
Figure 14.1 shows the architecture of Plug and Play in Windows 2000.It contains two modes of functionalities: user-mode
functionality and kernelmode functionality. The user-mode functionality cooperates with kernelmode components to
provide dynamic configuration and interfaces with other components that need to participate in Plug and Play, such as
Setup and Control Panel. Boot-time Plug and Play activity and interfaces with the HAL (Hardware Abstraction Layer),
Executive, and device drivers are supported by the kernel-mode functionality. Let’s see the functions of various
components in this architecture.
WDM (Windows Device Manager) Interface for Plug and Play The I/O system provides a layered architecture
for drivers. The following sections discusstypes of WDM drivers, driver layers, and device objects:
Device Objects
The device objects which are the device to the driver created by the corresponding driver are generally of three kinds:
physical device objects (PDOs), functional device objects (FDOs), and filter device objects. Physical Device Objects
(PDOs) represent a device on a bus. Every Plug and Play API that refers to a device refers to the PDO. The Functional
Device Objects (FDOs) represent the functionality of a device to a function driver. The filter device objects represent a
filter driver as a hook to add value. These three kinds of device objects are all of the type DEVICE_OBJECT, but are used
differently and can have different device extensions.
(“How to Write Linux PCI Drivers”). Also you can refer to the file ‘pci.h’ in the location: /usr/include/linux/pci.h for more
information about PCI drivers.
14.2.3 Troubleshooting
This section discusses troubleshooting techniques for some common PnP devicesunder Windows OS.
Plug and Play USB Not Working
In spite of Windows OS being loaded with a lot of drivers to support Plug and Play devices these devices may not function
for various reasons. The most common reason may be that Windows OS may not have the device driver for that
particular USB. An example of such a device would be your USB wireless broadband stick or a locally manufactured cell
phone. Such devices need related drivers to be installed prior to their functioning on any computer.
The other common reasons as to why sometimes Windows OS plug and play devices do not work may include faulty
devices, incorrectly configured hardware, mismatched USB cables, outdated firmware and problems with USB root hubs.
If you find a plug and play device that should be detected automatically but is not being recognized by Windows OS, you
can troubleshoot Windows OS, keeping in mind the above possibilities.
Sometimes the USB device may work in another computer having Windows OS but not in your computer. If this is the
case first download the latest updates of Windows OS, including latest Service Pack. Use the Windows Update option
under Tools Menu of the Internet Explorer to get the latest updates. If you are using another browser, you can use the
Automatic Updates icon in the Control Panel to get the Windows OS Updates.
Before you download and install any updates you may be missing, or before installing the latest Service Pack, which is not
on your computer, create a system restore point. You can do this by using the System Restore option.
Click on Start All Programs Accessories System Tools System Restore. Once you get the System Restore
Window, select “Create a Restore Point” and click on Next. The next page will ask you for a name to identify the system
restore point. Once you enter a unique name that you can remember, click on “Create” button and finally on “Close”. All
the current settings of your computer will be saved so that if anything goes wrong, you can use the system restore to
undo the changes done to your computer.
Using System Restore to Fix the USB Plug and Play Issue
Sometimes a USB device which may have been working well previously suddenly stops working. This may due to some
fault in the settings of the USB hub or with any system file associated with your device. You can resolve this issue by
resorting to system restore. Open the System Restore Dialog Box and select “Restore my computer to an earlier time”.
This will present you with a list of restore points in a calendar format. You need to recall the restore point prior to which
the USB plug and play device was working. Once you find it, click the restore point and then again click on the “Next”
button. This will restore the previous settings so that you can use the USB plug and play device again. There is a possibility
of losing any custom settings software installed after the creation of the restore point you selected to restore your
computer.
Troubleshooting using Power Cycle and Cables Power Reset
In order to do this first, detach the USB device from the computer and turn off the computer. Then unplug the power
supply, wait for a minute and plug the power cord back and turn on the computer. When Windows OS is loaded fully
insert the plug and play into the USB port. The power cycle will make the data bus to reset which might help Windows OS
to identify the plug and play device. Generally, the problem is fixed at this stage however, if Windows is still unable to
detect the USB plug and play, go to the next Windows OS troubleshooting steps.
Problems with Malfunctioning Cables
As some extension cables that come along with USB devices may have a problem, it is advisable to connect the USB
directly into the computer without using cables and see whether the USB is working. You should keep in mind that
sometimes the problem may arise due to the use of incompatible cables. Not every cable will work with all USB plug and
play devices as the USB cables are categorized based on the data transfer speeds, which vary from cable to cable. You
should checkif the cable is compatible with your plug and play USB device. If you find that the cables are ok and the
problem persists then you should go in for advanced Windows OS troubleshooting method for USB plug and play devices.
Advanced Windows Troubleshooting for Plug and Play Devices
As Windows OS has a certain power limit for each of its ports if any of the ports attempts or starts consuming more power
than the specified limit, the operating system suspends the port temporarily. If this happens to the USB ports, then the
Windows OS plug and play device may not be recognized.
Updating the BIOS and USB Firmware to Restore the Settings of Windows Ports:
Though the power settings are restored when you give a power cycle as explained above, sometimes the problem lies
with the firmware, meaning the hardware itself. There could be several reasons why a port would draw more power than
allocated. If you found that the power cycle did not fix the USB port, then now you may need to update the firmware.
Moreover, you can also update the system BIOS so that you can start afresh.For this you could search the website of the
manufacturer of your computer for the latest version of USB firmware and any BIOS update for downloading them.
Reinstallation of USB Controllers:
Even after undertaking all checks for troubleshooting, your Windows OS plug and play device does not work, and then
you have to consider two possibilities for this: either the USB controllers are corrupt or the USB ports are bad. In the
latter case, you will have to replace the USB ports. But before that, check if the reinstallation of the USB controllers can
solve your problem with the Windows OS plug and play device not working.
To reinstall the USB controllers, you need to uninstall them first. To uninstall the controllers, open the Device Manager by
holding down the Windows key and hitting the Break key. In the System Properties Dialog box that appears, select the
Hardware tab. Then click on the Device Manager Button (first one from the top). In the dialog box, expand the Universal
Serial Bus Controllers.
You will find it at the bottom of the window.
Once expanded, right click on each of the USB Controller and select uninstall from the context menu. You may be
presented with a message saying something about system instability. Ignore the message and uninstall all of them.
Self Assessment Questions
1. In Linux, the ‘pci.h’ header file is available in __________ directory.
2. ACPI stands for __________.
3. Every USB cable will work with all kinds USB plug and play devices. (True / False)
There are also connectors that have USB-A connectors at the end that connect to the computer, and a device-specific
connector at the other end (e.g. the iPod). USB Male to Female connectors is also available for extending the length of a
USB cable. Many other non-USB cables can also connect to your computer via a USB converter; these cables have the
standard USB-A connector on one end while the other end could have connections for other ports such as Ethernet or
audio.
Audio Cables and Connectors
The most common audio cable is the standard headphone jack which is also referred to as TRS connector.Such connectors
are available in several sizes, but the most common ones used with computers are the 3.5 mm or 1/8" mini audio jack.
Figure 14.4 shows the standard audio jack.
This standard audio jack can be used to connect most speakers and microphones to the computer. The microphone port
on your computer is usually pink in color. The speaker port will be usually green. Some computers have additional TSR
audio ports colored black, grey, and gold; these are for rear, front, and center/subwoofer output, respectively.
There is a bigger variety of the TSR connector which is called 1/4″ TRS. This is commonly used in professional audio
recording equipment and it can be connected to a computer using a 1/4" to 1/8" converter as shown in Figure 14.5.
Video Cables
The VGA (Video Graphics Array) cable is one of the most common video connectors for computer monitors and high-
definition TVs. A standard VGA connector has 15-pins. This is used to connect a monitor to a computer, laptop to a TV
screen or a projector. Figure 14.6 shows different types of VGA cables and connectors.
S-Video
S-Video cables are also known as Separate Video or Super Video cables carry analog video signals. They are commonly
used for connecting DVD players, camcorders, and older video consoles to the television. Standard S-Video connectors are
round in shape and usually have 4 to 9 pins. Figure 14.8 shows the S-Video cable.
Data Cables
A data cable is any media that allows baseband transmissions (binary 1s, 0s) from a transmitter to a receiver. Some of the
examples include: Ethernet cables, token ring cables, USB cables etc. Firewire is a faster alternate to USB. They are used
for connecting digital camcorders and external hard drives to a computer. Firewire typically has 6 pins in its connector,
though a 4 pin variety is common as well. Figure 14.9 shows the Firewire.
eSATA(External Serial Advanced Technology Attachment) Cables eSATA cable is used internally for
connecting the hard drive to the computer’s motherboard. The eSATA cable is designed to connect portable hard drives
to the computerand can transfer data faster than USB or FireWire. However, the eSATA cable cannot transmit power, so
unlike USB, you cannot power an external hard drive with eSATA. The eSATA cable has more shielding, and contains a
larger connector.
Ethernet Cable
The Ethernet cable, also known as RJ45 is based on Cat5 (Category 5) twisted pair cable and is made from 8 individual
wires.The Ethernet connector, has 8 pins and looks similar to a phone plug, but is actually thicker and wider. It too has a
clip to help maintain a tight connection like a phone connector. Figure 14.11 shows the Ethernet cable.
• Attach the CD-ROM to IDE (Integrated Drive Electronics) connector 1 and make the CD-ROM a slave. In this case, you
will set the jumper on the CD-ROM to "Slave" then attach the CD-ROM drive to the same IDE cable as the hard drive.
Or,
• Attach the CD-ROM to IDE connector (Integrated Drive Electronics) 2 and make the CD-ROM a master. In this case you
will set the jumper on the CD-ROM to "Master" and attach the CD-ROM drive with a separate IDE cable. In order to use
this method, you will need a second IDE cable.
Next you have to connect various data cables from the devices such as floppy drive, hard disk drive, CD-ROM drive into
the motherboard. Figure 14.15 shows a schematic diagram of a motherboard. The diagram clearly shows the respective
slots to insert power cable, IDE cables, FDD (Floppy Disk Drive) cable etc.
Fitting Cards
Fitting the sound and video cards is very easyas the PCI and AGP slots like the memory slots are keyed meaning that the
cards can only be inserted one way. As usual you should take all the antistatic precautions. Next take the graphics card
from the antistatic bag and push it down into the AGP slot. Look along the length of the slot to ensure that the card is not
sitting up at either end. Your motherboard may have a lot of PCI slots so try to place the cards in those slots, such that
enough space is available between them. Sometimes your AGP card may develop heat; in that case try to avoid the PCI
slot next to it, just to ensurea cooling airflow around your case. Modern AGP cards have cooling fans fitted in them.
Once you complete the above tasks, you can close the cabinet and then connect the monitor, keyboard, mouse, speakers
and microphone to the computer. Now your computer is ready for installing the operating system. You can configure CD-
ROM as either a Master or Slave depending upon the IDE connectors and jumper settings.
• You need to plug sound and video cards into their respective PCI or AGP slots.
14.7 Glossary
Term Description
PnP Plug and Play (PnP) is a combination of hardware and software
support that enables a computer system to recognize and adapt to
hardware configuration changes with little or no intervention by a
user.
ACPI Advanced Configuration and Power Interface Specification (ACPI)
defines a comprehensive, system-wide approach to controlling
system and device configuration and power management. ACPI
provides these services for all versions of Windows later than
Windows 95.
Device object The device object represents the device to the driver which will be
created by the corresponding driver. Generally there will be three
kinds of device objects.
USB Universal Serial Bus (USB) cables are used to connect most new
devices to your computer including flash memory sticks, portable
media players, internet modems and digital cameras.