On Fri, May 15, 2009 at 9:33 AM, Madhukar G <madhukar.linux@xxxxxxxxx> wrote: > On Thu, May 14, 2009 at 11:01 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: >> On Thu, 14 May 2009, Madhukar G wrote: >> >>> I had compiled the gadget driver file_storage and got the .ko file. >>> The file_storage driver is using M66592 as the peripheral controller >>> driver. I would like to use DUMMY_HCD as the controller driver. Is >>> there any way i can add dummy_hcd as controller driver. >>> >>> Also, i had observed that M66592 is the default controller driver in >>> menuconfig as well. Is there any way to change it to dummy hcd. I'm >>> using kernel version 2.6.28. >> >> Sure, it's easy to change. Just edit the kernel configuration. For >> example, in "make menuconfig" you navigate to Device Drivers / USB >> Support / USB Gadget Support / USB Peripheral Controller and then >> select Dummy HCD in the list of choices. >> I have one last question. When i inserted the file_storage (simulator) module, the URB which are initiated from storage driver goes thru usbcore and then to dummy_hcd and finally to file_storage gadget driver. At this point i see that defualt host controller module (ehci or uhci) is already present. My question is how does usbcore know that URB's needs to be redirected to dummy_hcd instead of defualt hcd controller module (ehci or uhci). Any sort of help would be really appreciated. Thanks and 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