Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

USB Mass Storage

2 views
Skip to first unread message

Sushma

unread,
Nov 9, 2009, 5:33:33 AM11/9/09
to
Hi All,

I'm developing a USB mass storage driver for new USB device which
implements UAS (USB Attached SCSI) protocol. The device is also BOT
compatible.

I have two questions.

1) When i plug the device to PC, the default mass storage driver is
loaded. How can i replace the default inbox driver, so that PnP
manager prompts for "New hardware Wizard" for my device.
2) I need to use USB + SCSI driver for the device. I took osrusbfx2
KMDF sample for USB interface. I would like to know which sample in
storage implements handling of SCSI commands which is more of like
mass storage device.

Any help is much appreciated.

Thanks and Regards,
Sushma

Alexander Grigoriev

unread,
Nov 9, 2009, 10:12:26 AM11/9/09
to
You need to change USB device class code.

"Sushma" <sushma...@gmail.com> wrote in message
news:07efc24b-5d2b-4c09...@k13g2000prh.googlegroups.com...

Sushma

unread,
Nov 9, 2009, 11:50:26 PM11/9/09
to

> You need to change USB device class code.
>

Thanks for the reply. My device has the device class code same as mass
storage device so that it can be backward compatible. So, I cannot
change it. Any how I found the answer myself. The interfaceclass or
interfacesubclass or interfaceprotocol present in interface descriptor
need to be different so that the default mass storage driver can be
overridden. I was planning for a different interface protocol.

I still do not have any answer for the second question. Can someone
help me in this regard.

2) I need to use USB + SCSI driver for the device. I took osrusbfx2
KMDF sample for USB interface. I would like to know which sample in
storage implements handling of SCSI commands which is more of like
mass storage device.

Thank You.

Regards,
Sushma

Mike [MSFT]

unread,
Nov 10, 2009, 9:23:20 PM11/10/09
to
Why would you want to see the "New hardware wizard"? Wouldn't you just want
to provide a better (ranked) driver than the Inbox one so that it is
selected and installed automatically?

-Mike

"Sushma" <sushma...@gmail.com> wrote in message

news:f2e4126a-61c4-452e...@g1g2000pra.googlegroups.com...

Sushma

unread,
Nov 11, 2009, 8:20:41 AM11/11/09
to
I would try you suggestion and come back if i have any questions.

Which sample storage class driver from WDK kit shall i need for mass
storage functionality.

Regards,
Sushma

0 new messages