To create a new module, read http://www.solucorp.qc.ca/linuxconf/tech/api and also http://www.solucorp.qc.ca/linuxconf/tech/modtutor To create a module quickly (somewhat), run the setupmod.sh script and answer few questions.