Introduction to Linux Kernel Driver Programming
This introductory presentation will explain the Device Model, the mechanism that the Linux kernel offers to bind drivers to devices and to expose each device to user space. Even though the way to dete …
Talk Title | Introduction to Linux Kernel Driver Programming |
Speakers | Michael Opdenacker (Embedded Linux Engineer, Bootlin) |
Conference | Open Source Summit + ELC Europe |
Conf Tag | |
Location | Lyon, France |
Date | Oct 27-Nov 1, 2019 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
This introductory presentation will explain the Device Model, the mechanism that the Linux kernel offers to bind drivers to devices and to expose each device to user space. Even though the way to detect or describe devices can depend on the bus or CPU architecture, the infrastructure binding devices with drivers is universal and therefore applies to all types of device drivers in the Linux kernel. Similarly, exposing devices to user space always follows the same philosophy.This session won’t have practical labs but will be illustrated by studying several types of drivers, showing various ways of managing multiple devices in the same driver, and implementing the references between devices managed by a bus and devices that userspace sees. Of course, the use of the Device Tree will play an essential part of the picture. Even though there are neither trees nor kernels in Antarctica, penguins love them!