Skip to contentSkip to conversation

omap udc driver problem with beagle board

DISCUSSION Marco Stornelli 4 participants 5 messages May 30, 2010 – May 31, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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_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?

beagle board uses musb. You shouldn't be relying on the udc controller. Your Kconfig is just wrong.

Signature · 1 line
balbi
#2 lore raw

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 Kconfig is 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

#3 lore raw
In reply to Felipe Balbi

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 Kconfig is 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

#5 lore raw
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