Creating a New Character Device - English

330 visits



Outline:

About Class and its device About device.h file Declare a class structure for a new device Create a class using the kernels function in the sysfs About device_create() function About class_destroy() function About device_destroy() function Working of the above functions Compile the driver Display the output of new device created