[PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2)
balbi at ti.com
Mon Jan 10 11:57:14 UTC 2011
On Mon, Jan 10, 2011 at 06:47:58AM -0500, Brad Parker wrote:
> I know this is a top post, and a comment on a post from August, but I'd like
> to point out that without this patch I can't get musb host mode to work
> on the beagle board xm (3630).
> With this patch, host mode works. If I disconnect and reconnect the port
> goes into "a_idle", which is almost right, and will go into host mode if
> I "echo >/sys/devices/platform/musb_hdrc/mode".
> (my expectation is that the mode should toggle from "b_idle" to "a_host"
> when I plug in an a connector with the id pin tied correctly, and
> back to "b_idle"
> when I disconnect)
> It seems like few people people test host mode on the omap twl otg port,
> but I have applications which use it...
> should this patch get more attention? (there was no response to the
> initial post I could find)
What's the problem in simply insmoding a gadget driver ? If you have OTG
enabled, you _need_ a gadget driver to have a fully working setup. If
you want host only, then change Kconfig.
More information about the kernel-team