Re: [PATCH] OHCI suspend/resume issue.

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thursday 09 August 2007, Zephaniah E. Hull wrote:
> OHCI isn't coming back on the OLPC after resume.
> 
> After a bit of testing, the problem seems to have come down to two points.
> 
> The first is that ohci_pci_resume is not forcing the root hub to be resumed
> properly, that's a fairly trivial and obviously correct patch.
> 
> The second is trickier, ohci_rh_resume is getting called in a state that it
> thinks is an indication that it's coming back from a SUSPEND where it did not
> lose power.

What's putting it into the OHCI_USB_SUSPEND state?  If it lost power,
it should still be in the OHCI_USB_RESET state.

The root cause would seem to be that on a "suspend" (not hibernate)
path, something is mucking with that controller that should be just
leaving it alone ... a firmware bug, maybe.


> I've patched it, and hopefully there won't be any false positives, but I don't
> have another machine to do suspend/resume testing on, so while it works for me,
> I can't guarantee that it won't cause problems for others.
> 
> In any case, USB 1.1 devices directly plugged into the machine didn't work
> after resume before this, and do now.
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.