Recently I’m much excited about linux. I would like to learn how to write simple linux drivers.I know C and python . I’m using ubuntu 11.10 (3.0.0-12-generic kernal).
My Doubts
- What are the requirements to need to develop and study simple linux driver programs
- I see may tutorials.But that all are not good in beginner level.Could you please suggest a better tutorial exactly for beginners.
- How compile , run and see whether my driver is working.
Refer to the following link. It contains example of developing kernel linux char driver
http://tldp.org/LDP/lkmpg/2.6/html/x569.html
If you want to start kernel developing from the beginning then start the tutorial from the beginning
http://tldp.org/LDP/lkmpg/2.6/html/index.html
to build your kernel module use the Makefile: