On Tue, Sep 28, 2010 at 11:19 PM, Martin Fuzzey <mfuzzey@xxxxxxxxx> wrote: > On Tue, Sep 28, 2010 at 5:02 PM, Anand Gadiyar <gadiyar@xxxxxx> wrote: >> Anand Gadiyar wrote: >>> I tried this out with a net2280 device connected to an OHCI port. >>> >>> usbtest.ko refuses to bind to the device with the following error >>> message. The host is an OMAP board running v2.6.35. >>> > > I think this is because usbtest doesn't yet know that gadget zero > can do iso > > Try this: > > --- a/drivers/usb/misc/usbtest.c > +++ b/drivers/usb/misc/usbtest.c > @@ -2271,7 +2271,8 @@ static struct usbtest_info gz_info = { > .name = "Linux gadget zero", > .autoconf = 1, > .ctrl_out = 1, > - .alt = 0, > + .alt = -1, > + .iso = 1, > This works, thanks! - Anand -- 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