Wednesday, April 13, 2011

The Linux Kernel Module Programming Guide - online book

I was setting up a new Linux box, OpenSuse 11 the other day, and was about to install some third party driver on this box. I was busy and did not get any chance to go any further. I have been absolutely swamped lately :( so, when trying to install module, I found that there is no ko file, instead, they shipped me source code and let me build them myself. It's no pain at all, but I could not remember how to compile and make linux kernel module. I know, I dont like Linux at all, but I am so glad it's an opensource project to keep everything open and freely. I found an excellent online document for not just making/compiling kernel module, but also how to start do kernel programming -

http://tldp.org/LDP/lkmpg/2.6/html/lkmpg.html

Thank you Peter Jay Salzman!! very well done!