[linux-pm] [PATCH 1/2] PM: fast power off - core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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".

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux