* omap udc driver problem with beagle board
@ 2010-05-30 9:53 Marco Stornelli
2010-05-30 16:00 ` Felipe Balbi
0 siblings, 1 reply; 5+ messages in thread
From: Marco Stornelli @ 2010-05-30 9:53 UTC (permalink / raw)
To: felipe.balbi-xNZwKgViW5gAvxtiuMwx3w,
dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Linux Embedded,
tony-4v6yS6AI5VpBDgjK7y7TUQ
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: omap udc driver problem with beagle board
2010-05-30 9:53 omap udc driver problem with beagle board Marco Stornelli
@ 2010-05-30 16:00 ` Felipe Balbi
2010-05-31 6:30 ` Marco Stornelli
2010-05-31 7:06 ` Marco Stornelli
0 siblings, 2 replies; 5+ messages in thread
From: Felipe Balbi @ 2010-05-30 16:00 UTC (permalink / raw)
To: Marco Stornelli
Cc: felipe.balbi, dbrownell, linux-usb, linux-omap, Linux Embedded, tony
On Sun, May 30, 2010 at 11:53:49AM +0200, Marco Stornelli wrote:
> 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.
--
balbi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: omap udc driver problem with beagle board
2010-05-30 16:00 ` Felipe Balbi
@ 2010-05-31 6:30 ` Marco Stornelli
2010-05-31 7:06 ` Marco Stornelli
1 sibling, 0 replies; 5+ messages in thread
From: Marco Stornelli @ 2010-05-31 6:30 UTC (permalink / raw)
To: me; +Cc: felipe.balbi, dbrownell, linux-usb, linux-omap, Linux Embedded, tony
2010/5/30 Felipe Balbi <me@felipebalbi.com>:
> On Sun, May 30, 2010 at 11:53:49AM +0200, Marco Stornelli wrote:
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: omap udc driver problem with beagle board
2010-05-30 16:00 ` Felipe Balbi
2010-05-31 6:30 ` Marco Stornelli
@ 2010-05-31 7:06 ` Marco Stornelli
[not found] ` <AANLkTine39Za56t8UQRJVeoH94dOuoFAysGPq_cXYhEe-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Marco Stornelli @ 2010-05-31 7:06 UTC (permalink / raw)
To: me; +Cc: felipe.balbi, dbrownell, linux-usb, linux-omap, Linux Embedded, tony
2010/5/30 Felipe Balbi <me@felipebalbi.com>:
> On Sun, May 30, 2010 at 11:53:49AM +0200, Marco Stornelli wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: omap udc driver problem with beagle board
[not found] ` <AANLkTine39Za56t8UQRJVeoH94dOuoFAysGPq_cXYhEe-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-05-31 7:29 ` Felipe Balbi
0 siblings, 0 replies; 5+ messages in thread
From: Felipe Balbi @ 2010-05-31 7:29 UTC (permalink / raw)
To: ext Marco Stornelli
Cc: me-uiRdBs8odbtmTBlB0Cgj/Q, Balbi Felipe (Nokia-D/Helsinki),
dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Linux Embedded,
tony-4v6yS6AI5VpBDgjK7y7TUQ
On Mon, May 31, 2010 at 09:06:35AM +0200, ext Marco Stornelli wrote:
>Oops, my fault. I see the error in the configuration. Thank you very
>much for your response. I'll try again.
no problem.
--
balbi
DefectiveByDesign.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-31 7:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-30 9:53 omap udc driver problem with beagle board Marco Stornelli
2010-05-30 16:00 ` Felipe Balbi
2010-05-31 6:30 ` Marco Stornelli
2010-05-31 7:06 ` Marco Stornelli
[not found] ` <AANLkTine39Za56t8UQRJVeoH94dOuoFAysGPq_cXYhEe-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-05-31 7:29 ` Felipe Balbi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.