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

Tile’s tiny Bluetooth stuff-tracker now works with Android

The Android app, which hits Google's Play Store today, will work with every Tile the company has shipped so far. It's a different story in terms of what phones it works with, with the app requiring Android 4.4 KitKat or higher, as well as Bluetooth 4.0. Tile says it's also only optimized its software for a handful of phones, including Samsung's Galaxy S5, the Nexus 4, Nexus 5, HTC One, and HTC One M8. Read more

Raspberry Pi's Gallium3D Driver Could Now Run Significantly Faster

Eric Anholt, the lead developer developer behind the Broadcom VC4 Mesa/Gallium3D driver stack for supporting the Raspberry Pi, has announced a new performance achievement. Eric implemented a user-space buffer object cache for the Gallium3D driver. This buffer object cache is designed after the user-space cache he designed for Intel's driver while being employed by them. This cache reuses buffer objects that haven't been shared to other processes and frees buffer objects that have been in the cache unused for over one second. Read more

Red Hot Red Hat, Mageia Gives Back, and Linux Awards

Today in Linux news, the Mint project announced the release candidate for 17.1 KDE. In other news the Mageia project donates 250€ to GCompris and TheStreet says Red Hat stock is poised to become "red hot" in 2015. LinuxQuestions.org announced their 2014 Members Choice Awards today and Bruce Byfield has some tips for KDE users. Read more