DEVICE DRIVERS AND TERRUPTS SERVICE MECHANISM Lesson-14: Device types, Physical and Virtual device functions



Similar documents
REAL TIME OPERATING SYSTEM PROGRAMMING-II: II: Windows CE, OSEK and Real time Linux. Lesson-12: Real Time Linux

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Device Management Functions

Computer and Set of Robots

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Lesson 6: 6 EXAMPLES OF EMBEDDED SYSTEMS. Chapter-1L06: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Linux Driver Devices. Why, When, Which, How?

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Chapter 11: Input/Output Organisation. Lesson 06: Programmed IO

Using Web Services for scanning on your network (Windows Vista SP2 or greater, Windows 7 and Windows 8)

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

PRN_LOAD :22

HotelTV. Client Software Update REV A0.10 D October. Web : Mail : support@vestek.com.tr Tel :

Chapter 11 I/O Management and Disk Scheduling

Configure thin client settings locally

Outline: Operating Systems

Discovering Computers

EUCIP - IT Administrator. Module 2 Operating Systems. Version 2.0

Remote Access. Table Of Contents. Rev: 3.30, 8/03

IN STA LLIN G A VA LA N C HE REMOTE C O N TROL 4. 1

System Requirements - CommNet Server

2009 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

Software installation and configuration IEC-line series

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

COURCE TITLE DURATION CompTIA A+ Certification 40 H.

Building a Penetration Testing Virtual Computer Laboratory

DCS110 CATVisor COMMANDER

Canvio Home FAQ. is designed to be very easy to install and use to back up, share, and remotely access the files from your computers.

CDS and Clearing Limited Thapathali, Kathmandu 7 th Level (Technical) Syllabus

4.1 Introduction 4.2 Explain the purpose of an operating system Describe characteristics of modern operating systems Control Hardware Access

Operating System Today s Operating Systems File Basics File Management Application Software

DVR4C Remote Viewer Operation Manual Table of Contents EN 3 1. OVERVIEW MINIMUM PC REQUIREMENTS INSTALLING THE PROGRAM...

I/O Management. General Computer Architecture. Goals for I/O. Levels of I/O. Naming. I/O Management. COMP755 Advanced Operating Systems 1

RemoteTM LAN Server User Guide

ASX SFTP External User Guide

STUDY GUIDE CHAPTER 4

Pano Device. Data Sheet. How It Works: Key Benefits:

Compuprint 4247 Serial Matrix Printers

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

RGK60 RGK50 RGAM10 RGAM20 RGAM4 Generator set control units

HotelTV1. Client Software Update REV A0.6 D October. Web : Mail : support@vestek.com.tr Tel :

Installing, Configuring and Administering Microsoft Windows

Chapter 8 Objectives. Chapter 8 Operating Systems and Utility Programs. Operating Systems. Operating Systems. Operating Systems.

Ultra Thin Client TC-401 TC-402. Users s Guide

Wakanda Studio Features

Microsoft Office Outlook 2013: Part 1

CentreWare Internet Services Setup and User Guide. Version 2.0

NetPoint Configuration Guide. for thin clients

Windows Server 2008 R2 Essentials

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

System Requirements - Table of Contents

Linux Kernel Architecture

Networking Operating Systems (CO32010)

Operating Systems Overview As we have learned in working model of a computer we require a software system to control all the equipment that are

OVERVIEW OF TYPICAL WINDOWS SERVER ROLES

Movie Cube. User s Guide to Wireless Function

Advanced Diploma In Hardware, Networking & Server Configuration

The Virtual Environment

QUICKBOOKS 2015 MINIMUM SYSTEM REQUIREMENTS & NETWORK SETUP

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

How to Backup XenServer VM with VirtualIQ

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

COMPUTER HARDWARE & SERVICING QUESTION BANK

Dallmeier Recorders & SNMP

Crestron Electronics, Inc. AirMedia Deployment Guide

CMS Central Monitoring System

HOW TO USE THE File Transfer Protocol SERVER ftp.architekturaibiznes.com.pl

V.I.P. Kit. Video Insight Pilot Kit. (Video Insight Pilot Kit).

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

Do More With Less. On Driver-less Interfacing with Embedded Devices. Peter Korsgaard

Reborn Card NET. User s Manual

A Computer Glossary. For the New York Farm Viability Institute Computer Training Courses

Follow these steps to prepare the module and evaluation board for testing.

Terminal Server Software and Hardware Requirements. Terminal Server. Software and Hardware Requirements. Datacolor Match Pigment Datacolor Tools

USER MANUAL GUIMGR Graphical User Interface Manager for FRM301/FRM401 Media Racks

Study and installation of a VOIP service on ipaq in Linux environment

Configuring Security for FTP Traffic

FTP SERVER SOFTWARE FOR ETHERNET CONNECTION ON FANUC 16i, 18i, F31i

APC Enterprise KVM Switches

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

Intermec Ethernet Adapter

Preparing the Windows version of the software for use

Upon completion of this chapter, you will able to answer the following questions:

What the student will need:

EUCIP IT Administrator - Module 2 Operating Systems Syllabus Version 3.0

Chapter 3. Operating Systems

RELIABLE OPERATING SYSTEMS

This chapter describes the specifications of the embedded Ethernet function for Series 16i/18i/21i/160i/180i/210i/160is/180is/210is B.

CompTIA Security+ In this course, you will implement, monitor, and troubleshoot infrastructure, application, information, and operational security.

TREK GETTING STARTED GUIDE

1 Minimum system requirements

Transcription:

DEVICE DRIVERS AND TERRUPTS SERVICE MECHANISM Lesson-14: Device types, Physical and Virtual device functions 1

Device Types For each type of device, there is a set of the generic commands. For example, for char device one set of commands and for block device there can be another set. 2

Device Types Types of Physical and Virtual devices in a system may be as follows: char, block, loop back device, file, pipe, socket, RAM disk, sound, video and media. 3

Virtual device driver - Definition : A virtual-device driver is the component of a device driver that communicates directly between an application and memory or a physical device. - Virtual device driver controls the flow of data - Allows more than one application to access the same memory or physical device without conflict. 4

Char Device Char Device: For example, a device to which one character is sent at one time or is read from it at one time. For example, mouse, keyboard, keypad, timer. 5

Block Device Block Device: For example, a device to which one block of characters is sent at one time or is read from it at one time. For example, printer, disk. 6

Block Device configuration as Char Device Block as well as Char device: For example, a device to which one block of characters or a single character is sent at one time or is read from it at one time. For, example, LCD display unit. A device can be configured as char or block as per the need by a generic command. 7

Configuration as loop-back Device Loop-back Device: A device to which one character or set of characters are sent, and those are echoed back to same. 8

Configuration as copy Device Copy Device: A device using which a set of characters are sent, and those are returned to another device. For example, disk_copy device when characters are copied from one disk to another or a keyboard-cum-display device. Keyboard input is sent to a buffer and display unit uses that buffer for display. 9

Virtual Devices Besides the physical devices of a system, drivers are also used in a systems for virtual devices. Physical device drivers and virtual device drivers have analogies. Like physical device, virtual device drivers may also have functions for device connect or open, read, write and close. 10

Driver A memory block can have data buffers for input and output in analogy to buffers at an IO device and can be accessed from a char driver or block or pipe or socket driver. 11

Virtual Device Examples Pipe device: A device from to which the blocks of characters are send from one end and accessed from another ends in FIFO mode (first-in first-out) after a connect function is executed to connect two ends. 12

Virtual Device Examples... Socket device: A device from to which (a) the blocks of characters are send from one end with a set of the port (application) and sender addresses, (b) accessed from another end port (application) and receiver addresses, (c) access is in FIFO mode (first-in first-out) only after a connect function is executed to connect two sockets. 13

Virtual Device Examples... File device: A device from which the blocks of characters are accessed similar to a disk in a tree like format (folder, subfolder,...). For example, a named file at the memory stick. 14

Virtual Device Examples RAM disk Device: A set of RAM memory blocks used like a disk, which is accessed by defining addresses of directory, subdirectory, second level subdirectory, folder and subfolder 15

Difference between various types of virtual devices Pipe needs one address at an end, Socket one addresses and one port number at an end, and File and disk can have multiple addresses. Reading and writing into a file is from or to current cursor address in the currently open folder. 16

Just as a file is sent read call, a device must be sent a driver command when its input buffer(s) is to be read. Just as a file is sent write call, a device needs to be sent a driver command when its output buffer is to be written. 17

Virtual device example for Remote System access A virtual device example is a device description that is used to form a connection between a user and a physical system networked or connected to a remote system. 18

Virtual device driver File name (VxD) - Driver filename in Windows OS is used where the V stands for virtual and D stands for device.the d" can be replaced with other characters; for example, VdD means a display driver. 19

Linux Internals and Device Drivers and Linux Network Functions Linux has internal functions called Internals. Internals exist for the devicedrivers and network-management functions. Useful Linux drivers for the embedded system and gives the uses of each. 20

Linux drivers Char (For driving a character) Block (For driving a block of char) Input (For standard IO devices) Media (For standard media device functions) Video (For standard video device functions) Sound (For standard auido device functions) 21

Linux drivers in the net directory The Linux internal functions exist for o Sockets, o Handling of Socket buffers, o firewalls, o network Protocols (for examples, NFS, IP, IPv6 and Ethernet) and o bridges. They work separately as drivers and also form a part of the network management function of the operating system. 22

Summary 23

We learnt Physical and virtual devices Drivers for virtual devices are also written similar to the physical device drivers Use the same generic commands. Device Types : char, block, loop back, file device, pipe, socket, RAM disk, sound, video and media. Device examples are char device, block device, loop back device, file device, pipe, socket and RAM disk 24

We learnt Linux operating system has internals and a large number of readily available device drivers for the most common physical and virtual devices and has the functions for the network sockets and protocols 25

End of Lesson 14 of Chapter 4 26