51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4201|回复: 6
打印 上一主题 下一主题

[讨论] 探讨驱动软件测试问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-5-20 14:08:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
针对DMAC和I2C驱动如何来实施测试

[ 本帖最后由 addvalue 于 2006-5-20 14:09 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-5-20 14:11:29 | 只看该作者

附赠两本书

《linux device driver》
http://www.xml.com/ldd/chapter/book/index.html
另一份为总结的经验文章

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-5-23 00:11:30 | 只看该作者

举例

触摸屏举例

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2006-5-30 23:39:21 | 只看该作者

同步kernel专家研究的东西

Hi,
Hello.

We had a discussion a month ago or so. Since then we successfully implemented our w1 driver.
Bus master also and the family driver. The read data is correct so everything is fine.
My congratulation!
Will you push it upstream?
Now I want to implement a driver into the kernel which supposed to interpret the data from the w1 slave and provide it as a different format.
The w1 slave what i'm talking about is the ds2760 battery monitor chip.  
We can read the data from it through the sysfs. I need to implement also a battery driver which  will provide the usual battery interface from the data read from the ds2760.
Why not export data through sysfs and using any other interface in parallel?
There's no interface in the w1 core to:
1.) Ennumerate bus masters
2.) Ennumerate slaves for each busmaster
I'd need that because i have to call the read_block of my slave.
The question is if you wanted to implement anything like that or not. If yes, what's its progress, if no then I'll do it. If you don't have it, i'll do it and send the code for you also. You might want to apply the patch on the mainline kernel as well.
I have such an idea quite long.
Currently, when kernel connecor is almost in mainline, I will create it.
As you probably know, kernel connector is a netlink based interface,
which
allows easy connection userspace and kernelspae.
Some kind of an ioctl.
Using that interface I'm going to allow external modules/userspace
access
to the internal master/slave structures in the following way:
connector's message -> message type -> master/slave operations -> call
appropriate function.
Almost the same as ethtools for network drivers.
But it is long term solution.
Short one is to create some kind of get_master_by_name(), and export
through sysfs
list of master names.
When you have access to the w1_master structure, you can traverse
through ->slist list,
and get access to any slave.
Will it what you mean?
Thanks,

Szabolcs Gyurko
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2006-6-15 16:49:18 | 只看该作者
testing for linux device driver.rar 打不开哦.可否请版主换个新的..谢谢
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2006-10-11 22:35:40 | 只看该作者
强烈要求换一个新的啊
回复 支持 反对

使用道具 举报

该用户从未签到

7#
发表于 2007-7-27 13:39:15 | 只看该作者
正想学点Linux
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-28 09:28 , Processed in 0.079935 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表