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

about USB Storage.

楼主#
更多 发布于:2002-02-20 15:05
I read the tutor written by dazzy.
I have some questions:
1.
dazzy\'s driver -> M$\'s usbstor.sys -> usbd.sys
or
dazzy\'s driver -> usbd.sys
what is right?
2.Is it work on 98?
if 2==true,then only need one driver - dazzy\'s driver?
(becuase I ever c some products that have 2 drivers.)

thx
Taiwan's Driver Developer
dazzy
驱动中牛
驱动中牛
  • 注册日期2001-03-23
  • 最后登录2008-08-12
  • 粉丝1
  • 关注0
  • 积分0分
  • 威望10点
  • 贡献值1点
  • 好评度10点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-02-20 16:27
I read the tutor written by dazzy.
I have some questions:
1.
dazzy\'s driver -> M$\'s usbstor.sys -> usbd.sys
or
dazzy\'s driver -> usbd.sys
what is right?
2.Is it work on 98?
if 2==true,then only need one driver - dazzy\'s driver?
(becuase I ever c some products that have 2 drivers.)

thx

1.
dazzy\'s driver -> usbd.sys  is right.
because my driver get the IRP_MJ_SCSI MajorFunction from System Storage class driver, there is nothing with M$\'s usbstor.sys.If you wants to write the other usb storage driver, what you do is to process the IRP_MJ_SCSI(with the parameter SRB), IRP_MJ_DEVICE_CONTROL(IoControl code is IOCTL_SCSI_PASS_THROUGH, IOCTL_SCSI_PASS_THROUGH_DIRECT, IOCTL_STORAGE_QUERY_PROPERTY).
..........

2.
It not work on the win98!
becoz the win98 don\'t send IRP_MJ_SCSI to the driver, you must write one storage port driver(IOS) and a usb driver.

you can refer to the M$\'s usms or usbls120 for win 98!

3.
 For details, you can mail it to me!
 
过年好!
zhanxy
驱动牛犊
驱动牛犊
  • 注册日期2001-11-04
  • 最后登录2003-04-06
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-02-20 18:10
I want to know more details than that source code.Can you tell me your EMAIL.
游客

返回顶部