Samples for Linux driver
(1) The skeleton of Linux device driver: task.c
(2) The simple character driver (support sysfs) : charWithSysfs.c
# insmod charWithSysfs.ko
# ls -l /dev/mydev0
(3) Create kernel thread to detect status: kthread.c
| Name | Name | Last commit date | ||
|---|---|---|---|---|