| Management number | 219222824 | Release Date | 2026/05/03 | List Price | $16.00 | Model Number | 219222824 | ||
|---|---|---|---|---|---|---|---|---|---|
| Category | |||||||||
Master Linux Device Drivers with the modern LDM to write char, platform, I²C, NIC, and block drivers on Linux 6.x, backed by real-world code, best practices, and hands-on guidanceKey FeaturesBegin by learning to write a char (misc) driver, interface with userspace, and grasp the modern LDMWork with hardware interrupts, peripheral I/O, the Device Tree, and common kernel mechanismsWrite practical platform, I²C, PCI, NIC, USB, input, and block device driversBook DescriptionLearn Linux Device Drivers is your practical guide to understanding the modern Linux Device Model (LDM) and writing real, working device drivers for modern Linux. Written by Linux expert Kaiwan N Billimoria, this book takes you through the fundamentals of character, platform, network, USB, input, and block drivers, all based on the latest Linux 6.12 LTS kernel.Starting with the basics, you’ll learn how to create and interface with character device drivers. You’ll then move onto platform drivers (useful for many typical SoC IP blocks), and the Device Tree (DT), including DT overlays. The book guides you through working with hardware I/O memory, handling hardware interrupts, using kernel APIs for delays, timers, kthreads, and workqueues, and even writing an I²C sensor driver. Finally, you’ll dive into PCI(e), NIC, USB, input, and block device drivers, rounding out your skills with practical, industry-relevant knowledge. Packed with real-world driver code, best practices, and tips to avoid pitfalls, this book equips you with the skills to confidently build Linux drivers for real projects.By the end of this book, you’ll be ready to write reliable Linux device drivers for multiple types of hardware and use cases, and it also serves as a strong companion to the author’s Linux Kernel Programming books.What you will learnWrite a simple yet complete misc class character device driverPerform user-kernel interfacing via multiple popular methodsUnderstand platform devices and write a basic platform driverWork with the Device Tree (DT) and apply DT OverlaysPerform I/O on hardware chip memory and handle hardware interruptsUse kernel APIs for delays, timers, kthreads, and workqueuesWrite and test an I²C sensor driver on real hardwareLearn the framework and details for PCI(e), NIC, USB, input, and block device driversWho this book is forThis book is for beginners in Linux driver development as well as experienced developers seeking to deepen their skills and overcome common challenges in writing Linux kernel drivers. If you need to work with peripheral I/O, handle interrupts, or write I²C, platform, input, PCI(e), network, USB, or block drivers, this book will guide you. A basic understanding of kernel internals, APIs, modules, and synchronization is recommended.Table of ContentsWriting a misc Character Device DriverUser-Kernel Communication PathwaysThe modern LDM and Writing Platform DriversThe Device TreeWorking with Hardware I/O MemoryHandling Hardware InterruptsWorking with Delays, Timers, Threads, and WorkqueuesWriting a simple Input Device DriverWriting a skeleton PCIe DriverWriting a PCI NIC Device DriverWriting a modern Block Device Driver Read more
| ISBN13 | 978-1835881873 |
|---|---|
| Edition | 1st |
| Language | English |
| Publisher | Packt Publishing |
| Accessibility | Learn more |
| Publication date | January 11, 2027 |
If you notice any omissions or errors in the product information on this page, please use the correction request form below.
Correction Request Form