Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us
  • Toggle search form

Device Drivers : Role & Types

Posted on November 3, 2017June 17, 2025 By Gautam No Comments on Device Drivers : Role & Types

As briefly discussed in our previous article, device driver is a software that is used to control a hardware device and make it work. It acts as an interface between the user-application and the hardware. Any user-application reaches out to the device driver for any interaction with the hardware device and the device driver checks for various conditions (like the permissions the user-application has or not etc.). After all the relevant conditions are met, the corresponding device driver responds and completes the task requested by the user-application (such as read/write to the device etc.). Finally, when the driver has completed its interaction with the hardware device, it responds back to the user-application with the information requested.

So, device driver is like a black box that means, if any user-application wants to interact with the hardware, it must go through the corresponding device driver only and not directly as it might cause any damage to the hardware.

Device Driver as an interface.
Copyright © VLSIFacts

In Operating System, the device drivers play a vital role. On the topmost level, the user application runs. Below that, the System Call Interface (SCI) is there which communicates with the device drivers that ultimately interacts with the hardware. Following picture depicts the above statements.

The SCI interacts with the Kernel space (kernel subsystems, features implemented and software support in the below diagram). As we have already discussed the kernel subsystems, we would not be going into details of them. The architecture-dependent code forms the CPU, and similarly, the various examples of device drivers can be seen at the bottom-most layer of the picture.

Role of Device Driver in OS (Source: Quora)

The device drivers can be mainly classified into three groups as below :-

  1. Character driver – This category deals with the character devices i.e., which transfer data character-by-character. Examples include consoles, serial port, sensors etc.
  2. Block driver – For the devices that transfer data by a block size (thus called block devices), the corresponding driver is called block device driver. For example, CD-ROM, USB devices etc.
  3. Network driver – The devices that allows us to connect to a network and use the network interface services (called network devices) have a network driver in place for them. Example – Ethernet card, NIC (Network Interface Card) etc.

Every time a new hardware device is introduced in the market, the corresponding device driver is written to interact with it.

(…Previous Article)                                                      (…Next Article)

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related posts:

  1. Device Drivers and Linux Architecture
  2. Components of Device Driver
  3. Kernel Modules, Major Number and Minor Number
  4. L&T Emsys Interview Question Bank – Part 1
Embedded System Tags:Communication, Device, Device Driver, ECE, Electronics, Electronics & Communication Engineering, Embedded Systems, Linux, Microcontroller

Post navigation

Previous Post: Need of Fault Tolerant VLSI System Design
Next Post: Redundancy in Fault Tolerance

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • ASCII Code
  • Circuit Design of a 4-bit Binary Counter Using D Flip-flops
  • Truth Tables, Characteristic Equations and Excitation Tables of Different Flipflops
  • NAND and NOR gate using CMOS Technology
  • AND and OR gate using CMOS Technology


 

Copyright © 2025 VLSIFacts.

Powered by PressBook WordPress theme

%d