Re: [PATCH] USB: gadget: introduce isochronous source sink function driver(V2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,

Cheers,

Martin
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux