[ltp] acpi and sleep/suspend
Jan Girlich
linux-thinkpad@linux-thinkpad.org
Sun, 05 Jun 2005 16:52:18 +0200
This is a cryptographically signed message in MIME format.
--------------ms010606090607020201030602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
slack _usr schrieb:
> Hello everyone,
>=20
> I have IBM Tinkkpad R51, and I'd like to ask - what is the best
> solution (software) for suspending to ram or hdd? I've read about
I use the suspend-to-disk-stuff from kernel >=3D2.6.8 with no problems.
as root:
cd /usr/src/linux
make menuconfig
Power management options (ACPI, APM) --->
[*] Power Management support
[*] Software Suspend (EXPERIMENTAL)
(/dev/hda2) Default resume partition (NEW)
Where /dev/hda2 should be your swap-partition.
Now you can do suspend to disk with
echo -n "disk" > /sys/power/state
At reboot the old state should be loaded automatically.
Have a look at the kernel-docs under /usr/src/linux/Documentation/power/
Bye
Jan
--=20
Diese Mail ist gem=E4=DF dem Standard X.509 signiert. Bei Problemen bitte=
=20
dieses Stammzertifikat installieren:
http://www.trustcenter.de/certservices/cacerts/tcclass1-2011.der
--------------ms010606090607020201030602
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHsDCC
A9QwggM9oAMCAQICDnSBAAAAAhd7tGq12El6MA0GCSqGSIb3DQEBBAUAMIG8MQswCQYDVQQG
EwJERTEQMA4GA1UECBMHSGFtYnVyZzEQMA4GA1UEBxMHSGFtYnVyZzE6MDgGA1UEChMxVEMg
VHJ1c3RDZW50ZXIgZm9yIFNlY3VyaXR5IGluIERhdGEgTmV0d29ya3MgR21iSDEiMCAGA1UE
CxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBDQTEpMCcGCSqGSIb3DQEJARYaY2VydGlmaWNh
dGVAdHJ1c3RjZW50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