Re: Handling SCSI commands in USB simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 13, 2009 at 7:57 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Wed, May 13, 2009 at 07:23:44PM +0530, Madhukar G wrote:
>> Hi All,
>>
>> I'm developing a usb storage driver for a custom device which is under
>> production.
>
> As a foolish question, why doesn't the existing usb-storage driver work
> with your device?  Doesn't your device follow the USB specification for
> storage devices?  If not, why?
>
>> As the device is yet to be ready I thought of writing a
>> simulator which acts a device.
>
> Use the storage gadget device, it should be all set to do just this.
>

Thanks for the reply.

My device is implementing a new Mass Storage Protocol UAS (USB
Attached SCSI). So, i do not think existing usb-storage would work for
this device.

Moreover in my stack with simulator i'm directly redirecting the
submission of URB to simulator. I had removed usbcore and host from
the stack for testing simulator.

Also, I'll look to gadget device for any details.

I would like to know what is needed to be handled in simulator so that
SCSI layer sends SCSI commands to storage and then to my simulator.

Regards,
Madhukar
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux