Hi all, Can anybody point me to an example of a kernel module which creates a char. device along with all steps, including a sample program to test the module, I mean by opening a device and writing something to it. Somehow, a simpel device driver program that I wront didn't work. The device was registered succesfully. I run mknod to create the device in /dev/. I wrote a program to open the device. When run it in normal user mode, it throws error permission denied. When I run it in superuser mode, I get an error "Invalid device or address"(I don't remeber the exact sentence). Please help me. Deekshit M -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/