From: Phillip Susi <psusi@iradimed.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Wakeup and S states
Date: Thu, 16 Jun 2011 09:48:59 -0400 [thread overview]
Message-ID: <4DFA09CB.9040909@iradimed.com> (raw)
In-Reply-To: <20110615154457.GA13863@srcf.ucam.org>
On 06/15/2011 11:44 AM, Matthew Garrett wrote:
> On Wed, Jun 15, 2011 at 11:12:03AM -0400, Phillip Susi wrote:
>
>> Conversely, if an ethernet controller is capable of waking up the
>> system from S5, that does not mean we want it left powered on and
>> capable of doing so when we shut the machine off, but had WOL
>> enabled. Is there no way to enable wakeup only from S3, even though
>> the device is capable of lower levels?
>
> Well, that's the usual use-case for WoL. If you don't want a device to
> wake up from a specific sleep state, disable that device before entering
> that sleep state.
I am reading reports from some users that their laptop keeps the
ethernet interface powered on and runs down the battery after shutting
down. It seems they are capable of waking the system from S5. It
appears that if the interface is not ethdown'ed in /etc/init.d/halt,
then it remains on. Are you saying that it is up to userspace to
disable WOL and down the interface before shutting down?
Also strangely, ethtool reports that WOL is enabled for magic packet (
which I guess comes from the bios default, I checked my desktop and it
also appears to default to wol: g, but can only wakeup from s4 ), but
/proc/acpi/wakeup claims wakeup for the device is disabled. They should
always agree shouldn't they?
next prev parent reply other threads:[~2011-06-16 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 15:12 Wakeup and S states Phillip Susi
2011-06-15 15:44 ` Matthew Garrett
2011-06-16 13:48 ` Phillip Susi [this message]
2011-06-16 14:15 ` Matthew Garrett
2011-06-16 14:32 ` Phillip Susi
2011-06-16 14:37 ` Matthew Garrett
2011-06-16 15:11 ` Phillip Susi
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=4DFA09CB.9040909@iradimed.com \
--to=psusi@iradimed.com \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/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.