omap udc driver problem with beagle board
Hi,
I'm using the kernel 2.6.34 with the beagle board rev. c4. I have got some problems with the ethernet gadget to use nfs over usb. The problem is with the usb. When the g_ether driver register itself, the omap udc driver returns ENODEV because the kernel didn't call the probe for this driver. Looking at the code, it seems the problem is in board specific management of the usb. There isn't the registration of the platform device to match the omap udc platform driver. It should be done in the omap_usb_init() but in case of beagle board this function is never called, so omap udc driver cannot work. Is it a regression? Is there any workaround?
Thanks.
Regards,
Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 12 lines · Marco Stornelli
Hi,
I'm using the kernel 2.6.34 with the beagle board rev. c4. I have got some problems with the ethernet gadget to use nfs over usb. The problem is with the usb. When the
g_etherdriver register itself, the omap udc driver returns ENODEV because the kernel didn't call the probe for this driver. Looking at the code, it seems the problem is in board specific management of the usb. There isn't the registration of the platform device to match the omap udc platform driver. It should be done in theomap_usb_init()but in case of beagle board this function is never called, so omap udc driver cannot work. Is it a regression? Is there any workaround?
beagle board uses musb. You shouldn't be relying on the udc controller. Your Kconfig is just wrong.
Signature · 1 line
balbi
2010/5/30 Felipe Balbi <[email protected]>:
Quoted 8 lines · Marco Stornelli
beagle board uses musb. You shouldn't be relying on the udc controller. Your
Kconfigis just wrong.--
balbi
Mmm....does it mean that it's not possible to use g_ether driver? I read in several docs/wiki that it's possible.
Marco
2010/5/30 Felipe Balbi <[email protected]>:
Quoted 7 lines · Marco Stornelli
beagle board uses musb. You shouldn't be relying on the udc controller. Your
Kconfigis just wrong.--
balbi
Oops, my fault. I see the error in the configuration. Thank you very much for your response. I'll try again.
Regards,
Marco
A message that is not in the archive (sent off-list or not yet received): AANLkTine39Za56t8UQRJVeoH94dOuoFAysGPq_cXYhEe-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 2 lines · ext Marco Stornelli
Oops, my fault. I see the error in the configuration. Thank you very much for your response. I'll try again.
no problem.
Signature · 7 lines
balbi DefectiveByDesign.org -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html