public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: akuster <akuster@mvista.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel-owner@vger.kernel.org, linux-pm@lists.osdl.org
Subject: Re: [PATCH 1/2] PM: fast power off - core
Date: Mon, 29 Jan 2007 08:08:33 -1000	[thread overview]
Message-ID: <45BE3821.4080803@mvista.com> (raw)
In-Reply-To: <20070128191241.GA13596@elf.ucw.cz>



Pavel Machek wrote:
> Hi!
> 
>> Fastpoweroff  allows a user to power down the system without using rc kill
>> scripts. This is used in the advent of a battery operated device about to lose
>> power.  The user interface is vis sysfs /sys/power/fastpoweroff. A simple cat of
>> the fastpoweroff will list any registered profiles.  To invoke
>> the profile sequence, echo {profile name} > /sys/power/fastpoweroff.
> 
> No, we do not want "poweroff profiles" in kernel. Sorry.
No need to be.

> 
> rc kill scripts should be fast enough, if not, fix them. If it is
> impossible (time is spent in kernel waiting for network card to shut
> off), fix that.
> 
> What you want is pretty much "echo b > ..../sysrq; halt --now".

The one draw back is that Magic sysrq needs to be enabled and it might 
not be desired in a deployed system.  "echo u " is more of what I was 
looking for.

Thanks for you time.

Armin

  reply	other threads:[~2007-01-29 18:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27 19:36 [PATCH 1/2] PM: fast power off - core akuster
2007-01-27 20:08 ` Andrew Morton
2007-01-27 22:34   ` akuster
2007-01-28 19:12 ` Pavel Machek
2007-01-29 18:08   ` akuster [this message]
     [not found] <45BBB097.1090207@mvista.com>
2007-01-28 18:09 ` Randy Dunlap
2007-01-29 17:37   ` akuster

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=45BE3821.4080803@mvista.com \
    --to=akuster@mvista.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel-owner@vger.kernel.org \
    --cc=linux-pm@lists.osdl.org \
    --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