Device Driver Tutorial
Previous Next

Writing the Device Configuration File

This 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";
Previous Next