On Wed, Mar 25, 2015 at 02:43:43PM +0800, Chen Peter-B29397 wrote: > > > On Wed, Mar 25, 2015 at 02:03:51PM +0800, Peter Chen wrote: > > > > > > Hi Jun, > > > > > > The above three patches are in Greg's next tree, after I apply your > > > chipidea fix [1] for pullup dp, it still some other problems for HNP, > > > am I missing something? > > > > > > The procedures to reproduce: > > > > > > - Connect USB cable and MicroAB cable between two boards > > > - Boot up two boards > > > - load g_mass_storage at B-device side, the enumeration will success, > > > and A will see a usb mass-storage device > > > - load g_mass_storage at A-device side > > > - Do HNP at B side, the HNP will succeed echo 1 > > > > /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req > > > - Do HNP at A side > > > echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req > > > > > > The problem has occurred, the A can't be back to host again. > > > > > I use your peter-usb-dev branch and did not found the problem, so I need use > > Greg's tree to try again? > > > > No, I first found this problem with my dev tree, then, I rebase the latest > Greg next > tree, this problem still exists. You can try to use FSL imx6dl sdb as A > device and imx6sx sdb > as B device to reproduce it. >
It can work with my i.MX6DL + i.MX6Q SD, but with i.MX6DL + i.MX6SX SDB, I can reproduce the problem you reported, which triggers a bug in our otg_fsm driver, I will send out a patch to fix it. Li Jun > Peter -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html