> -----Original Message----- > From: Cliff Cai [mailto:cliffcai.sh@xxxxxxxxx] > Sent: Monday, December 21, 2009 3:03 PM > To: Gupta, Ajay Kumar > Cc: linux-usb@xxxxxxxxxxxxxxx > Subject: Re: Status of OTG support on MUSB > > On Mon, Dec 21, 2009 at 4:37 PM, Gupta, Ajay Kumar <ajay.gupta@xxxxxx> > wrote: > > > > > >> -----Original Message----- > >> From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb- > >> owner@xxxxxxxxxxxxxxx] On Behalf Of Cliff Cai > >> Sent: Monday, December 21, 2009 1:23 PM > >> To: linux-usb@xxxxxxxxxxxxxxx > >> Subject: Status of OTG support on MUSB > >> > >> Hi all, > >> > >> Does anybody know the status of OTG support on MUSB? > >> > >> also, I see the following comments under USB_MUSB_OTG in > ...musb/Kconfig > >> > >> " However, some of the cable based role switching works. (That is, > >> grounding > >> the ID pin switches the controller to host mode, while leaving > >> it floating leaves it in peripheral mode.)" > >> > >> Has anyone ever tried above functionality? if yes,Could you please > >> share the experience? > > > > We have tested role switching on OMAP3EVM and it works fine after > reverting > > a few patches. We actually need to fix the issue in those patches but I > > tested it reverting some patches and OTG seems to be fine. > > Ajay, > > Thanks a lot! > So,the role switching doesn't work with the latest musb code? > and do you still remember which patches should be reverted in order to > enable it? 1) Revert "musb: otg timer cleanup" commit f7f9d63eac12b345d6243d1d608b7944a05be921. 2) Revert "musb: make initial HNP roleswitch work (v2)" commit 1de00dae8036dfee44ebea2c38f942fb6072e0b7. 3) Revert "musb: support disconnect after HNP roleswitch" commit ab983f2a1be582b00f706013f40f658769d0823a. We actually need to fine tune and fix the issues due to above patches. -Ajay > > Best Regards > > Cliff -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html