I know that there are books out there that discuss building Linux kernel drivers/modules. Try searching Amazon.com..hehehe…
maybe just a little source in indonesia about the linux programming, expecially linux drivers
Linux kernel modules should work, regardless whether you use Ubuntu/Xubuntu, or any of the other flavors of Linux… at least that is my understanding.
Here’s a simple kernel module you can play with…
To compile it, save this statement into a file called Makefile:
Then on the command line, run this command to build the kernel module:
$ make -C /lib/modules/`uname -r`/build M=`pwd`
To load the kernel module:
$ sudo insmod HelloWorld.ko
To unload the kernel module:
$ sudo rmmod HelloWorld
If you examine the tail end of the file /var/log/messages you will see the output generated by the kernel module.
$ sudo tail /var/log/messages