<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I've been investigating why suspend to RAM stopped working somewhere
between FC6 and the F7 test releases on my Thinkpad X41 (non-tablet),
which has an i915 for video. The answer so far has been a combination
of kernel, pm-utils and hal issues, and while I'm close-ish to having
it work again, I did notice something weird in hal. Back in the FC5/6
days, I used ThinkWiki's page [0] to help me fix a problem I had with
the display not turning back off on resume from RAM. A note on that
page says:<br>
<br>
    "
On <a href="http://www.thinkwiki.org/wiki/Category:X40"
 title="Category:X40">X40s</a>/<a
 href="http://www.thinkwiki.org/wiki/Category:X41" title="Category:X41">X41s</a>
- even with Intel Extreme Graphics - and for <a
 href="http://www.thinkwiki.org/wiki/Category:R52" title="Category:R52">R52s</a>
with Intel Graphics Media Accelerator 900 the <a
 href="http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume#Solution_for_ThinkPads_with_ATI_graphic_chips"
 title="Problem with display remaining black after resume">solution for
ATI graphics chips</a> above is reported to work. In this case, make
sure no changes to VBE are made, especially no state saves and no
reposts."<br>
<br>
The solution for ATI chips they recommended was the s3_bios quirk. Only
the IBM quirks file [1] lists the quirks for my laptop (2525) as
vbe_post and vbestate_restore. I don't know if there are somehow other
2525s that need those quirks and not s3_bios, but I do know the current
fdi file is broken for mine.<br>
<span class="line"><br>
>From [2]:<br>
  516     // X41<br>
  517     { "IBM",            "1864*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },<br>
  518     { "IBM",            "1865*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },<br>
  519     { "IBM",            "2525*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },<br>
  520     { "IBM",            "2526*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },<br>
  521     { "IBM",            "2527*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },<br>
  522     { "IBM",            "2528*",        "",    "",
VBE_POST|VBE_SAVE|UNSURE },</span><br>
<span class="sym">I'm guessing this is where hal's information comes
from, but the lack of a confirmation note in that file, together with
the 'UNSURE' note suggests to me that maybe we can change this safely.
In fact, a *lot* of the entries in that file are 'UNSURE', and also
coincidentally list the VBE_POST and VBE_SAVE quirks. I wonder if those
are wrong, too.<br>
</span><br>
As an aside, something's wrong with this picture (from [1]):<br>
  25       &lt;!-- T42p --&gt;<br>
  26       &lt;match key="smbios.system.product" prefix="2371"&gt;<br>
  27         &lt;match key="smbios.system.version" string="ThinkPad
X40"&gt;<br>
  28           &lt;merge key="power_management.quirk.s3_bios"
type="bool"&gt;true&lt;/merge&gt;<br>
  29           &lt;merge key="power_management.quirk.s3_mode"
type="bool"&gt;true&lt;/merge&gt;<br>
  30         &lt;/match&gt;<br>
  31       &lt;/match&gt;<br>
<br>
Which model is that again? ;)<br>
<br>
Zack<br>
<br>
[0]
<a class="moz-txt-link-freetext" href="http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume#Solution_for_ThinkPads_with_ATI_graphic_chips_and_Intel_915.2F945GM">http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume#Solution_for_ThinkPads_with_ATI_graphic_chips_and_Intel_915.2F945GM</a><br>
[1]
<a class="moz-txt-link-freetext" href="http://gitweb.freedesktop.org/?p=hal-info.git;a=blob;hb=HEAD;f=fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi">http://gitweb.freedesktop.org/?p=hal-info.git;a=blob;hb=HEAD;f=fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi</a><br>
[2]
<a class="moz-txt-link-freetext" href="http://suspend.cvs.sourceforge.net/suspend/suspend/whitelist.c?view=markup">http://suspend.cvs.sourceforge.net/suspend/suspend/whitelist.c?view=markup</a><br>
</body>
</html>