[ltp] How can i suspend to ram?

Michael Gaber linux-thinkpad@linux-thinkpad.org
Thu, 10 May 2007 08:23:44 +0200


This is a cryptographically signed message in MIME format.

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

which lib do you use for your fingerprint reader? the OSS one or 
theproprietary?

venture Lee schrieb:
> my problem had resolved, add a kernel parameter ec_intr=0, but another 
> problem, when i hibernate to swap, after resume, the Fingerprint Reader 
> <http://www.thinkwiki.org/wiki/Integrated_Fingerprint_Reader> is not 
> working for me.
> 
> On 5/5/07, *Michael Gaber* <Michael.Gaber@gmx.net 
> <mailto:Michael.Gaber@gmx.net>> wrote:
> 
>     is there a intel-console-fb-driver? if there is i would try that, else:
>     sry can't help you with that one
> 
>     venture Lee schrieb:
>      > my video card is Intel 950GMA, Driver is i810,  i can't use
>      > vesafb-tng,  it  not  working for me
>      >
>      > On 5/5/07, *Michael Gaber* < Michael.Gaber@gmx.net
>     <mailto:Michael.Gaber@gmx.net>
>      > <mailto:Michael.Gaber@gmx.net <mailto:Michael.Gaber@gmx.net>>> wrote:
>      >
>      >
>      >
>      >     venture Lee schrieb:
>      >      > tks you, when i enter hibernate-ram, it suspend
>     successful, and
>      >     normal
>      >      > wake up, but if in console environment, not X window, the
>     screen is
>      >      > confusion, why?
>      >     perhaps the console fb-driver messes up, try reset or
>     switching the
>      >     consoles or changing between vesafb/vesafb-tng/radeonfb
>      >
>      >      > how i suspend when i press fn+f4?
>      >     in /etc/acpi/default.sh you can define the reactions to various
>      >     acpi-events. you'll have to check what acpi-event pressing
>     fn+f4 gives
>      >     you and enter this event to the file
>      >
>      >     i execute hibernate-ram as root, how i
>      >      > execute it as normal user?
>      >
>      >     very simple: you can't, except with pressing fn+f4, because
>     acpid runs
>      >     as root
>      >
>      >      >
>      >      > On 5/5/07, *Michael Gaber* < Michael.Gaber@gmx.net
>     <mailto:Michael.Gaber@gmx.net>
>      >     <mailto: Michael.Gaber@gmx.net <mailto:Michael.Gaber@gmx.net>>
>      >      > <mailto:Michael.Gaber@gmx.net
>     <mailto:Michael.Gaber@gmx.net> <mailto:Michael.Gaber@gmx.net
>     <mailto:Michael.Gaber@gmx.net>>>> wrote:
>      >      >
>      >      >     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
>      >      >
>      >      >
>      >
>      >
> 
> 

--------------ms020802080101020704030705
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
ggEPADCCAQoCggEBANlvNCEKkhAhmwIpzXamq89n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