On Thu, 16 Jun 2011, Tanya Brokhman wrote: > > The only driver meant to work with g_zero is the usbtest driver. > > Unfortunately it doesn't allow you switch configurations while a test > > is running, because it holds the device lock during each test. > > > > Why not use g_file_storage or g_mass_storage for your tests? You > > shouldn't have much trouble adding the appropriate SuperSpeed > > descriptors (one bulk-IN and one bulk-OUT endpoint). > > > > I already have SS descriptors for f_mass_storage. But a "clean" > f_mass_storage has only 1 configuration so it's no use to me. With the UAS > changes the g_mass_storage gadget has 2 configs but I suspect that there are > bugs in the UAS code so I wanted to eliminate that from the testing setup. There's always "config 0". Of course, you can't do much testing while the device is unconfigured... Perhaps you can put together a wrapper file that defines two configs, both of which use f_mass_storage. Alan Stern -- 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