On 11 March 2010 00:28, Sven Killig <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Andrew de Quincey >> Sent: Wednesday, March 10, 2010 6:55 PM >> To: [email protected] >> Subject: Re: [android-kernel] Re: Working MSM7201 usb host driver v2 >> >> 1) 'cos I had the cable data lines the wrong way round > > How could this happen? Aren't they colour-coded?
Ah - I was playing about with the Hero USB PHY's registers which let you swap the lines about in software :) >> .flags = HCD_USB2 | HCD_MEMORY | HCD_LOCAL_MEM, > > I modified the Samsung Galaxy kernel source this way. Now the error message > hub 1-0:1.0: unable to enumerate USB device on port 1 > after modprobe disappeared, the last line is now > msm_hsusb_vbus_shutdown > But nothing else is happening in dmesg when replugging. I'm still not sure > about my wiring though. Hmm, dunno yet, I'm still in the middle of backporting the ehci-msm.c driver to my hero tree; should be able to test that out soon though. The code appears to have full USB OTG as well, which should be kinda cool; theoretically no need for any module unloading. Also, I now know the RPC calls to turn the vbus voltage on and off! (untested, may not be supported on all hardware). -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
