If you have used Java Swing Framework before (or any OOP framework for Java), learning linux device driver programming is not that difficult. Linux already has its device drivers framework. What you need to do is just overriding the ‘methods’ that you like, and registers your ‘class’ into the framework. It’s very easy, right ?
Here’s my experience with simple character device from Linux Kernel Module Programming Guide. (more…)