Operating System
Operating System
Operating System takes help from device drivers to handle all I/O devices. A device driver is a
computer program that operates or controls a particular device attached to a computer or
automaton. A driver provides a software interface to hardware devices, enabling operating
systems and other computer programs to access hardware functions without knowing precise
details about the hardware being used.
Device Drivers:
• Device Drivers are important for a computer system to work properly.
• Without a device driver, the particular hardware fails to work accordingly, which means
it fails in doing a particular action for which it has been created.
• Drivers are hardware-dependent and operating-system-specific. They usually provide
the interrupt handling required for any necessary asynchronous time-dependent
hardware interface.
• A driver communicates with the device through the computer bus or communications
subsystem to which the hardware connects.
• Once the device sends data back to the driver, the driver may invoke routines in the
original calling program. When a calling program invokes a driver's routine, the driver
issues the commands to the device.
SSWP/IT/2024-25 P a g e 1 | 12
Operating System(22516) Device Drivers In Operating System
o Interact with the device controller to take and give I/O and perform required error
handling.
SSWP/IT/2024-25 P a g e 2 | 12
Operating System(22516) Device Drivers In Operating System
Device drivers work within the kernel layer of the operating system. The kernel is the part of
the operating system that directly interacts with the system's physical structure. Instead of
accessing a device directly, an operating system loads the device drivers and calls the specific
functions in the driver software to execute specific tasks on the device. Each driver contains
the device-specific codes required to carry out the actions on the device.
SSWP/IT/2024-25 P a g e 3 | 12
Operating System(22516) Device Drivers In Operating System
For almost every device associated with the computer system, a Device Driver exists for the
particular hardware. But it can be broadly classified into the following two types, such as:
• This Kernel-mode device driver includes some generic hardware that loads with an
operating system as part of the OS.
• These are BIOS, motherboard, processor, and some other hardware that are part of
kernel software. These include the minimum system requirement device drivers for
each operating system.
• BIOS: BIOS (basic input/output system) is the most basic computer driver in
existence. It is designed to be the first program that boots when a PC turns on. The
BIOS is stored on memory built into the motherboard and is designed to boot the
hardware connected to the PC, including the hard drives, video display output, keyboard
and mouse.
• Motherboard Drivers: Motherboard drivers are small programs that are read by
either Windows or Linux and allow for basic computer functions while inside the
operating system. These drivers normally include programs that allow broadband ports,
USB ports and I/O ports for the mouse and keyboard. Depending on the making of the
motherboard, the drivers may also have basic drivers for video and audio support.
SSWP/IT/2024-25 P a g e 4 | 12
Operating System(22516) Device Drivers In Operating System
Choosing and installing the correct device drivers for given hardware is often a key
component of computer system configuration. Common levels of abstraction for device
drivers include:
1. For hardware:
o Interfacing directly
o Using another lower-level device driver (e.g. file system drivers using disk drivers)
SSWP/IT/2024-25 P a g e 5 | 12
Operating System(22516) Device Drivers In Operating System
2. For software:
• The guest operating system and its drivers running inside a virtual machine can have
the illusion of accessing real hardware.
• Attempts by the guest operating system to access the hardware are routed to the
virtual device driver in the host operating system as function calls.
• The virtual device driver can also send simulated processor-level events like interrupts
into the virtual machine.
SSWP/IT/2024-25 P a g e 6 | 12
Operating System(22516) Device Drivers In Operating System
SSWP/IT/2024-25 P a g e 7 | 12
Operating System(22516) Device Drivers In Operating System
• Click the [Download] button and click the [Run] button on the opened window. If you
saved the file, then double-click it.
• Depending on your PC environment, sometime the file is automatically saved without
opening a window.
SSWP/IT/2024-25 P a g e 8 | 12
Operating System(22516) Device Drivers In Operating System
Check where to save the file then click the [Next] button.
Check the box of MFP to be installed and click the [Next] button. The printer drivers
displayed on this screen can be installed at the same time.
SSWP/IT/2024-25 P a g e 10 | 12
Operating System(22516) Device Drivers In Operating System
Conclusion:
Device drivers play a crucial role in the functioning of computer systems. They ensure
compatibility between hardware and software, and virtual drivers extend this
functionality to virtualized environments. By understanding the different types of
device drivers and their role in system operation, you can better appreciate the
complexities of modern computing.
SSWP/IT/2024-25 P a g e 11 | 12
Operating System(22516) Device Drivers In Operating System
Reference:
• https://www.ninjaone.com/it-hub/remote-access/virtual-device-driver/
• https://www.geeksforgeeks.org/device-driver-and-its-purpose/
SSWP/IT/2024-25 P a g e 12 | 12