Hi, On Wed, Dec 28, 2011 at 06:11:04PM +0530, Someshwar Danappa wrote: > My name is Someshwar and�I saw your name and ID in the maintainers > list�for the > Synopsys Designware USB Device Controller Driver.�I was hoping if�you can > educate > me on a few points related to USB 3.0 support�present in�Linux kernel. > I was not sure if�I should be sending a mail directly to your ID. Please > suggest and > educate me if you�want me to use some other alternatives. please, when sending mails to me, add linux-usb@xxxxxxxxxxxxxxx to Cc list ;-) > I was studying the the Linux release (linux-3.2-rc1) for understanding the > level of support > the OS provides for USB 3.0 protocol in the gadget framework.�My goal is > to understand > setup required to run Linux on a device and to implement USB mass storage > device support > "USB Attached SCSI" and�"Bulk Only transfer" protocol with USB 3.0. We have a working implementation of UASP using the Target Framework. Sebastian (in Cc) wrote it. If you want access to the code, please ask from him. > A few questions in which I need your help in answering, > > 1. I used to compile and�load the g_mass_storage.ko gadget driver in > addition to the�USB device controller driver for testing�with USB 2.0. > Does this USB mass storage gadget driver have support for handling > Superspeed enumeration and data transfers? yes. > 2. In the Kconfig file of the DWC-USB3 driver you have added config macro > USB_GADGET_SUPERSPEED, which in turn enables code wrapped around the > API, gadget_is_superspeed() (eg: drivers/usb/gadget/composite.c). Are > those the extra code added for the Superspeed support in the gadget > framework? Well, we're actually getting rid of those Kconfig macros and UDC driver is supposed to tell its highest operating speed to gadget drivers. Take a look linux-next for the latest code. > 3. In the DWC-USB3 driver, could you throw some light on what the > gadget.c file does? Was this added as part of extending the gadget > support for Superspeed USB or does it only define and implement entry > points for the USB gadget framework? drivers/usb/dwc3/gadget.c ? That's the gadget adaptation for dwc3 driver. > 4. Does Linux have Superspeed support in class driver for the mass > storage gadget driver? If not, how do you suggest testing of the mass > storage gadget driver with super speed be done? What setup did you use > to test the DWC-USB3 device controller driver with Bulk transfers? it should work out of the box. I've been using for the past few months actually. -- balbi
Attachment:
signature.asc
Description: Digital signature