Hello All,

 

I am trying to develop a customized USB gadget driver. I am using
gadget/zero.c as a base. I want to have one of the endpoint as
isochronous endpoint.

 

I modified one of the endpoint descriptor as,

 

static struct usb_endpoint_descriptor

fs_source_desc = {

            .bLength =                    USB_DT_ENDPOINT_SIZE,

            .bDescriptorType =      USB_DT_ENDPOINT,

            .bEndpointAddress =    USB_DIR_IN,

            .bmAttributes =            USB_ENDPOINT_XFER_ISOC,

            .wMaxPacketSize =     255,     

            .bInterval =                   32,       // frames -> 32 ms

 

};

 

While inserting the module I facing this problem,

 

[email protected]:/# insmod /modules/Mar18th/g_zero.ko pattern=3 -f

zero: can't autoconfigure on musb_hdrc

insmod: error inserting '/modules/Mar18th/g_zero.ko': -1 No such device

 

How to resolve this error?

How to configure ISOC endpoints?

 

Please provide your valuable comments.

 

Thanks a lot in advance.

 

Regards,

Prabhaharan.R



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to