Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Felipe Balbi
On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go into device mode when it starts up, which I guess is the normal thing for Android devices to do. Can you explain how to switch the

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Huang Rui
Hi Felipe, On Thu, Oct 10, 2013 at 10:10:52AM -0500, Felipe Balbi wrote: On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go into device mode when it starts up, which I guess is the

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Alan Stern
On Thu, 10 Oct 2013, Felipe Balbi wrote: On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go into device mode when it starts up, which I guess is the normal thing for Android devices

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Felipe Balbi
Hi, On Thu, Oct 10, 2013 at 11:49:17AM -0400, Alan Stern wrote: On Thu, 10 Oct 2013, Felipe Balbi wrote: On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go into device mode

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Felipe Balbi
HI, On Thu, Oct 10, 2013 at 11:45:47PM +0800, Huang Rui wrote: On Thu, Oct 10, 2013 at 10:10:52AM -0500, Felipe Balbi wrote: On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Alan Stern
On Thu, 10 Oct 2013, Felipe Balbi wrote: IIRC the debugfs interface is suppposedly a little better. /me goes check the code here it goes, just wrote force host to /sys/kernel/debug/musb*/testmode Hopefully they have that enabled :-) Thanks for the information. I'll try it out. Alan

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Huang Rui
On Thu, Oct 10, 2013 at 11:26:47AM -0500, Felipe Balbi wrote: HI, On Thu, Oct 10, 2013 at 11:45:47PM +0800, Huang Rui wrote: On Thu, Oct 10, 2013 at 10:10:52AM -0500, Felipe Balbi wrote: On Tue, Oct 08, 2013 at 10:28:29AM -0400, Alan Stern wrote: I also have a question for host and

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Felipe Balbi
Hi, On Fri, Oct 11, 2013 at 01:13:57AM +0800, Huang Rui wrote: On Thu, Oct 10, 2013 at 11:26:47AM -0500, Felipe Balbi wrote: HI, On Thu, Oct 10, 2013 at 11:45:47PM +0800, Huang Rui wrote: On Thu, Oct 10, 2013 at 10:10:52AM -0500, Felipe Balbi wrote: On Tue, Oct 08, 2013 at

Re: Switching OMAP2430 MUSB between host and device mode

2013-10-10 Thread Huang Rui
Hi Felipe, On Thu, Oct 10, 2013 at 12:44:05PM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 11, 2013 at 01:13:57AM +0800, Huang Rui wrote: On Thu, Oct 10, 2013 at 11:26:47AM -0500, Felipe Balbi wrote: HI, On Thu, Oct 10, 2013 at 11:45:47PM +0800, Huang Rui wrote: On Thu, Oct 10,

Switching OMAP2430 MUSB between host and device mode

2013-10-08 Thread Alan Stern
Felipe: I've got an Android device that uses the omap2430 musb driver. It's configured to go into device mode when it starts up, which I guess is the normal thing for Android devices to do. Can you explain how to switch the controller over to host mode (and back)? I tried writing host to the