Free Essay

Device Drivers

In:

Submitted By muskansidhu
Words 1999
Pages 8
Q1. What is device driver? OR Use of driver software. Ans. A device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device. A driver typically communicates with the device through the computer bus or communications subsystem to which the hardware connects. When a calling program invokes a routine in the driver, the driver issues commands to the device. Once the device sends data back to the driver, the driver may invoke routines in the original calling program. Drivers are hardware-dependent and operating-system-specific.
Uses of device driver:
a. A device driver simplifies programming by acting as a translator between a hardware device and the applications or operating systems that use it. Programmers can write the higher-level application code independently of whatever specific hardware device it will ultimately control, because code and device can interface in a standard way, regardless of the software superstructure or of underlying hardware b. The device-driver accepts these generic high-level commands and breaks them into a series of low-level device-specific commands as required by the device being driven. c. Drivers can provide a level of security as they can run in kernel-mode thereby protecting the operating system from applications running in user-mode.

SECTION - B ( 5 MARKS )

Q1. Describe the problem that occur when you attempt when you attempt to connect together two RS-232-C devices that are both configured as DTE. Draw a diagram which shows how this problem can be solved. Ans. The wiring of RS232 has always been a problem. Originally the standard s defined for DTE, Data terminal equipment to DTE, data communication equipment connection, b soon people started to use the communication interface to connect two DTEs directly using null modem cables. No standard was defined for null modem connections with RS232 and not long after their introduction, several different wiring schemes became common. With DEC Connect, Digital Equipment Corporation tried to define their own standard for serial interconnection of computer device with MMJ modifier modular jack connectors. This interfacing standard became available on most of their hardware, but it wasn’t adopted by other computer manufactures. May be because DEC used as non-standard version of the modular jack. UTP and FTP cables with RJ45 connectors became the de-facto — standard in office cabling systems, and people started looking for the ways to transmit RS232 signals over these cabling systems. The RS 232D standard was the official attempt for a standard to transmit RS232 over RJ45.Unfortunately this attempt didn’t twist the cable internally. This is primary remained a standard for DTE to DCE connection in a world where the primary use of RS232 was to interconnect DTEs directly. Goals of the Wiring Standard The mess with RS232 wiring is widely known. It was the reason for starting this website. Dave Yost wanted to solve that mess once and for all, reaching as much as possible of the following goals:
All cable connectors should have the same connector type(RJ45)

The goals are very close to goals DEC wanted to achieve with DEC Connect. The Yost standard has however one basic advantage. Because RJ45 connectors are used, eight pins are available which makes it possible to transfer almost all RS232 signals. Therefore the Yost standard can be used with much more equipment than DEC Connect.

Q2. Write the short note on USB. Ans. USB is short for Universal Serial Bus, an external bus standard that supports data transfer rates of 12 Mbps. Many computers will even have additional USB ports located on the front of the tower, in additional to two standard USB ports at the back. In the late 1 990s, a few computer manufacturers started including USB support in their new system but today USB has become a standard connection port for many devices such as keyboards, mice, joysticks and digital cameras to name but a few USB enabled devices. USB is able to support and is supported by a large range of products. Adding to the appeal of USB is that it is supported at the operating system level, and compared to alternative ports such as parallel or serial ports USB is very user-friendly. When USB first started appearing in the marketplace, it was (and still is) referred to as a plug-and-play port because of its ease of use. Consumers without a lot of technical or hardware knowledge were able to easily connect USB devices to their computer. You no longer needed to turn the computer off to install the devices either. You simply plug them in and go. USB devices can also be used across multiple platforms. USB works on Windows and M plus can be used with other operating systems, such as Linux for example, with a reliable degree of success. Before USB, connecting devices to your system was often a hassle. Modems and digital cameras were connected via the serial port which was quite slow, as only I bit is transmitted at a time through a serial port. While printers generally required a parallel printer port, which is able to receive more than one bit at a time — that is, it receives several bits in parallel. Most systems provided two serial ports and a parallel printer port. If you had several devices, unhooking one device and setting up the software and drivers to use another device could often be problematic for the user. The introduction of USB ended many of the headaches associated with needing to use serial ports and parallel printer ports. USB offered consumers the option to connect up to 127 devices, either directly or through the use of a USB h It was much faster since USB supports data transfer rates of 12 Mbps for disk drives and other high-speed throughput and 1.5Mbps for devices that need less bandwidth.
Additionally, consumers can literally plug almost any USB device into their computer, and Windows will detect it and automatically set-up the hardware settings for the device. Once that device has been installed you can remove it from your system and the next time you plug it in,
Windows will automatically detect it. USB 1x First released in 1996, the original USB 1.0 standard offered data rates of
1.5 Mbps. The USB 1.1 standard followed with two data rates: 12 Mbps for devices such as disk drives that need high-speed throughput and 1.5
Mbps for devices such as joysticks that need much less bandwidth. USB 2.0
Also referred to as Hi-Speed USB, USB 2.0 is an external bus that supports data rates up to 480Mbps. USB 2.0 is an extension of USB 1.1. USB OTG
Short for USB On-The-GQ, an extension of the USB 2.0 specification for connecting peripheral devices to each other. USB OTG products can communicate with each other without the need to be connected to a PC. Types of USB Connectors
Currently, there are four types of USB connectors: Type A, Type B, mini-
A and mini-B and are supported by the different USB specifications
(USB 1, USB 2 and USB-OTG).

Often referred to as the downstream connector, the Type A USB connector is rectangular in shape and is the one you use to plug into the CPU or USB hub.

Also called the upstream connector, the Type B USB connector is more box-shaped and is the end that attaches directly to the device (such as a printer or digital camera).

SECTION - C ( 10 MARKS )

Q1. Discuss the DOS and UNIX device drivers in detail. OR
Explain the features of UNIX device driver. OR
Write Short Note on UNIX device drivers. OR
Write short notes on UNIXILINUX device drivers. OR
Explain in brief the role of device drivers in DOS and LINUX/UNIX. Ans. A device driver is a program that allows hardware devices to communicate with a computer. Device drivers plug into the operating system and enable the operating system to provide you and your application programs with access to that hardware. DOS Device drivers: Dos is quite simple to describe, since it principally consists of only four parts:

When we talk about hardware control, it is done IO.SYS. That is a program which reads ROMN BIOS code a convert it to DOS’s own device drivers. The smart thing about DOS is that the operating system can be expanded with external device drivers. IO.SYS reads them via the startup file CONFIG.SYS. First device drivers are read from ROM-BIOS. Then any possible additional drivers are read from disk. In that way DOS can handle hardware units which did not exist when the PC was originally configured. A final option to handle hardware from DOS programs is to write special drivers for the individual user programs. Many DOS games come with their own graphics drivers (they have to recognize all graphic on the market). Another classic example is the word processing program W which An illustrated guide to operating system and the use of hard ware drivers in its prime(version 5.1) came with drivers to more than 500 different printers.

Q2.Explain DOS services for Diskette and keyboard. Ans. Application programs running under DOS have system privileges. They can access any storage, change the CPU control functions, and use any hardware device. This allows some programs to extend the DOS operating system with additional functions, but it also allows virus programs to damage the machine. Although DOS 6.x is distributed on 4 or 5 disks, this space is filled with utility programs to compress data, perform backups and check programs for virus infection. The DOS operating system itself is contained in a pair of hidden files named as IBMBIO.SYS and IBMDOS.SYS .DOS services are requested when an application program issues an INT2 I instruction . This instruction looks up the entry point of the DOS service manager in a hardware table and jumps to a routine in the IBMDOS module. In other operating systems, an application must make a system call to request services. DOS application programs run with full privilege, so a program can do anything it wants if it has enough program logic to handle the hardware directly. BIOS provide keyboard service routine under into 1611, here we describe 3 common routine that are useful in accessing the keyboard. As with the DOS functions, the AM register should contain the function code before executing an interrupt of type I6FLOne difference between DOS and BIOS functions is that if you u DOS services, the keyboard input can be redirected.

Q4. What is the primary purpose a device driver? Explain UNIX/LINUX device drivers in detail. Ans. A device driver is a file that lets the computer know the configuration and specifications of a certain hardware device. Some examples of devices that need drivers are hard drives, DVD drives, and PCI cards. Without the driver file, the computer will be unable to communicate with the device. Often, Windows will alert the user if there is a new device which doesn’t have a driver installed yet. It will then hopefully let you install the correct driver for it. “Hopefully” being the key word. Types of Device Drivers
A device driver is a software module that resides within the Digital UNIX kernel and is the software interface to a hardware device or devices. A hardware device is a peripheral, such as a disk controller, tape controller, or network controller device. In general, there is one device driver for each type of hardware device. Device drivers can be classified as:

Applications
Because of the diversity of modern hardware and operating systems, drivers operate in many different environments. Drivers may interface with:

Common levels of abstraction for device drivers include: for hardware:

Choosing and installing the correct device drivers for given hardware is often a key component of computer system configuration.
UNIX/LINUX device drivers

Similar Documents

Free Essay

Usb Usb Driver

...flexibility, USB has gained wide acceptance in the computer industry. Today , many peripherals and devices connect to computers through USB interfaces. Currently most general purpose operating systems provide support for USB devices, and it is relatively easy to develop applications in C that access such peripherals. Linux operating system do not provide remote access through USB between different machines .Here we utilize its high bandwidth to transfer files between machines using USB without using any network cables. 1.2 Objectives The USB remote file access allows high speed transferring of files between two machines. 1.3 USB Cable Fig 1.1 A USB Cable 1.4 Advantages Of Using USB Cable for Remote Access • Transfer files between two PCs (or three PCs using two cables) • Fully compliant with USB 1.1 and USB 2.0 • USB 2.0 High-speed performance with data transfer rate of over 15 Mbps • No external power needed (Bus powered from either USB port) • Low power consumption • Supports suspend and resume for power management • Supports remote wake-up • Terrific for laptop/notebook to desktop file transfers. 1.5 Module Overview This project mainly contain two parts 1.Kernel Module (USB driver) 2.User Interface 1. Kernel Module In this module we create a device driver for USB direct link cable which is used to connect between two systems. The driver is designed in such a way that it should be efficient and simple to the Linux operating system. The...

Words: 557 - Pages: 3

Free Essay

Greg Kroah-Hartman

...volunteer tasks they were involved in at the time (Rf.1). He has resided in Portland, Oregon for more than ten years with his beautiful wife and two children, and currently works for Novell in the SUSE Labs division as a full time employee on the Linux Driver Project. He is considered to be an authority and “rock star” in his field, and is the co-author of "Linux Device Drivers, 3rd Edition" and sole author of the book entitled, "Linux Kernel in a Nutshell" (Rf.2). He used to be a contributing editor for Linux Journal, and began building the Linux kernel in 1996, and wrote the programs for the Linux kernel drivers in 1999. He is the current maintainer of the USB, PCI, driver core and sysfs subsystems in the kernel source tree, the staging subsystem, USB, driver core, debugfs, kref, kobject, and the sysfs kernel subsystems. Another one of his co-responsibilities is maintaining the Linux kernel for the -stable branch with his colleague, Chris Wright (Rf.3). He is also the maintainer of the linux-hotplug , and created and maintains the Linux Device Driver Kit. He also contributes articles to LWN.net, the news computing site, and in 2006, he released a CD image of material to introduce a programmer to working on Linux device driver development. References 1. Bhartya, Swapni, “A Quick Q `n’ A Session with Greg Kroah-Hartman, Linux (For You), http://www.linuxforu.com/interviews/a-quick-qna-session-with-greg-kroah-hartman. 2. ________, Greg Kroah-Hartman – O’Reilly Media,...

Words: 435 - Pages: 2

Premium Essay

Nt1230

...Troubleshooting Graphics Drivers The problem is that graphics adapters are much more complex drivers making them more problematic because the device driver is likely to be revised more often, the device driver is less likely to be included with the operating system, and it is more likely to cause compatibility or functionality problems. When you update a device driver in Windows 7 it is not uncommon for new drivers to cause more problems than they solve. If the device involved is a graphics adapter, a bad driver could prevent the system from functioning. To troubleshoot hardware or driver problems, here are some techniques: • Open the Properties sheet for the device and check the Device Status box on the General tab. If the device is malfunctioning, this tab informs you of its status and enables you to launch a troubleshooter. • Open the Device Manager and delete the device entirely. Then restart the system and allow Windows 7 to detect and install the device over again. This process will cause Windows to re-allocate hardware resources to the device, which could resolve the problem if it was caused by a hardware resource conflict. • If the device or driver malfunction prevents the system from running properly, as in the case of a bad graphics driver that prevents an image from appearing on the screen, you can start the computer in Safe Mode by pressing the F8 key as the system starts. Safe Mode loads the operating system with a minimal set of generic device drivers, bypassing the...

Words: 272 - Pages: 2

Free Essay

Installing and Using the Adb

...utility included with Google’s Android SDK. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more. We’ve covered some other tricks that require ADB in the past, including backing up and restoring your smartphone or tablet[1] and installing Android apps to your SD card by default[2]. ADB is used for a variety of geeky Android tricks. Image Credit: LAI Ryanne on Flickr[3] Install Java JDK & Android SDK Before installing the Android SDK, you’ll have to install Oracle’s Java development kit. You can download it from here[4] – ensure you download the x86 (32-bit) version, even if your computer uses a 64-bit operating system. Even if you already have the Java runtime (JRE) installed, you’ll need to install the JDK as well. With the Java JDK installed, you can now download the Android SDK from Google[5] and install it on your computer. If you see a Java-related error during installation, ensure you downloaded and installed the x86 version of the JDK, not the x64 one. Android SDK Setup Once the Android SDK is downloaded and installed, launch the SDK Manager application from your Start menu. Enable the Android SDK Platform-tools checkbox and click the Install button. This downloads and installs the platform-tools package, which contains ADB and other utilities. Enable USB Debugging To use ADB with your Android device, you must enable USB debugging on it. You’ll find this option...

Words: 863 - Pages: 4

Free Essay

Troubleshooting Graphics Drivers

...Troubleshooting Graphics Drivers A user asks you to troubleshoot his Windows 7 workstation, which is behaving erratically. He has recently purchased and installed a new graphics adapter. Since then, he sees occasional wavy lines on the display. You run Device Manager on the system and note the manufacturer, model, and version number of the device driver for the graphics adapter. Then, you check the adapter manufacturer's website and discover that there is a new driver available for the adapter. After downloading and installing the driver update, you restart the system. The system appears to start normally, except that the graphical interface has been replaced by incomprehensible noise. Because you cannot see the display, you cannot work with the system. Explain the following: • Describe the problem. • What should you do to return the computer to an operational state? With a graphics adapter if after installing the update and the system is nonfunctional it is most likely caused by a bad driver. First thing you should do to return the computer to an operational state is unplug the HDMI or VAG wire from the graphic card and plug the VGA wire of the monitor to the VGA port on the motherboard. Then you need to troubleshoot the driver. First thing you can try is opening the properties sheet for device and check the device status. You can launch a troubleshooter from here. If you are unable fix the problem from here the next thing you can try is to open the device manager and delete...

Words: 347 - Pages: 2

Free Essay

Hardware Support

...OPERATING SYSTEMS ASSIGNMENT #1 HARDWARE (OPERATING SYSTEM RESEARCHED: LINUX) A common boast among Linux kernel developers is that Linux supports more devices than any other operating system in history. Indeed, device drivers account for more than half of the code in the Linux kernel. However, many devices exist that are still unsupported by Linux, and one of the best ways for a developer to get his or her code into the Linux kernel is by writing a driver for one of these. Writing a driver is also one of the most common tasks initially assigned to those hired by a company to do Linux kernel development. For these reasons, students find it particularly interesting to write a device driver as a project. Unfortunately, since our development environment involves VMs hosted on a remote server and because we are constrained to work within a ten-week quarter, it is difficult to find real devices for which students can easily write drivers. Moreover, providing devices to students might be financially infeasible, even if an appropriate device could be found. We have thus found it easiest for students to write a driver for a virtual device. Specifically, we have them implement a RAM disk driver, which allocates a large block of memory and presents it in the form of a block device ------------------------------------------------- Supported Hardware Ubuntu does not impose hardware requirements beyond the requirements of the Linux kernel and the GNU tool-sets. Therefore, any...

Words: 2453 - Pages: 10

Free Essay

Nt 1230 Lab 7

...01/12/2016 Graphic Drivers Scenario Solution to resolve the problem the computer must be restarted in safe mode, hold F8 when computer restarts, the graphic adapter must be rolled back to a previous state then troubleshoot. An older driver update maybe be able to fix software problems Safe Mode Safe Mode is a troubleshooting tool used to allow the user to start computer in a limit state with only the basics running this allows user to remove or roll back drivers Windows 7 Configuration (Custom lab Manual Exam 70-680). A user asks you to troubleshoot his Windows 7 workstation, which is behaving erratically. He has recently purchased and installed a new graphics adapter, and ever since then, he sees occasional wavy lines in the display. You run Device Manager on the system and note the manufacturer, model, and version number of the device driver for the graphics adapter. Then, you check the adapter manufacturer’s web site and discover that there is a new driver available for the adapter. After downloading and installing the driver update, you restart the system. The system appears to start normally, except that the graphical interface has been replaced by incomprehensible noise. Because you can’t see the display, you can’t work with the system. What should you do return the computer to an operational state? The new graphic adapter is most likely interfering with current devices. Boot Windows 7 into safe mode, then use generic driver, and remove the driver from Add Remove Programs...

Words: 335 - Pages: 2

Free Essay

It 280 Week 6 Checkpoint

...summarized here to get a look at them. Look into these basic rules and ideas used when supporting I/O tools: Each and every I/O tool is managed by some software items. If we set up a new I/O tool in our computer, for example a modem or printer, we should set up these tools and the drivers to manage these tools. These device drivers should be written for the OS you are using. For instance the keyboard, which is managed by the system BIOS or device drivers embedded in the OS. With regards to setting up or supporting a tool, the producer knows best. The I/O tools are set up prior to the device drivers which are set up in the computer since the device driver finds the device at the driver set up time (often when the I/O or peripheral device is initially plugged into the computer). Some application software is often needed to make use these tools. For instance following the installation of the scanner and its device drivers, we may set up a Microsoft Word or Adobe Photoshop to utilize the scanner. Computer Issues with a tool can often be fixed by upgrading the device drivers. Generally device producers release updates to the device drivers. Upgrade the device drivers to fix issues with the devices or to add...

Words: 474 - Pages: 2

Premium Essay

Student

...Lesson 4 Working with Disks and Devices Knowledge Assessment Fill in the Blank Complete the following sentences by writing the correct word or words in the blanks provided. 1. By default, Windows 7 standard users are permitted to install Plug and Play devices only if their drivers are __________. digitally signed P137 2. The debilitating condition in which files are stored as clusters scattered all over a disk is called __________. Fragmentation P126 3. The file system included in Windows 7 that is specifically designed for use on flash drives is called __________. exFAT P111 4. Technically speaking, you create _________ on basic disks and __________ on dynamic disks. partitions, volumes P107 5. In Windows 7, the ___________ file system is limited the volumes no larger than 32 gigabytes. FAT32 P111 6. The digital signature of a driver consists of a __________ that is appended to the driver itself before publication. Checksum 137 7. To create a fourth primary partition on a basic disk, you must use the __________ utility. DiskPart P125 8. To extend or shrink a partition on a basic disk, you must be a member of the __________ or __________ group. Administrators or Backup Operators P1222 9. The default partition style used by Windows 7 on an x86 computer is __________. MBR P117 10. All digitally signed drivers have undergone __________ testing. Windows Hardware Quality Lab P139 True / False 1. There is no...

Words: 841 - Pages: 4

Premium Essay

Nt1230Week3Analysis

...Troubleshooting Graphics Drivers The problem is that graphic adapters are much more complex drivers making them more problematic because the device driver is likely to be revised more often, the device is less likely to be included with the operating system, and it is more likely to cause compatibility or functioning problems. When you update a device driver in Windows 7 it is not uncommon for new drivers to cause more problems than they solve. If the device involved is a graphics adapter, a bad driver could prevent the system from functioning. To troubleshoot hardware or driver problems, here are some techniques: * Open the Properties sheet for the device and check the Device Status box on the General tab. If the device is malfunctioning, this tab informs you of its status and enables you to launch a troubleshooter. * Open the Device Manager and delete the device entirely. Then restart the system and allow Windows 7 to detect and install the device over again. This process will cause Windows 7 to re-allocate hardware resources to the device, which could resolve the problem if it was caused by a hardware resource conflict. * If the device or driver malfunction prevents the system from running properly, as in the case of a bad graphics drive that prevents an image from appearing on the screen, you can start the computer in Safe Mode by pressing the F8 key as the system starts. Safe Mode loads the operating system with a minimal set of generic device drivers, bypassing the...

Words: 268 - Pages: 2

Free Essay

Device Support in Windows and Linux

...| Linux and Windows Device Support | 6-3 Short Paper Submission | | By Lauren K Homa | 7/10/2013 | | It is true that the internet hosts an abundance of support websites, forums, links and other discussions regarding Linux and Windows device support. It would seem that this topic has been highly debated for some time as to whose support is best. In my own research, I have found that responses and web sources tend to be biased towards one OS or another based on personal experiences and preferences depending on the task that the system is being used for. I have found one non-subjective difference between Windows and Linux that could help get to the bottom of the discussion: When it comes to Windows, “Microsoft writes generic drivers to help ensure users can get up and running, then 3rd party supplied drivers can be installed to optimize performance. With Linux, drivers are all included with the Linux kernel, and devices are detected and the appropriate drivers are then activated on the fly. There are no 3rd parties to contact for drivers (unless a proprietary driver is needed, in which it has to be manually installed, similar to Windows.” (Clay, 2013) This offers some benefits and costs to each system. With Windows being more prevalent, it’s evident that Microsoft makes an effort to ensure that software is compatible and available with all their hardware drives and devices, and that resources can be readily available to customers if needed. With Microsoft...

Words: 633 - Pages: 3

Free Essay

Hardware Configurations

...Hardware Configuration. They were, in order, Device Manager, Driver Signing, Hardware Profile and Regional and Language Options. The 1st, Device Manager went over how to manage all your hardware devices. It covers how they are configured, their settings, drivers and resources. It’s found in System Properties. After this, was Driver Signing which is Microsoft’s way of confirming that its devices and drivers have been tested and are compatible with Microsoft’s operating system. Each driver and device is checked off in the System Properties verifying its authenticity. There is also driving signing options for hardware installations with software that is not Windows. They are Ignore, which means install anyway. Warn, which means the system will prompt you to choose and Block, which blocks unsigned software. The next video was Hardware Profile. This is a list of devices enabled at the start of a computer and loading into the operating system. It too is found in System Properties. It covered how to change your hardware profile. It’s usually used for laptops. We can change what devices our system uses 1st for instance, changing the network connections when traveling. The last video was Regional and Language Options. This is found on the Control Panel. Here, you can set language or choose how you want your numbers, currency, time and dates displayed. You can go to Customize to make changes. Topics * Device Manager * Driver Signing * Hardware Profile * Regional...

Words: 498 - Pages: 2

Free Essay

Performing a Vulnerability Assessment

...1. Distinguish between and define (see glossary in Maxfield and Brown’s Bebop Bytes Back for the definition of terms not found in Andrews’ A Guide to Managing and Maintaining Your PC): a. Hardware (H/W) b. Software (S/W) c. Firmware (F/W) d. Wetware (W/W) e. Vaporware (V/W) 2. Be able to define or describe: a. I/O device b. I/O controller c. peripheral device d. serial and parallel ports (explain the difference) e. adapter card, expansion card, interface card f. video adapter, video card g. pixel h. keyboard i. mouse j. printer k. BIOS l. device driver m. systemboard, motherboard n. video cable o. drive cable p. ribbon cable q. expansion slot (ISA, EISA, MCA, VL bus, PCI, local bus; what does each of the acronyms stand for?) r. ZIF socket (what does “ZIF” stand for?) s. SIMM (what does “SIMM” stand for?) t. system realtime clock u. jumper v. chipset w. cache memory x. power supply cable y. RAM and ROM z. CPU, microprocessor aa. coprocessor bb. primary storage and secondary storage (give examples of each, and know which is which) cc. volatile vs. nonvolatile memory (know which is which) dd. CMOS configuration chip ee. traces ff. bus gg. power supply 3. Be able to identify all of the items shown in Figures 1-2, 1-3, 1-4, and 1-5 in Andrews’ A Guide to Managing and Maintaining Your PC. 4. What are the principal functions of an Operating System? 5. Distinguish between, and give examples of the use of: a. a command-driven...

Words: 2332 - Pages: 10

Free Essay

Hello

...ICT 1.DEVICE DRIVER In computing, a device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device. A driver typically communicates with the device through the computer bus or communications subsystem to which the hardware connects. When a calling program invokes a routine in the driver, the driver issues commands to the device. Once the device sends data back to the driver, the driver may invoke routines in the original calling program. Drivers are hardware-dependent and operating-system-specific. They usually provide the interrupt handling required for any necessary asynchronous time-dependent software interface. Purpose A device driver simplifies programming by acting as translator between a hardware device and the applications or operating systems that use it. Programmers can write the higher-level application code independently of whatever specific hardware the end-user is using. Physical layers communicate with specific device instances. For example, a serial port needs to handle standard communication protocols such as XON/XOFF that are common for all serial port hardware. This would be managed by a serial port logical layer. However, the physical layer needs to communicate with a particular serial port chip. 16550 UART hardware differs from PL-011. The physical layer addresses these chip-specific variations. Conventionally, OS requests go to the logical layer first. In turn, the logical layer calls...

Words: 2002 - Pages: 9

Free Essay

Virtual Memory

...can use to make different new virtual machines organized with those settings. The essential contrasts are STANDARD accompanies more predictable execution on the CPU and system, while additionally offering burden adjusting and auto-scaling though BASIC does not offer these elements. Explain in detail some enhancements of the VMware tools device drivers? The VMware Tools establishment contains numerous gadget drivers which help to improve execution. It relies on upon the Operation System which ones get introduced, yet this is a rundown of what can be enhanced as * SVGA Driver – Enables 32-bit shows, high show determination and speedier design execution. On windows based frameworks who are vista or later the VMware SVGA 3D (WDDM) driver is introduced to bolster Aero. * SCSI Driver – If you determine to utilize a Bus Logic Adapter, the visitor OS utilizes this driver. Some late visitor OSes will contain LSI Logic Parallel or SAS. * Paravirtual SCSI Driver – utilized for pvscsi connectors * VMXNet drivers – vmxnet and vmxnet3 drivers enhance organizing execution. * Mouse Driver – enhances mouse execution. This driver is obliged in the event that you are going to utilize terminal administrations. * Kernel module for sharing organizers – called hgfs.sys on windows and vmhgfs on Linux. Used to share...

Words: 396 - Pages: 2