阅读:1431回复:2
about USB Storage.
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 |
|
|
沙发#
发布于:2002-02-20 16:27
I read the tutor written by dazzy. 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! 过年好! |
|
板凳#
发布于:2002-02-20 18:10
I want to know more details than that source code.Can you tell me your EMAIL.
|
|