In fact, all device drivers which are neither storage nor network device drivers are one form or the other form of character drivers. Take for example, serial drivers, audio drivers, video drivers, camera drivers, basic I/O drivers, …. And as the majority of devices are byte-oriented, the majority of device drivers are character device drivers. Then, what is so special about character drivers? If we write drivers for byte-oriented operations or in the C-lingo the character-oriented operations, we refer to them as character drivers. We already know what are drivers and why we need them. Here follows the summary from her various collations. She also downloaded the on-line “Linux Device Drivers” book by Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman from. With that, she took out the first driver code, and popped out various reference books to start writing a character driver on her own. Writing any specialized advanced driver is just a matter of what gets filled into its constructor & destructor. She recalled the following lines from professor Gopi’s class: “… today’s first driver would be the template to any driver you write in Linux. Shweta at her hostel room in front of her PC, all set to explore the characters of Linux character drivers, before it is being taught in the class. This fourth article, which is part of the series on Linux device drivers, deals with the various concepts of character drivers and their implementation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |