Messages in this thread | | | Date | Mon, 10 Jan 2011 09:08:17 -0500 | From | Brad Parker <> | Subject | Re: UNS: Re: [PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2) |
| |
Felipe Balbi wrote: > Hi, > > 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 (they fail) - 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 convinced just convince I can get the right behaviors by changing the .config; I assume you mean .config and not Kconfig... I don't think it works but I'll try it out)
-brad
| |