You plug in a new printer, Windows finds it, and the test page comes out with half the features missing. The printer works, but duplex printing is gone, the ink gauge reads empty, and the scanner stays dark. The hardware is fine. The missing piece is the program that tells the operating system how to talk to that exact printer.
That program is a device driver. Every piece of hardware in a computer has one, from the keyboard to the graphics card, and each driver is written for one device model.
What a driver is, and what it is not
A device driver is a small program that operates one specific piece of hardware. It takes a generic request from the operating system, like print this page, and turns it into the exact commands that one printer model understands: paper size, ink use, page layout. When the printer answers, the driver carries the reply back. The operating system never learns the printer’s private language, and the printer never sees the operating system. The driver stands between them and translates both ways.
Why does one printer need its own driver when every printer prints? Because the commands differ by model. Wikipedia’s device-driver reference shows the split with a serial port: the commands for a 16550 UART chip and the commands for a USB-to-serial adapter share nothing, yet both expose the same two routines, send data and receive data. One driver per model hides that difference behind one interface, so programs stay simple while hardware stays varied.
| Piece | Lives | Job | When it breaks |
|---|---|---|---|
| App | User mode | Does the work you asked for | One program stops |
| Driver | Kernel or user mode | Translates between the OS and one device | One device stops, or the whole machine |
| Firmware | On the device itself | Runs the device’s own basic functions | The device never starts |
Firmware needs one line of separation: it lives on the device and runs before any driver loads. The driver is software on your computer; firmware is software inside the hardware. The two meet at the device’s own interface, and neither replaces the other. The word driver has a second meaning in audio, where the cone inside a speaker is also called a driver. That cone is a piece of hardware, not a program, and it works nothing like the software drivers do.
How one request travels from app to hardware
A print job crosses four links before ink meets paper, and no link knows the details of the next.
- App sends a generic request, like print this page.
- Operating system routes it to the driver for that device.
- Driver translates it into the device’s own commands.
- Device acts, then replies back up the same chain.

Stacks hold more than one driver. Microsoft’s driver documentation describes the shape on Windows: a function driver talks to the device, and filter drivers above it watch or reshape the request before it arrives. One request, several drivers, each doing one job. The device answers with an interrupt when its work is done, and the driver catches that signal and passes the result up.
Drivers are one of the three layers in how computer layers communicate: system calls start the request, drivers translate it, and buses carry it. The first drivers were written in assembly language, the lowest level a programmer can reach, because only assembly could touch hardware registers directly. Modern drivers are written in C and C++ instead, which keep the low-level access and add the structures a large driver needs.
The driver types on your machine
Each device has a driver, but six types cover nearly everything a reader touches. They all sit on the board mapped in the computer hardware guide. Each one fails in its own way, and the failure names the driver at fault.
| Driver | Controls | When it fails |
|---|---|---|
| Graphics | The GPU and the screen | Games stutter, the screen flickers, resolution drops |
| Network | Ethernet and Wi-Fi | Pages stall, the connection drops, speed falls |
| Storage | SSDs and hard drives | Boot slows, files take long to open, the drive vanishes |
| Chipset | USB ports, PCIe slots, board devices | Ports stop answering, devices go unrecognized |
| Printer | Printers and scanners | Pages print half-formed, the scanner stays dark |
| Input | Keyboard, mouse, touchpad | Keys repeat, the pointer jumps, gestures stop |

Two of these carry the most weight. The graphics driver decides what you see, and the storage driver decides how fast the machine starts. A machine with a broken graphics driver still boots; a machine with a broken storage driver often does not.
Counting the drivers on a real machine
The count surprised me. Nine PCI devices carry 22 registered PCI drivers between them, and eight of the nine devices bind to one. The rest wait for hardware that is absent. The bindings were read straight from the system: each device lists the driver bound to it, or none.
| What was counted | Result |
|---|---|
| PCI devices present | 9 |
| Devices bound to a driver | 8 |
| PCI drivers registered | 22 |
| Virtio drivers registered | 11 |
| USB drivers registered | 3 |
| Devices with no driver | 1, the host bridge, which needs none |

Inside the eight, the split tells the stack story in miniature. All eight bind to virtio-pci, the transport driver for the PCI bus, and the storage device then hands its requests to virtio_blk, the function driver for the virtual disk. Two drivers, one request, both named in the binding list. A desktop carries far more: a graphics card, audio, Wi-Fi, and a printer each add devices and drivers of their own, so a desktop count runs far higher than 22.
For this run, the census read /sys/bus/pci/devices and /sys/bus/pci/drivers on Linux 7.0.0-44-generic, and the numbers above are what those paths reported. One check returned nothing: modinfo found no version strings, because this kernel builds its drivers in; they do not arrive as files. No version is quoted, because none was measured.
Kernel mode and user mode: why a bad driver can crash everything
Drivers run at one of two privilege levels, and the level decides how far a fault spreads. A kernel-mode driver runs in Ring 0, the CPU’s most privileged ring, beside the kernel itself. It can touch any memory and any device. A fault there halts the whole machine, which is why a bad driver so often ends in a blue screen. A user-mode driver runs in Ring 3, beside ordinary programs. A fault there kills one process and the machine keeps going.
Why can a bad driver crash the computer instead of just the device? Because most drivers run in kernel mode, where a single bad memory write corrupts the kernel itself. The operating system has no safe way to recover from that, so it stops everything to avoid writing corrupt data to disk. A crashing app loses one program; a crashing kernel driver loses the session.
You can see your own drivers in under a minute. On Windows, open Device Manager, expand a category, and right-click a device to read its driver version and date. The driverquery command lists all the drivers on the machine from a terminal. On Linux, lsmod lists the loaded modules and lspci -k shows which driver each device uses. A driver with a yellow warning icon in Device Manager, or a device with no driver bound on Linux, is the first place to look when hardware misbehaves.
Signed drivers and plug and play: how the right driver gets found
Plug in a new device and the operating system has one question: which driver matches it? Each device carries a hardware ID, a string naming its vendor and model.
The signature check is the trust step. A signed driver carries proof that its vendor built it and that it passed the platform’s checks; Windows refuses unsigned kernel drivers by default, and Linux distributions sign the modules they ship. An unsigned driver is not automatically malicious, but loading one means trusting code the platform did not verify. That is why driver downloads belong on the manufacturer’s own support page and nowhere else.
- Device appears on the bus.
- Operating system searches the driver store for that ID.
- Signature verified; the driver loads.
- Driver registers the device, and the OS hands it requests.
No match means the device sits unrecognized until its driver is installed by hand.
When to update a driver, and when to leave it alone
Leave a working driver alone, and update it when something names it as the cause. A driver that works has nothing to gain from a newer version, and an update carries a small chance of a regression. Update on four triggers, and only on those.
- A device misbehaves: stutter, drops, missing features.
- A security fix names your driver or device.
- New hardware or a new OS version needs a matching driver.
- The manufacturer adds a feature you will actually use.
Do drivers need updating on a schedule? No. Unlike the operating system, a driver has no monthly patch cycle, and checking for updates weekly finds nothing most weeks. Check after a problem appears, after a major OS upgrade, or when the manufacturer announces a fix for your exact model. The rest of the time, the driver you have is the right one.
When you do update, take the driver from the manufacturer’s support page or Windows Update, never from a third-party updater. Those tools promise speed and deliver the wrong driver or worse: a signed driver from the wrong model still installs, and an unsigned one from a stranger’s site can carry anything. The two safe sources cover the real cases.
Start with the warning icon
Before you change any driver, spend one minute looking. Open Device Manager and scan for the yellow warning icon; on Linux, run lspci -k and look for a device with no driver line. The flagged device names the problem, and the problem names the driver to update. Everything else on the machine stays exactly as it is.
If nothing is flagged and nothing misbehaves, leave the drivers as they are. The check is done, and the machine keeps working.
Frequently asked questions
What is a device driver in simple terms?
A device driver is a small program that lets the operating system use one piece of hardware. It translates the operating system’s generic requests into the exact commands that device understands, and carries the answers back.
Are drivers part of the operating system?
Some are, and some are not. The operating system ships drivers for common hardware, and manufacturers supply the rest. Either way, the driver works for the operating system, and it is specific to one OS: a Windows driver never runs on Linux.
What happens if a driver is missing?
The device either does not work at all, or works with basic functions only. A graphics card falls back to a basic display mode: the screen works, but games run slowly and the resolution stays low. A printer without its driver may not print at all.
Can a driver update damage a computer?
It can, though it rarely does. A wrong or faulty driver can crash the machine or disable the device it controls. That is why updates come from the manufacturer or Windows Update, and why a working driver is left alone.
How do I know which driver my device uses?
Device Manager lists each device’s driver version and date on Windows, and driverquery prints the full list from a terminal. Linux users can run lspci -k to see the driver bound to each device.
Do I need a driver for every device?
Yes, every device needs one, but most arrive with the operating system or install themselves when the device is plugged in. You only install a driver by hand when the device is new, unusual, or misbehaving.

Kaleem
Kaleem is a Computer Science graduate (Virtual University of Pakistan) and the founder and editor of Valley AI, where he publishes in-depth, tested guides on computer hardware, artificial intelligence, and how the internet works. Every guide is researched from primary sources, tested hands-on where possible, and updated when the facts change.