[ltp] How can i suspend to ram?
venture Lee
linux-thinkpad@linux-thinkpad.org
Thu, 10 May 2007 09:49:44 +0800
------=_Part_137662_12049850.1178761784972
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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> 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>> 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>>>
> 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
> > >
> > >
> >
> >
>
>
------=_Part_137662_12049850.1178761784972
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
my problem had resolved, add a kernel parameter ec_intr=0, but another problem, when i hibernate to swap, after resume, the <a href="http://www.thinkwiki.org/wiki/Integrated_Fingerprint_Reader" title="Integrated Fingerprint Reader">
Fingerprint Reader</a> is not working for me.<br><br><div><span class="gmail_quote">On 5/5/07, <b class="gmail_sendername">Michael Gaber</b> <<a href="mailto:Michael.Gaber@gmx.net">Michael.Gaber@gmx.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">is there a intel-console-fb-driver? if there is i would try that, else:<br>sry can't help you with that one
<br><br>venture Lee schrieb:<br>> my video card is Intel 950GMA, Driver is i810, i can't use<br>> vesafb-tng, it not working for me<br>><br>> On 5/5/07, *Michael Gaber* < <a href="mailto:Michael.Gaber@gmx.net">
Michael.Gaber@gmx.net</a><br>> <mailto:<a href="mailto:Michael.Gaber@gmx.net">Michael.Gaber@gmx.net</a>>> wrote:<br>><br>><br>><br>> venture Lee schrieb:<br>> > tks you, when i enter hibernate-ram, it suspend successful, and
<br>> normal<br>> > wake up, but if in console environment, not X window, the screen is<br>> > confusion, why?<br>> perhaps the console fb-driver messes up, try reset or switching the<br>
> consoles or changing between vesafb/vesafb-tng/radeonfb<br>><br>> > how i suspend when i press fn+f4?<br>> in /etc/acpi/default.sh you can define the reactions to various<br>> acpi-events. you'll have to check what acpi-event pressing fn+f4 gives
<br>> you and enter this event to the file<br>><br>> i execute hibernate-ram as root, how i<br>> > execute it as normal user?<br>><br>> very simple: you can't, except with pressing fn+f4, because acpid runs
<br>> as root<br>><br>> ><br>> > On 5/5/07, *Michael Gaber* < <a href="mailto:Michael.Gaber@gmx.net">Michael.Gaber@gmx.net</a><br>> <mailto:<a href="mailto:Michael.Gaber@gmx.net">
Michael.Gaber@gmx.net</a>><br>> > <mailto:<a href="mailto:Michael.Gaber@gmx.net">Michael.Gaber@gmx.net</a> <mailto:<a href="mailto:Michael.Gaber@gmx.net">Michael.Gaber@gmx.net</a>>>> wrote:<br>
> ><br>> > hmm, emerge suspend2-sources (or the thinkpad-sources which<br>> were posted<br>> > on this list) select suspend2 in the kernel<br>> > use kernel-param acpi_sleep=s3_bios
<br>> > if you want to use fn+f4 to let it sleep you'll propably have<br>> to load<br>> > ibm-acpi and check for the right event and enter this into<br>> > /etc/acpi/default.sh)
<br>> > then you can either press fn+f4 or enter hibernate-ram<br>> ><br>> > venture Lee schrieb:<br>> > > hi all<br>> > > i need suspend my gentoo to ram, my kernel version is
2.6.20<br>> > > how can i write the sleep script ?<br>> > ><br>> > > tks all<br>> ><br>> ><br>><br>><br><br></blockquote></div><br>
------=_Part_137662_12049850.1178761784972--