lkml.org 
[lkml]   [2007]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] OHCI: disallow autostop when wakeup is not available
On Mon, 1 Jan 2007, Andrey Borzenkov wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 15 November 2006 00:28, Alan Stern wrote:
> > This patch (as822) prevents the OHCI autostop mechanism from kicking in
> > if the root hub is not able or not allowed to issue wakeup requests.
> >
> > Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
> >
> > ---
> >
> > Greg:
> >
> > This patch should go into 2.6.19-rc ASAP. It does solve a real problem.
> > The larger-scale changes Dave and I have been discussing will be submitted
> > separately, for inclusion in 2.6.20.
> >
>
> Is the original problem (OHCI constantly attempting and failing to suspend
> root hub) supposed to be fixed in 2.6.20?

No. It can't be fixed in the kernel because it is a hardware bug.

> Currently in rc3 I have
...
> ohci_hcd 0000:00:02.0: auto-stop root hub
> ohci_hcd 0000:00:02.0: auto-wakeup root hub
> ohci_hcd 0000:00:02.0: auto-stop root hub
> ohci_hcd 0000:00:02.0: auto-wakeup root hub
> ...
>
> and it goes on and on until I stop it manually by usual method:
>
> usb usb1: remote wakeup needed for autosuspend

The patch mentioned above allows the manual method to work. Without the
patch you would not be able to stop these messages at all, as you already
have seen.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-02 16:19    [W:2.594 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site