---
title: "推荐《Essential Linux Device Drivers》"
author: "mmdev"
date: "2008-08-30T13:55:00Z"
tags: []
slug: "essential-linux-device-drivers"
draft: false
lastmod: "2008-08-30T13:55:00Z"
id: 1009688
url: "https://mmdev.iteye.com/blog/1009688"
---

可能绝大多数linux驱动程序员都读过ldd(linux device driver)一书。从第1版到第2、第3版。毕竟这类书少的可怜。虽然近两年国产的驱动开发书籍也日益增多，但是国外引进的书总感觉要高国人一筹。即便判断是错误的，但有这种错觉也合乎逻辑，因为国外的整体开发水平要比我们先进。

很早就下载了eldd(Essential Linux Device Drivers)，不过一直没有看。直到最近，StephenYee向我推荐这本书，我才算是认真读了读。这是本内容非常全面的书，连IR、wifi都有所涉及。

我并没有读完这本书，不敢做评论。还是大伙下载电子版自己看吧。

哪家出版社会引进中文版权呢，人邮？电子？还是清华？如果是图灵的话大伙就有福了，质量有保障。要是电子或清华也行，我好要本中文版^\_^

反正我是不敢去翻译，我怕糟蹋巨著，呵呵。

Foreword  
Preface  
Acknowledgments  
About the Author

Chapter 1. Introduction  
Evolution  
The GNU Copyleft  
Kernel.org  
Mailing Lists and Forums  
Linux Distributions  
Looking at the Sources  
Building the Kernel  
Loadable Modules  
Before Starting

Chapter 2. A Peek Inside the Kernel  
Booting Up  
Kernel Mode and User Mode  
Process Context and Interrupt Context  
Kernel Timers  
Concurrency in the Kernel  
Process Filesystem  
Allocating Memory  
Looking at the Sources

Chapter 3. Kernel Facilities  
Kernel Threads  
Helper Interfaces  
Looking at the Sources

Chapter 4. Laying the Groundwork  
Introducing Devices and Drivers  
Interrupt Handling  
The Linux Device Model  
Memory Barriers  
Power Management  
Looking at the Sources

Chapter 5. Character Drivers  
Char Driver Basics  
Device Example: System CMOS  
Sensing Data Availability  
Talking to the Parallel Port  
RTC Subsystem  
Pseudo Char Drivers  
Misc Drivers  
Character Caveats  
Looking at the Sources

Chapter 6. Serial Drivers  
Layered Architecture  
UART Drivers  
TTY Drivers  
Line Disciplines  
Looking at the Sources

Chapter 7. Input Drivers  
Input Event Drivers  
Input Device Drivers  
Debugging  
Looking at the Sources

Chapter 8. The Inter-Integrated Circuit Protocol  
What's I2C/SMBus?  
I2C Core  
Bus Transactions  
Device Example: EEPROM  
Device Example: Real Time Clock  
I2C-dev  
Hardware Monitoring Using LM-Sensors  
The Serial Peripheral Interface Bus  
The 1-Wire Bus  
Debugging  
Looking at the Sources

Chapter 9. PCMCIA and Compact Flash  
What's PCMCIA/CF?  
Linux-PCMCIA Subsystem  
Host Controller Drivers  
PCMCIA Core  
Driver Services  
Client Drivers  
Tying the Pieces Together  
PCMCIA Storage  
Serial PCMCIA  
Debugging  
Looking at the Sources

Chapter 10. Peripheral Component Interconnect  
The PCI Family  
Addressing and Identification  
Accessing PCI Regions  
Direct Memory Access  
Device Example: Ethernet-Modem Card  
Debugging  
Looking at the Sources

Chapter 11. Universal Serial Bus  
USB Architecture  
Linux-USB Subsystem  
Driver Data Structures  
Enumeration  
Device Example: Telemetry Card  
Class Drivers  
Gadget Drivers  
Debugging  
Looking at the Sources

Chapter 12. Video Drivers  
Display Architecture  
Linux-Video Subsystem  
Display Parameters  
The Frame Buffer API  
Frame Buffer Drivers  
Console Drivers  
Debugging  
Looking at the Sources

Chapter 13. Audio Drivers  
Audio Architecture  
Linux-Sound Subsystem  
Device Example: MP3 Player  
Debugging  
Looking at the Sources

Chapter 14. Block Drivers  
Storage Technologies  
Linux Block I/O Layer  
I/O Schedulers  
Block Driver Data Structures and Methods  
Device Example: Simple Storage Controller  
Advanced Topics  
Debugging  
Looking at the Sources

Chapter 15. Network Interface Cards  
Driver Data Structures  
Talking with Protocol Layers  
Buffer Management and Concurrency Control  
Device Example: Ethernet NIC  
ISA Network Drivers  
Asynchronous Transfer Mode  
Network Throughput  
Looking at the Sources

Chapter 16. Linux Without Wires  
Bluetooth  
Infrared  
WiFi  
Cellular Networking  
Current Trends

Chapter 17. Memory Technology Devices  
What's Flash Memory?  
Linux-MTD Subsystem  
Map Drivers  
NOR Chip Drivers  
NAND Chip Drivers  
User Modules  
MTD-Utils  
Configuring MTD  
eXecute In Place  
The Firmware Hub  
Debugging  
Looking at the Sources

Chapter 18. Embedding Linux  
Challenges  
Component Selection  
Tool Chains  
Embedded Bootloaders  
Memory Layout  
Kernel Porting  
Embedded Drivers  
The Root Filesystem  
Test Infrastructure  
Debugging

Chapter 19. Drivers in User Space  
Process Scheduling and Response Times  
Accessing I/O Regions  
Accessing Memory Regions  
User Mode SCSI  
User Mode USB  
User Mode I2C  
UIO  
Looking at the Sources

Chapter 20. More Devices and Drivers  
ECC Reporting  
Frequency Scaling  
Embedded Controllers  
ACPI  
ISA and MCA  
FireWire  
Intelligent Input/Output  
Amateur Radio  
Voice over IP  
High-Speed Interconnects

Chapter 21. Debugging Device Drivers  
Kernel Debuggers  
Kernel Probes  
Kexec and Kdump  
Profiling  
Tracing  
Linux Test Project  
User Mode Linux  
Diagnostic Tools  
Kernel Hacking Config Options  
Test Equipment

Chapter 22. Maintenance and Delivery  
Coding Style  
Change Markers  
Version Control  
Consistent Checksums  
Build Scripts  
Portable Code

Chapter 23. Shutting Down  
Checklist  
What Next?  
Appendix A. Linux Assembly  
Debugging  
Appendix B. Linux and the BIOS  
Real Mode Calls  
Protected Mode Calls  
BIOS and Legacy Drivers  
Appendix C. Seq Files  
The Seq File Advantage  
Updating the NVRAM Driver  
Looking at the Sources  
Index