eli5 what are Computer “Drivers”

832 views

After painstakingly installing printer drivers for a thermal printer at work I realized I still don’t truly understand what I was installing. (Bonus points if you can cover video card drivers too cause idk what drivers are In that sense either)

In: 2515

42 Answers

Anonymous 0 Comments

Drivers are pieces of software which are loaded into the Kernel, the highly privileged part of the operating system which controls the running of all fundamental processes – memory management, hardware interfacing, process scheduling etc.

Generally speaking a driver provides an interface to some piece of hardware, though this isn’t always the case.

In the case of your printer it’s job is to interface with the printer and maybe talk to it in some specific way the printer manufacturer designed (but the core Kernel doesn’t know how to do, as theres too many proprietary bits of hardware out there). It will also interface with the OS to let it know a particular piece of hardware is available – in this case letting everyone know a Printer is available for use.

It’s final job is to allow any configuration from “userland” (the non-privileged part of the OS, distinct from the Kernel – it’s where all of your programs run, Excel, Browsers etc.) to the driver. For instance maybe allowing your driver configuration tool to specify a paper size etc.

The above is all true for Graphics drivers too. They control the graphics card hardware and provide an interface to do things like pass texture data etc.

You are viewing 1 out of 42 answers, click here to view all answers.