Language Selection

English French German Italian Portuguese Spanish

The Linux Kernel: Drivers

Filed under
Linux

Drivers are small programs that enable the kernel to communicate and handle hardware or protocols (rules and standards). Without a driver, the kernel does not know how to communicate with the hardware or handle protocols (the kernel actually hands the commands to the BIOS and the BIOS passes them on the the hardware). The Linux Kernel source code contains many drivers (in the form of source code) in the drivers folder. Each folder within the drivers folder will be explained. When configuring and compiling the kernel, it helps to understand the drivers. Otherwise, a user may add drivers to the kernel that they do not need or leave out important drivers. The driver source code usually includes a commented line that states the purpose of the driver. For example, the source code for the tc driver has a single commented line that says the driver is for TURBOchannel buses. Because of the documentation, users should be able to look at the first few commented lines of future drivers to learn their purpose.

There are different terms that should be understood so that the information below is understandable. An I/O device is an Input/Output device.

rest here




More in Tux Machines

Arch Linux 2015.09.01 Is Now Available for Download

The first day of a month is an important day for all Arch Linux users, as a new ISO image is being generated with all the updated packages released during the month that passed. Read more

The Wacom Linux Driver Continues To Be Improved, New Features In Linux 4.3

Jiri Kosina sent in his pull requests for code he maintains within the mainline Linux kernel, with one of the notable subsystems being the HID updates. Most notable to the HID feature updates for Linux 4.3 are yet more Wacom driver improvements, which are a mention for almost every kernel cycle. Wacom highlights for Linux 4.3 include support for the Express Key Remote and various bug-fixes and feature work. Read more

5 Reasons Not To "Not Use Linux"

2000+ people have already watched Tim's video and that is potentially 2000 people that might not use Linux based on invalid arguments. Hopefully a few more people will read this article and therefore redress the balance somewhat. Before I go I wanted to mention that Tim has produced his own counter argument called "5 Reasons To Use Linux". The points in that video state that Linux is multikernel, is open source, has support for many different hardware devices such as the Raspberry PI, has lots of distros (which kind of counters against point 5 in the reasons not to use Linux) and finally it is free. Read more

x86 Systems Will See Some Boot Time Optimizations With Linux 4.3

Ingo Molnar sent in his several Git pull requests today for the code he maintains within the Linux kernel. Of Molnar's pull requests, the x86/boot changes caught my attention. He mentions "more boot time optimizations." Read more