[ltp] How can i suspend to ram?

Michael Gaber linux-thinkpad@linux-thinkpad.org
Sat, 05 May 2007 09:03:51 +0200


This is a cryptographically signed message in MIME format.

--------------ms070906000506070305070309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

hmm, emerge suspend2-sources (or the thinkpad-sources which were posted 
on this list) select suspend2 in the kernel
use kernel-param acpi_sleep=s3_bios
if you want to use fn+f4 to let it sleep you'll propably have to load 
ibm-acpi and check for the right event and enter this into 
/etc/acpi/default.sh)
then you can either press fn+f4 or enter hibernate-ram

venture Lee schrieb:
> hi all
> i need suspend my gentoo to ram, my kernel version is 2.6.20
> how can i write the sleep script ?
> 
> tks all

--------------ms070906000506070305070309
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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ8DCC
BPQwggLcoAMCAQICAwJk/zANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNjA2
MjQxMzEwNTBaFw0wNzA2MjQxMzEwNTBaMD4xFjAUBgNVBAMTDU1pY2hhZWwgR2FiZXIxJDAi
BgkqhkiG9w0BCQEWFU1pY2hhZWwuR2FiZXJAZ214Lm5ldDCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBANlvNCEKkhAhmwIpzXamq89nexUPZxbvGR05bN8NlABb/ZkrsUzq56ni
E4uA61Uuwz3stsXXPN5SOV+oJABDWgvgUsk4fZavEMbP7Kk5iJpZf+ZYDc+z+cYEgxLcQ/v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