All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>,
	Len Brown <lenb@kernel.org>,
	gregkh@suse.de, linux-acpi@vger.kernel.org,
	Linux-pm mailing list <linux-pm@lists.osdl.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: USB D3 vs system S3
Date: Wed, 9 Jan 2008 13:03:23 -0800	[thread overview]
Message-ID: <200801091303.23426.david-b@pacbell.net> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0801091213250.2880-100000@iolanthe.rowland.org>

On Wednesday 09 January 2008, Alan Stern wrote:
> 
> > > The USB autosuspend code affects only the controller's USB interface --
> > > it doesn't touch the PCI side.  An autosuspended controller will remain
> > > in D0.  Until somebody tries writing autosuspend code for PCI
> > > devices...
> > 
> > Is this likely to happen?
> 
> I don't know of anybody working on it.  A minimal prerequisite is that 
> PCI runtime wakeup processing needs to work right -- which it doesn't.  
> See 
> 
>         http://bugzilla.kernel.org/show_bug.cgi?id=6892

And while most of the non-PCI USB host platforms to which I have access
don't have that type of issue, their hardware isn't actually set up to
offer an analogue of runtime PCI_D3 (for example) power states.

In more detail:  they generally have some clocks that could be disabled,
but for various reasons they need to be left running.  Disabling those
clocks prevents wakeup from working ... yes, a multi-MHz clock just to
detect the D+ (or D-) pullup as it kicks in.  Systems using an external
PHY will sometimes offer an alternative, when the PHY can issue those
wakeup IRQs by itself, but that seems oddly uncommon.

- Dave

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

      reply	other threads:[~2008-01-09 21:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 20:47 USB D3 vs system S3 Len Brown
2008-01-08 21:09 ` Rafael J. Wysocki
2008-01-08 21:55 ` David Brownell
2008-01-09  0:09 ` Carlos Corbacho
2008-01-09 12:51   ` Carlos Corbacho
2008-01-09 16:07     ` Alan Stern
2008-01-09 16:38       ` Carlos Corbacho
2008-01-09 17:16         ` Alan Stern
2008-01-09 21:03           ` David Brownell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801091303.23426.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=carlos@strangeworlds.co.uk \
    --cc=gregkh@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.