On Thu, May 14, 2009 at 10:39:38AM +0530, Madhukar G wrote: > 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. As previously discussed on this mailing list, we do think it can work just fine by modifying the existing usb-storage driver. But if you are willing to post your new driver to prove us wrong, we will be glad to review it. > 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. That doesn't sound wise. > 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. A lot of work. :) Best of luck, greg k-h -- 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