Skip to contentSkip to conversation

Tegra3 ehci_suspend and ehci_resume

DISCUSSION Alan Stern 1 participant 1 message Dec 13, 2012 2 messages not in the archive Tegra architecture support

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alan Stern

author
#2 lore raw
Quoted 11 lines · Timur
Quoted 4 lines · Alan Stern

Okay. Then how about this: Unplug both the power connector and the slave connector. After the N7 goes into deep sleep, plug the power connector back in but leave the slave unplugged. Then a few seconds later, plug in the slave.

This always fails (-71 / SET_ADDRESS). The issues can then only be solved, by unplugging the "OTG" adapter. In other words, by switching to peripheral mode (and back).

Quoted 6 lines
Quoted 3 lines

Also try doing the same thing, but don't wait for the N7 to go into deep sleep. If this works but the other test doesn't, then clearly the slave is working correctly and the problem lies in the host controller.

This works well most of the time. Some issues in a few cases, not sure why. (It is possible to debug over WiFi. But doing so would prevent LP0.)

So it seems clear that the problem is the deep sleep implementation in ehci-tegra. That implementation is very non-standard in the 3.7 kernel.

To fix it will require assistance from the people responsible for the ehci-tegra driver. I can be of only limited help because I don't have any Tegra hardware and I don't know how it's supposed to work.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html