From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: USB runtime D3
Date: Thu, 30 Jul 2009 20:26:03 +0100 [thread overview]
Message-ID: <20090730192603.GB22421@srcf.ucam.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0907301516100.6087-100000@iolanthe.rowland.org>
On Thu, Jul 30, 2009 at 03:22:32PM -0400, Alan Stern wrote:
> Seems likely. What happens if you suspend the UHCI controller but
> leave the EHCI controller active? Then the port-switching logic should
> kick in.
Yeah, I'll give that a go.
> Which reminds me... One of the things you had to do was enable remote
> wakeup for the host controllers. The current initial state is
> disabled, for a good reason. People don't like it if they suspend
> their laptop only to find that the computer wakes back up again when
> they unplug the USB mouse.
>
> If we do end up implementing runtime power management for USB host
> controllers, something (a userspace program?) will have to turn off
> remote wakeup before system sleeps and turn it back on afterward.
I think we'll probably want a call for "transitioning from runtime
suspend to system suspend", at which point the driver can clean that up
itself.
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2009-07-30 19:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 2:06 USB runtime D3 Matthew Garrett
[not found] ` <20090730020623.GB26389-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2009-07-30 2:33 ` Shaohua Li
2009-07-30 2:56 ` Matthew Garrett
2009-07-30 3:17 ` Shaohua Li
2009-07-30 3:18 ` Matthew Garrett
2009-07-30 18:58 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.0907301458090.6087-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2009-07-30 19:02 ` Matthew Garrett
[not found] ` <20090730190243.GA22016-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2009-07-30 19:15 ` Alan Stern
2009-07-30 19:23 ` Matthew Garrett
2009-07-30 18:57 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.0907301447080.6087-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2009-07-30 19:07 ` Matthew Garrett
2009-07-30 19:22 ` Alan Stern
2009-07-30 19:26 ` Matthew Garrett [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=20090730192603.GB22421@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--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.