On Thu, 6 Jan 2005, Oliver Neukum wrote:

> Am Donnerstag, 6. Januar 2005 20:11 schrieb Alan Stern:
> > It's also possible that the flip-flop is changed during the suspend
> > operation rather than the resume operation. �Perhaps Oliver can add some
> > debugging lines to print the values of the regs->port_status[] entries in
> > those three loops (one in ehci_hub_suspend and two in ehci_hub_resume).
> 
> As part of suspension is cutting power I fail to see how it could not
> affect the flip-flop. Could you explain what you mean with that?

If the power was shut off entirely, upon resume the controller would have
seen a connect change event.  No such event shows up in the system logs
you posted with ehci-hcd unloaded.  But it does show up in the logs with 
ehci-hcd loaded.

I'm just suggesting that in ehci-hub.c, you add code to ehci_hub_suspend 
to print the values of port and t1 inside the loop.  Similarly, in 
ehci_hub_resume print the values of i and temp in the two loops.

Alan Stern



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to