Serial Devices1-1 Serial Devices  Serial Standards m RS-232 RS-232 cables consist of up to 25 wires, each with a specific function and each intended to.

Slides:



Advertisements
Similar presentations
HARDWARE Rashedul Hasan..
Advertisements

Devices and Drivers (Chapter 7) Khattab Alhabashi UNIX System Administration.
Chapter Six Networking Hardware.
I/O Interfaces.
Introduction Computer Hardware Jess 2006 EXPANSION CARDS BUS ARCHITECTURE AND CONNECTORS.
Chapter 22 All About SCSI.
Data Communications and Computer Networks
EET Advanced Digital Parallel Ports. n In contrast to serial ports, parallel ports ‘present’ all bits at one time. n ‘The parallel port reflects.
Chapter 10 Supporting I/O Devices. You Will Learn…  How to install peripheral I/O devices  How to use ports and expansion slots for add- on devices.
CCNA 2 v3.1 Module 2.
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
Interface circuits I/O interface consists of the circuitry required to connect an I/O device to a computer bus. Side of the interface which connects to.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol.
Terms 5 Definitions and Questions. ISA The original 8- and 16-bit expansion card standard used in PCs. ISA cards run at a bus speed of 8MHz. You can plug.
RS232 Serial and Parallel Interfaces
ELECTRONIC WORKSHOP. The point at which a peripheral attaches to. Communicates with a system unit so that the peripheral can send data to or receive information.
CHAPTER Serial and Parallel Communication © N. Ganesan.
Parallel Connections Michael Fromwiller CS 147 Spring 08 Dr. Sin-Min Lee This presentation will probably involve audience discussion, which will create.
The SCSI Interface Objectives In this chapter, you will: -Understand the different SCSI standards and confusing naming schemes -Identify cables and connectors.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 41 – Input/Output Ports.
PC Maintenance: Preparing for A+ Certification Chapter 7: Cables.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Chapter 8 All About SCSI.
Identification And Function
Computers in Surveying SVY2301 / E4006 Automated Surveying.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Computer Insides and Out Computer Basics 1.1. Basic Personal Computer System  A computer system consists of hardware and software components.  Hardware.
CCNA2 Chapter 1 Wide Area Networks and Routers. WAN is a data communications network that operates beyond a LAN’s geographic scope. Users subscribe to.
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
Chapter 2 Chapter 2: Planning for Server Hardware.
SCSI Richard Goldman April 2000
Computer Fundamentals and Troubleshooting 1. Windows Troubleshooting 101 Verify Connections Reboot.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
Cisco Router Hardware Software overview. In this lecture we will investigate an overview of Cisco router hardware and software. We will first turn our.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Day 7 Connections. Standards Unless we had connection standards nothing would be interchangeable. –There would be different printers for Macs and Windows.
Output Devices. Printers Factors affecting choice Volume of output High volume require fast, heavy-duty printer Quality of print required Location of.
Chapter 2 Chapter 2: Planning for Server Hardware.
Input/Output Computer component : Input/Output I/O Modules External Devices I/O Modules Function and Structure I/O Operation Techniques I/O Channels and.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
1.  RAM is our working memory storage. All the data, which the PC uses and works with during operation, are stored here.  Data are stored on drives,
1 Transmission of Digital Data : Interface and Modems.
Term 2, 2011 Week 2. CONTENTS Communications devices – Modems – Network interface cards (NIC) – Wireless access point – Switches and routers Communications.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Introduction to Routers
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
33 Connecting Peripherals Version A.01 H3064S Module 6 Slides.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Digital Literacy: Computer Basics
24 Feb 2009ITCN 1 Introduction to Computer Networking M Clements.
Modem. Introduction: A modem [Modulator -Demodulator] is a device. Data communication means transmitting digital information form one computer to other.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Chapter7 Serial Devices
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Chapter7 Serial Devices
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
Serial Devices.
Chapter Overview Understanding Expansion Buses
Identification And Function
I/O BUSES.
Serial Devices Chapter 7.
TELNET BY , S.AISHWARYA III-IT.
Serial Devices.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Presentation transcript:

Serial Devices1-1 Serial Devices  Serial Standards m RS-232 RS-232 cables consist of up to 25 wires, each with a specific function and each intended to carry a different signal. –Two for data transmission –The rest are for various kinds of control signals All 25 pins are rarely used –Only 9 pins commonly –DB25-to-9 pin adapters are readily available

Serial Devices1-2 Serial Devices m RS-232 standard defines two types of equipment Data Terminal Equipment (DTE) –Computers are DTE Data Communication Equipment (DCT) –Modems, printers are DCE DTE uses pin2 to transmit data and pin 3 to receive data; DCE does the reverse –To connect a computer to a modem, you want to make the connection straight through. –To connect a computer to a computer (DTE DTE), you need a able with receive/transmit lines crossed. »Called a null-modem or modem-eliminator cable

Serial Devices1-3 Serial Devices  connectors m DB-25 m Mini DIN-8 Found on Macs, laptops and workstations. m DB-9 variant Commonly found on PCs m RJ-45 variant An eight-wire modular telephone connector –Used as intermediate connectors when routing serial lines through patch panels. –Terminal servers

Serial Devices1-4 Configuration of hardwired terminals  Terminal configuration involves main tasks m Making sure a process is attached to a terminal to accept logins m Making sure that information about the terminal is available once a user has logged in.  The login process m Usually, Init daemon spawn a process (getty) on each terminal port that is turned on in /etc/inittab m Getty set the port’s initial characteristics and print a login prompt

Serial Devices1-5 Configuration of hardwired terminals m The sequence of events in a complete login A user enters a login name at getty’s prompt Getty executes the login program with the specified name Login request a password and validate it again /etc/passwd Login print the message of the day from /etc/motd Login sets up the TERM env and runs a shell The shell executes the appropriate startup files The shell prints a prompt and waits for input. m When user logout, control returns to init, which wakes up and spawn a new getty on the terminal port.

Serial Devices1-6 Configuration of hardwired terminals  Possible related files m BSD: The /etc/ttys and /etc/ttytab files Format –Device program termtype {on|off} [secure] m /etc/ttytype m /etc/getttytab m Solaris/HP-UX: /etc/inittab m /etc/gettydefs  Starting the terminal line m Force the program init to reread the terminal line initialization information Init becomes aware the device that has been added Init takes the appropriate action (getty) Example –#telinit q

Serial Devices1-7 Terminal-Related Special Files  Special files for serial lines m Vary between systems m often the form /dev/ttyn where n is a number corresponding the line number  Pseudo terminal devices - Indirect login session via a network or windowing system m The master or control pseudo terminal, /dev/pty[p-s]n m The slave pseudo terminal ( virtual terminal) /dev/ttp[p- s]n  The special file /dev/console always refers to the system console device.

Serial Devices1-8 Terminals  Commands tty m Display what special file is being used for any login session. m Example: ~]$ tty /dev/pts/3  Specifying Terminal Characteristics m Unix programs are generally written to be terminal independent m They call standard screen manipulation library which is responsible for interfacing to actual terminals. m The library serve to map terminal characteristics and functions to the specific character sequences required to perform them on any specific terminal.

Serial Devices1-9 Terminals m Terminal definitions are stored in database m User set what kind of terminal they are using by setting the TERM environment  Terminal definition database m Under BSD scheme, /etc/termcap A text file consisting series entries that describes how different terminals function –Such as How many columns, how many lines, auto wrapping, characters sequence when a special key is pressed m Under System V, /usr/share/lib/terminfo A series of binary files describing terminal capabilities –Each entry is a separate file in the subdirectory of /usr/share/lib/terminfo/{firstletter}/file

Serial Devices1-10 Terminals Terminfo files are compiled from source code –Command to manipulating terminfo entries »Compile terminfo source: tic »List source for a compiled terminfo entry: infocmp »Translate from terminfo to termcap: infocmp –C »Translate from termcap to terminfo source: captoinfo For example: To use a old terminal for AIX system where system does no have terminfo entry for it. –found a BSD termcap –copy it to the system –run captoinfo –compile it using tic

Serial Devices1-11 STTY: set terminal options  Specify generic terminal and terminal line characteristics m Syntax: stty option [value] … See next page for commonly used options m Display the current terminal settings $stty –a m Stty controls device driver and allow user to explicitly change the default setting

Serial Devices1-12 OptionsMeaningExample nBaud rate 9600 rows nLines on the screen rows 36 columnsColumns on the screen columns 80 echoEcho typed characters on the screen -echo erase CSet the delete previous character to C erase ^H kill CSet the erase command character to C kill ^U intr CSet the interrupt character to C intr ^C eof CSet the end of file character to c eof ^D susp cSet the suspend job character to c susp ^Z saneReset many options to reasonable settings sane Commonly used stty options

Serial Devices1-13 Modems  Modem m converts digital signal from computer to analog signal for transmission on a standard phone line. m Internal and external modem External:RS-232 interface on the digital side and RJ- 11 jack on the analog side Internal:pluginto an ISA, PCI or PCMCIA slot and have a RJ-11 jack m Upto 56Kb/s throughput

Serial Devices1-14 Modems  Dial-out configuration m Command tip and cu Use /etc/phones and /etc/remote  Bi-directional modems m Need special treatment Since getty normally take full control of serial ports and other processes that want to use the modem are shut out Under HP-UX/Redhat, use a special getty called uugetty on biferectinal ports. –Uugetty shares lock file with cu, tip and uucico to avoid conflicts.

Serial Devices1-15 Other common I/O ports  Parallel ports m Transfer 8bits of data at once m Parallel interfaces are most commonly found on Printer Zip, tape drives and viedo cameras in Windows world m Two modes EPP (Enhanced Parallel port) ECP (Extended Capability Port) –Support DMA m Connectors and Cables Computer usually provide a female DB-25 connector Peripherals tend to have a female 36-pin Centronics connector Most parallel cables are male DB-25 to male Centronics –Limited to 10 meters

Serial Devices1-16 Other common I/O ports  USB: The Universal Serial Bus  Features: m Makes adding peripheral devices so easy. Standardized connectors Hot swapping – devices can be connected and disconnected without powering down Up to 127 devices can be connected Legacy serial and parallel devices can be connected with adaptors.

Serial Devices1-17 Maximum Transfer Rates for various Connections 1. serial port: 115kbits/s (.115Mbits/s) 2. standard parallel port: 115kBYTES/s (.115MBYTES/s) 3. Original USB: 12Mbits/s (1.5MBYTES/s) 4. ECP/EPP parallel port: 3MBYTES/s 5. IDE: MBYTES/s 6. SCSI-1: 5MBYTES/s 7. SCSI-2 (Fast SCSI, Fast Narrow SCSI): 10MBYTES/s 8. Fast Wide SCSI (Wide SCSI): 20MBYTES/s 9. Ultra SCSI (SCSI-3, Fast-20, Ultra Narrow): 20MBYTES/s 10. UltraIDE: 33MBYTES/s 11. Wide Ultra SCSI (Fast Wide 20): 40MBYTES/s 12. Ultra2 SCSI: 40MBYTES/s 13. IEEE-1394: Mbits/s ( MBYTES/s) 14. Hi-Speed USB: 480Mbits/s 15. Wide Ultra2 SCSI: 80MBYTES/s 16. Ultra3 SCSI: 80MBYTES/s 17. Wide Ultra3 SCSI: 160MBYTES/s 18. FC-AL Fiber Channel: MBYTES/s

Serial Devices1-18 Exercise  Connect to the switch console using a straight through cable  Connect to the other Sun Blade 100’s serial console using a non modem cable