From: David Brownell <david-b@pacbell.net>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: Re: PATCH/RFC: driver model/pmcore wakeup hooks (0/4)
Date: Tue, 5 Oct 2004 13:01:24 -0700 [thread overview]
Message-ID: <200410051301.24274.david-b@pacbell.net> (raw)
In-Reply-To: <20041005193238.GC4723@openzaurus.ucw.cz>
On Tuesday 05 October 2004 12:32 pm, Pavel Machek wrote:
> Hi!
>
> > One significant example involves USB mice. If they were to be
> > suspended (usb_suspend_device) after a few seconds of inactivity,
> > that change could often spread up the device tree and let the
> > USB host controller stop DMA access. Some x86 CPUs could
> > then enter C3 and save a couple Watts of battery power ... until
> > the mouse moved, and woke that branch of the device tree
> > for a while (until the mouse went idle again).
>
>
> How fast is the wakeup?
30+msec for the USB-specific signaling; plus a bit more for each
layer of USB hubs in its tree. Lots more if power glitches force
re-enumeration of anything; but if those happen, they'd happen
during normal use too.
> Will not that make mouse jump a bit?
> (Just curious...)
I actually don't have a wakeup-capable mouse (the one I
have lies about it, fwiw) so I don't know how that acts.
My current wakeup testing uses a USB keyboard instead.
It may even need to be a click that wakes up the mouse;
you don't much want the system to wake up if you nudge
the table (and hence mouse), or a truck goes by, etc.
Len Brown may have details, he was particularly keen
on having this scenario work, given the number of Intel
laptops that would last longer under Linux this way ... it
was evidently a big win under Windows.
- Dave
prev parent reply other threads:[~2004-10-05 20:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 20:54 PATCH/RFC: driver model/pmcore wakeup hooks (0/4) David Brownell
2004-10-05 19:32 ` Pavel Machek
2004-10-05 20:01 ` 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=200410051301.24274.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=pavel@ucw.cz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox