How to write a device driver in linux
I am newbie to linux, I have passion towards device drivers. I want to write a char or block device driver. To achieve my objective I have started reading the device driver 3rd edition from o'relly. I have successfully added a small module in the linux kernel 2.6.28 and its working fine. But I dont know how to move forward and how to take the input from user for the driver and process that.
Any guidance will be appriciated.