If you toy with electronics, perhaps with microcontrollers (MCU), you might at some point in time decide to interface your microcontroller to your computer. However, you will come to learn that it would not work for a variety of reasons: one being that you need correct voltage between the computer and the microcontroller, and the second, most critical, you need a way for the computer to recognize and speak to your device. Well, this is where device drivers are useful. Device drivers are the software need for your computer applications to talk to your device. The power of a device driver and the possibilities that lie with it can not fully be summarized by myself. So, so whatever reason you many want to write a device driver, in this post, along with others, I will demonstrate how to write a device driver. Major and Minor Numbers When we write a device driver, that device driver will become part of the kernel and it will have an identification number calle...
I blog to share what I know and have experienced with others.