SCSI command flow for USB mass storage.

Hi,
I am trying to learn the execution of the USB mass storage device driver. So trying to build a driver by myself. But I am stuck on the execution flow of the scsi command.

Can any body give me an idea on what flow the execution takes place?

xxxxx@live.in wrote:

I am trying to learn the execution of the USB mass storage device driver. So trying to build a driver by myself. But I am stuck on the execution flow of the scsi command.

Can any body give me an idea on what flow the execution takes place?

I’m not sure I understand the question. What kind of a driver are you
trying to build? You can download the USB Mass Storage Class
specification yourself, which describes communication with the device.
An MSC device speaks a subset of the SCSI command set. The MSC driver
gets SRB requests from the drivers above, and converts them to USB MSC
requests. The requests you receive are already at a low-level; the
drivers above you have handled the volume and partition stuff, and all
of the file system stuff. By the time it gets to you, it’s just “read
and write these sectors”.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.