From: Pavel Machek <pavel@ucw.cz>
To: Todd Poynor <tpoynor@mvista.com>
Cc: linux-kernel@vger.kernel.org, linux-pm@osdl.org
Subject: Re: [linux-pm] [PATCH] Custom power states for non-ACPI systems
Date: Wed, 2 Mar 2005 09:56:19 +0100 [thread overview]
Message-ID: <20050302085619.GA1364@elf.ucw.cz> (raw)
In-Reply-To: <20050302020306.GA5724@slurryseal.ddns.mvista.com>
Hi!
> Advertise custom sets of system power states for non-ACPI systems.
> Currently, /sys/power/state shows and accepts a static set of choices
> that are not necessarily meaningful on all platforms (for example,
> suspend-to-disk is an option even on diskless embedded systems, and the
> meaning of standby vs. suspend-to-mem is not well-defined on
> non-ACPI-systems). This patch allows the platform to register power
> states with meaningful names that correspond to the platform's
> conventions (for example, "big sleep" and "deep sleep" on TI OMAP), and
> only those states that make sense for the platform.
Maybe this is a bit overdone?
Of course you can have suspend-to-disk on most embedded systems; CF
flash card looks just like disk, and you should be able to suspend to
it.
If OMAP has "big sleep" and "deep sleep", why not simply map them to
"standby" and "suspend-to-ram"?
[OTOH patch is not that long; but strings in /sys filesystem are not
for human consumption anyway.]
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
next prev parent reply other threads:[~2005-03-02 9:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-02 2:03 [PATCH] Custom power states for non-ACPI systems Todd Poynor
2005-03-02 2:41 ` Todd Poynor
2005-03-02 2:57 ` [linux-pm] " Benjamin Herrenschmidt
2005-03-02 8:56 ` Pavel Machek [this message]
2005-03-02 21:58 ` Todd Poynor
2005-03-02 22:11 ` Pavel Machek
2005-03-03 0:26 ` Todd Poynor
2005-03-03 14:55 ` Pavel Machek
2005-03-04 2:01 ` David Brownell
2005-03-04 8:31 ` Pavel Machek
2005-03-04 2:10 ` Todd Poynor
2005-03-04 2:17 ` David Brownell
2005-03-04 4:49 ` Nigel Cunningham
2005-03-04 6:31 ` David Brownell
2005-03-04 20:50 ` Todd Poynor
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=20050302085619.GA1364@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@osdl.org \
--cc=tpoynor@mvista.com \
/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