led 驱动_module led18 is not currently loaded-CSDN博客

网站介绍:文章浏览阅读482次。1. 程序思路:通过ioctrl 来将应用程序的命令传递到驱动中的 struct file_operation 中的 unlocked_ioctl 方法中,判断命令进行相应的操作。在通用的头文件中定义ioctrl的命令#define LED_ON _IO('l',1)#define LED_OFF _IO('l',2)我们想在应用程序中这样来操作ledint main(int ar..._module led18 is not currently loaded