[ltp] Re: x20 questions

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Sun, 31 Jul 2005 15:12:35 +0100 (BST)


On Sun, 31 Jul 2005, Rolf Leggewie wrote:

> Charles E. "Rick" Taylor, IV wrote:
>
>> Me, I'd just use suspend-to-disk (which works under Linux if you use
>> APM) or software suspend (if you use ACPI).
>
> Forgive my ignorance, but how does this work (or better: how do I set it up)? 
> I find the power management functions on Linux to be rather intransparent. 
> An URL or RTFM is fine.

For ACPI suspend-to-disk:

http://www.suspend2.net/

This includes currently patching the kernel, but the webpages
describe well and clearly what to do.  Discussions about merging
suspend2 (a.k.a. swsusp2) are now well underway on the kernel list.

If you happen to use Fedora, Mathias Hensler produces good kernel
RPMs, and keeps well up to date:

http://mhensler.de/swsusp/download_en.php

as do some others.  I use Mathias's because he retains all Fedora
patches, which makes things less complicated when looking for support.
I'm sure other distros have similar maintainers to make things easy.

Bear in mind suspend2 *is* still in progress - recently there have
been some fs corruption issues - see the suspend2-users list.  I've
never lost a bit of data, but spent some time exploring and
recovering filesystems.  It's a glitch - before this, I've been using
suspend2 problem-free for more than a year.