Re: swsusp: don't eat ide disks

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Nov 07 2002 - 11:15:17 EST


Hi!
> > The bigger picture really should be
> > ACPI etc "I want to suspend to disk"
>
> Er, what?
>
> The 'I want to suspend to disk' instruction comes from the generic PM code
> too, surely? ACPI just registers a handful of methods with the generic PM
> code for actually doing stuff like entering sleep states, etc.

ACPI wants to enter S4 when user asks it to, and swsusp is the way to
do it. When machine overheats, ACPI wants to enter S4 too.

Of course there should be generic way (and it is, sys_reboot) to enter
S4 without asking acpi. echo 4 > /proc/acpi/sleep is just easier for
most people.
                                                                Pavel

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:49 EST