UNS: Re: [PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2)
brad at heeltoe.com
Mon Jan 10 14:08:17 UTC 2011
Felipe Balbi wrote:
> On Mon, Jan 10, 2011 at 06:47:58AM -0500, Brad Parker wrote:
>> (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)
> 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
I guess there are multiple "modalities".
- some users don't use a gadget driver and expect host mode to work
- some users use a gadget driver and host mode (apparently that works)
- some users use a gadget driver only (they work)
I'd like to avoid having multiple kernels. (and to be honest, I'm not
just convince I can get the right behaviors by changing the .config; I
you mean .config and not Kconfig... I don't think it works but I'll try
More information about the kernel-team