摘要: leds #include <linux/kernel.h>#include <linux/module.h>#include <linux/miscdevice.h>#include <linux/fs.h>#include <linux/types.h>#include <linux/modul 阅读全文
posted @ 2017-06-02 09:43 root-linux 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 提供三种自己写的程序至于理论网上都是大家可以参考》》》》》 1,早期字符注册 程序如下: #include <linux/kernel.h>#include <linux/module.h>#include <linux/fs.h>#include <asm/uaccess.h>#include < 阅读全文
posted @ 2017-06-02 09:39 root-linux 阅读(1657) 评论(0) 推荐(0) 编辑