查看: 8284|回复: 4

pwm驱动程序和测试程序总是打不开设备文件~~~~

shuilian007 该用户已被删除
shuilian007 发表于 2011-10-21 22:20:11 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

25

主题

8842

回帖

5593

积分

飞凌-fatfish 发表于 2011-10-22 08:46:59 | 显示全部楼层
/dev下有pwm的设备节点么?
该会员没有填写今日想说内容.
shuilian007 该用户已被删除
楼主| shuilian007 发表于 2011-10-22 09:49:13 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

0

主题

0

回帖

0

积分

flower 发表于 2011-12-4 15:21:57 | 显示全部楼层
/dev下有pwm的设备节点么?
飞凌-fatfish 发表于 2011-10-22 08:46



    我的led驱动也是。明明显示创建节点成功,可是提示Open /dev/led_test file error,删除模块是提示rmmod: chdir(/lib/modules): No such file or directory,啥原因?版主,希望帮我!

0

主题

0

回帖

0

积分

flower 发表于 2011-12-4 15:25:08 | 显示全部楼层
这是pwm驱动程序:
#include
#include
#include
#include
#include
#include
#include
#inc ...
shuilian007 发表于 2011-10-21 22:20


你是通过什么方式将ko文件传送到开发板的呢?不知道你的文件系统是什么?我的是只读的文件系统,这个好恼火。
您需要登录后才可以回帖 登录 | 注册

本版积分规则