Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1419回复:6

Need Help.

楼主#
更多 发布于:2002-02-04 17:11
This is BIG5 code.
我呃彦要办展出一
Taiwan's Driver Developer
Snare
驱动小牛
驱动小牛
  • 注册日期2002-01-31
  • 最后登录2002-08-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-02-04 18:39
这个问题我以前也遇到过,
但是,很遗憾的回答你――我没有解决。

或许你可以写一个过滤层的驱动来解决这个问题。
祝你好运!如果找到简单的方法,希望也能告诉我一下!:)
我就是我,没什么可说的。
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-02-05 09:34
可能filter是一个方案。或者可以研究一下inf。
直接在inf里面装2个driver好像不现实。
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-02-05 12:37
I ever think to hook it..
But our test platform need to send illegal URB.
I think the usbstor.sys will deny it.
My idea is load driver dynamically.
Using IoGetDeviceObjectPointer to connect to lower layer.
But I can\'t use StartService to load it.
Error code=1058.
ERROR_SERVICE_DISABLED The service has been disabled.
Help me.
thx
Taiwan's Driver Developer
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2002-02-06 12:37
不知道你说的“lower layer“是指的哪个?
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2002-02-08 10:55
USBD.SYS.....
I use the DeviceName \"HCD0\" ok.
Thx.
But I can\'t load driver dynamically.
Taiwan's Driver Developer
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2002-02-09 10:11
没有仔细研究过usb mass storage的架构,但我想usbstor.sys应该是在usbd.sys上面吧?如果确实是这样,那你看一下ds里面的usbfilter sample。我曾经用过,可以在我插入自己的设备的时候,也加载usbfilter.sys,不知道是否就是你说的dynamically?如果是的话,那你只要在usbfilter.sys里面submiturb不就可以发自己的request了吗?
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
游客

返回顶部