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

Linux Releases

  • The Changes So Far For The Linux 4.11 Kernel
    We are now through week one of two for the Linux 4.11 kernel merge window. I've already written a number of news posts this past week covering features I find interesting for Linux 4.11. If you are short on time and behind in your Phoronix reading, here's a quick overview of the material so far for this next major kernel bump.
  • Container-friendly Alpine Linux may get Java port
    A proposal floated this week on an OpenJDK mailing list calls for porting the JDK (Java Development Kit), including the Java Runtime Environment, Java compiler and APIs, to both the distribution and the musl C standard library, which is supported by Alpine Linux. The key focus here is musl; Java has previously been ported to the standard glibc library, which you can install in Alpine, but the standard Alpine release switched two years ago to musl because it’s much faster and more compact.
  • Linux From Scratch 8.0 Released, Brings New Changes And Features

today's howtos

Jolla inks exclusive license to kick-start its Android alternative in China

Mobile OS maker Jolla, whose Sailfish platform remains one of the few smartphone alternatives in play these days, has signed an exclusive license to a Chinese consortium to develop a Sailfish-based OS for the country. Jolla says the Chinese consortium will be aiming to invest $250M in developing a Sailfish ecosystem for the country, though it’s not specifying exactly is backing the consortia at this point, nor over what timeframe the investment will happen — beyond saying one of its early investors, a local private equity investor Shan Li, will take a “leading role” in building it up. “There are very big players behind it,” Jolla chairman Antti Saarnio tells TechCrunch, speaking ahead of a press conference held to announce the news here at the Mobile World Congress tradeshow in Barcelona. Read more

Khronos and Vulkan