|
|||
1. Introduction to Device Drivers Overview of the Template Driver Example Building and Installing the Template Driver Complete Template Driver Source 3. Reading and Writing Data in Kernel Memory |
Writing the Device Configuration FileThis driver requires a configuration file. The minimum information that a configuration file must contain is the name of the device node and the name or type of the device's parent. In this simple example, the node name of the device is the same as the file name of the driver. Create a file named dummy.conf in your working directory. Put the following single line of information into dummy.conf: name="dummy" parent="pseudo"; |
||
|