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 KERNEL TUTORIAL
Linux Loadable Kernel Module HOWTO
Linux Device Drivers, 3rd Edition
Writing device drivers in Linux: A brief tutorial
A Simple Block Driver for Linux Kernel 2.6.31
Writing your own (2.6 kernel) device driver 101
Enhanced char driver
The Linux Kernel Module Programming Guide
Free Electrons Docs
LFY Linux Device Driver Series
The Linux Cross Reference for latest kernel source (though in my personal opinion ctags and cscope are best for lengthy source-code browsing sessions): LXR
Great selection of references to embedded Linux development.
Great to know you liked it!
nice collection , last two days i went so many links i didn`t get satisfied with any link finally i got this link and went all the links at last i went to lfy ” Linux Device Driver Series ” it`s awesome actually am a subscribed user of lfy
but i did`t read that tutorials and i once again re-collected all the books now even i started and also completed 2 tutorials
am really thanking to Arun……
Glad it helped you!
Hi, do you have any resources for writing a usb webcam driver? I have never written a driver before. Thanks.
This should fix you
-
http://qce-ga.sourceforge.net/
Thanks for the quick reply. Unfortunately my webcam does not work this that driver. I have a Creative Live Cam HD which has an on-board H.264 encoder. However, v4l2-ctl only shows getting an incoming feed of MJPEG so I’m trying to find a driver to support my webcam or I have to write my own.
No problem! Check in the opensource webcam driver developer forums or mail an author directly. They should be able to guide you.
Thanks a lot Arun! that was really helpful!
Welcome!
very good collection in one point ( like tar ) … this is very use full for all connecting with linux ….