LDT (Linux Driver Template) is a template for writing a new driver for the Linux kernel. While it is very useful for beginners, it can also work as a starting point for writing a new kernel driver. Continue reading LDT: Linux driver template for newbies
Tag: write linux device drivers kernel 3.0 2.6
Write Linux device drivers
Some good tutorials on how to write Linux device drivers (some are old but good for concept-building nonetheless):
- Device Drivers @tldp.org
- Write a Linux Hardware Device Driver
- Introduction to Linux Device Drivers
- Writing a Linux Kernel Driver for an Unknown USB Device
- Writing a Linux device driver module for kernels 3.0 or 2.6 with udev
- Linux Kernel Driver Tutorial
- How to Write a Linux USB Device Driver
- Linux Loadable Kernel Module HOWTO
- Linux Device Drivers, 3rd Edition (PDF)
- Writing device drivers in Linux: A brief tutorial
- A Simple Block Driver for Linux Kernel 2.6.31
- Enhanced char driver
- The Linux Kernel Module Programming Guide
- Free Electrons Docs
- LFY Linux Device Driver Series
- Write your first Linux kernel module
The Free Electrons LXR (Linux Cross Reference) for referring the kernel source. However, I prefer ctags and cscope for lengthy source-code browsing sessions.