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