From: Pavel Machek <pavel@suse.cz>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: Re: Request for testing remote wakeup during STD
Date: Tue, 13 Feb 2007 12:35:47 +0100 [thread overview]
Message-ID: <20070213113547.GI12996@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0702092244570.32161-100000@netrider.rowland.org>
Hi!
> There have been reports of problems related to shutting down with remote
> wakeup enabled on EHCI USB controllers in 2.6.20; see
>
> http://bugzilla.kernel.org/show_bug.cgi?id=7828
>
> In brief, some people have found that if ehci-hcd is loaded and the
> controller is suspended when they try to shut down their systems, the
> machine reboots immediately instead of turning off. Apparently this is
> caused by the firmware mistakenly thinking that a remote-wakeup event has
> occurred. Admittedly, remote wakeup from a system sleep is still black
> magic to most of us...
>
> I wrote a patch to try and fix the problem by turning off EHCI remote
> wakeup from within the driver's shutdown() method. The patch is here:
>
> http://bugzilla.kernel.org/attachment.cgi?id=10313&action=view
>
> However I'm concerned that this might affect suspend-to-disk. Some lucky
> people have systems which do keep their EHCI controllers in D3hot during
> STD, and such people might reasonably want Wake-on-USB to work properly.
> It seems likely that the patch would prevent it from working.
I do not think such "lucky people" exist. And not being able to
control the wakeups.... no I do not think that feature is useful,
yet. KISS.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2007-02-13 11:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-10 3:59 Request for testing remote wakeup during STD Alan Stern
2007-02-10 4:50 ` Nigel Cunningham
2007-02-10 17:08 ` Alan Stern
2007-02-10 20:52 ` Nigel Cunningham
2007-02-11 19:44 ` Alan Stern
2007-02-11 20:28 ` Nigel Cunningham
2007-02-11 21:43 ` Rafael J. Wysocki
2007-02-13 11:35 ` Pavel Machek [this message]
2007-02-13 15:52 ` Alan Stern
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=20070213113547.GI12996@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-pm@lists.osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox