Hello Christoph, Some time ago you commented on the UAS gadget driver patches I've posted and instructed me to rewrite the gadget driver and to use the target core in drivers/target. Now I finally have time to follow your advice. Unfortunately I'm not familiar at all with the drivert/target code and when going over it in order to understand how I should use it for my purposes - I got completely lost. Neither did I find any usage examples or documentation of it. I emailed Nicholas some time ago but got no reply. At this point I'm a bit lost and was wondering if you could perhaps assist me and point me to anything that will help me get started. Thank you for your help! Tanya Brokhman --- Sent by an consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -----Original Message----- From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] On Behalf Of Tanya Brokhman Sent: Thursday, May 12, 2011 11:40 AM To: nab@xxxxxxxxxxxxxxx Cc: hch@xxxxxxxxxxxxx; 'Sergei Shtylyov'; 'Alan Stern'; ablay@xxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx Subject: SCSI target infrastructure assistance Hello Nicholas My name is Tanya Brokhman and I'm working at the moment on developing the UAS gadget driver. In the current development we posted to the mailing lists, we implemented the handling of SCSI commands similar to the way it was done in f_mass_storage.c, meaning the implementation of SCSI commands was internal and didn't use any external infrastructures. I was instructed by Christoph Hellwing to use the SCSI target infrastructure from drivers/target. I started looking at the files and got completely lost. Neither did I find any documentation or usage example for this code. I was wondering if you could point me out to some good starting point or to documentation files (if such exist). My feeling is that I should use struct scsi_device in some way but this is all new to me and I'm not sure if my hunch is even correct. My background is more USB oriented so my familiarity with SCSI protocol isn't as good as I would like it to be. Best regards, Tanya Brokhman Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum -- 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 -- 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