[ltp] R40 and ACPI with Suspend/Resume

Jordi G. March linux-thinkpad@linux-thinkpad.org
Thu, 03 Jun 2004 11:24:15 -0400


--=-kHpuzmjuIQ+XGB3CwNIP
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,

I've just tried with 2.6.6 & swsusp 2.0.0.81 + Win4Lin patches.... Works
flawlessly. The only problem seems related to MTRRs when switching back
to X, causing a big impact in performance. Hopefully this can be solved
by tuning /proc/mtrr dynamically ;-)

Regards,
Jordi

El jue, 03-06-2004 a las 11:01, +0200, Guenther Rackl escribió:

> Hello,
> 
> I made an attempt to build Kernel 2.6.6-mm5 with ACPI support on my R40.
> 
> The following questions arise:
> 
> - Suspend to RAM (echo 3 > /proc/acpi/sleep) makes the machine sleep but
> never wake up again.  How can I get my R40 to run again after
> suspending?
> 
> - Does anybody have experience with software suspend (swsusp) and the
> R40?  Does it work?  My latest test with Kernel 2.6.4 was not succesful
>  ...
> 
> - Do I have to correct the DSDT table for the R40?  If yes, where can I
> get the new table?  All I found is the original at
> http://acpi.sourceforge.net/dsdt/tables/IBM/R40/
> 
> - With debian, there are no ACPI scripts for /etc/acpi functions, just
> the power button;  how anybody written additional scripts, e.g. for lid
> open/close and the other buttons?
> 
> - Is there anything else I need to know for ACPI with the R40 and
> working Suspend/Resume functions?
> 
> Regards
> Günther
> 
> 
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

-- 
http://www.devilmaster.org

--=-kHpuzmjuIQ+XGB3CwNIP
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.1.12">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I've just tried with 2.6.6 &amp; swsusp 2.0.0.81 + Win4Lin patches.... Works flawlessly. The only problem seems related to MTRRs when switching back to X, causing a big impact in performance. Hopefully this can be solved by tuning /proc/mtrr dynamically ;-)<BR>
<BR>
Regards,<BR>
Jordi<BR>
<BR>
El jue, 03-06-2004 a las 11:01, +0200, Guenther Rackl escribi&#243;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello,</FONT>

<FONT COLOR="#000000">I made an attempt to build Kernel 2.6.6-mm5 with ACPI support on my R40.</FONT>

<FONT COLOR="#000000">The following questions arise:</FONT>

<FONT COLOR="#000000">- Suspend to RAM (echo 3 &gt; /proc/acpi/sleep) makes the machine sleep but</FONT>
<FONT COLOR="#000000">never wake up again.  How can I get my R40 to run again after</FONT>
<FONT COLOR="#000000">suspending?</FONT>

<FONT COLOR="#000000">- Does anybody have experience with software suspend (swsusp) and the</FONT>
<FONT COLOR="#000000">R40?  Does it work?  My latest test with Kernel 2.6.4 was not succesful</FONT>
<FONT COLOR="#000000"> ...</FONT>

<FONT COLOR="#000000">- Do I have to correct the DSDT table for the R40?  If yes, where can I</FONT>
<FONT COLOR="#000000">get the new table?  All I found is the original at</FONT>
<A HREF="http://acpi.sourceforge.net/dsdt/tables/IBM/R40/"><FONT COLOR="#000000">http://acpi.sourceforge.net/dsdt/tables/IBM/R40/</FONT></A>

<FONT COLOR="#000000">- With debian, there are no ACPI scripts for /etc/acpi functions, just</FONT>
<FONT COLOR="#000000">the power button;  how anybody written additional scripts, e.g. for lid</FONT>
<FONT COLOR="#000000">open/close and the other buttons?</FONT>

<FONT COLOR="#000000">- Is there anything else I need to know for ACPI with the R40 and</FONT>
<FONT COLOR="#000000">working Suspend/Resume functions?</FONT>

<FONT COLOR="#000000">Regards</FONT>
<FONT COLOR="#000000">G&#252;nther</FONT>


<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">The linux-thinkpad mailing list home page is at:</FONT>
<A HREF="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad"><FONT COLOR="#000000">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</FONT></A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
<A HREF="http://www.devilmaster.org">http://www.devilmaster.org</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-kHpuzmjuIQ+XGB3CwNIP--