<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johnh</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johnh"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Johnh"/>
	<updated>2026-05-13T21:47:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=36818</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=36818"/>
		<updated>2008-03-04T16:43:13Z</updated>

		<summary type="html">&lt;p&gt;Johnh: fedora 8 fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}, {{R60}}, {{R61}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}, {{Z61e}}&lt;br /&gt;
*ThinkPad {{X60s}}, {{X60}}, {{X61s}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Quick workaround for R61i, T23, maybe others===&lt;br /&gt;
Try pressing CTRL+ALT+F1 to switch to text console. The backlight should come on normally. Press CTRL+ALT+F7 to return to X.&lt;br /&gt;
&lt;br /&gt;
On a T23 using Ubuntu Feisty, pressing Fn+F7 (external/internal display change) once or twice brought the display back.  After upgrading to Ubuntu Gutsy it doesn't work anymore, but pressing Fn+F3 (blank screen) and Fn (restore display) works.&lt;br /&gt;
&lt;br /&gt;
===Quick Workaround for R61 (at least 8918-5QG) using NVidia===&lt;br /&gt;
&lt;br /&gt;
Use Vesa driver instead of the proprietary NVidia driver. &lt;br /&gt;
&lt;br /&gt;
=== Solution for ThinkPad Z60t ===&lt;br /&gt;
&lt;br /&gt;
* '''Display controller:''' Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)&lt;br /&gt;
* '''Distro:''' Fedora release 7 (Moonshine)&lt;br /&gt;
* '''Kernel:''' Linux 2.6.22.5-76.fc7&lt;br /&gt;
&lt;br /&gt;
The solution is straight forward - just to add configuration parameter for the default '''pm-utils''' package. Create file &amp;lt;code&amp;gt;/etc/pm/config.d/config&amp;lt;/code&amp;gt; and put there one line &amp;lt;code&amp;gt;DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;, or execute following command:&lt;br /&gt;
&lt;br /&gt;
 echo DISPLAY_QUIRK_S3_BIOS=\&amp;quot;true\&amp;quot; &amp;gt;&amp;gt; /etc/pm/config.d/config&lt;br /&gt;
&lt;br /&gt;
===Semi-Solution for ThinkPad X60 with damaged system after s2ram usage===&lt;br /&gt;
It happend when restarting a s2ram-session.&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' Black screen with blinking &amp;quot;_&amp;quot; sign remaind. (without the &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
'''System status:''' HDD idle, fan running, everything else looks to wait for something to happen.&lt;br /&gt;
&lt;br /&gt;
'''Semi-Solution:''' Booting with DVD-ROM and going through the installations menu,&lt;br /&gt;
where you choose &amp;quot;other&amp;quot; and &amp;quot;boot a installed system&amp;quot; (something like that). Gladly it works,&lt;br /&gt;
and OpenSuSE 10.1 comes up with 50% &amp;quot;failed&amp;quot; messages! I than shutdown properly, rebooted again&lt;br /&gt;
and had 100% &amp;quot;done&amp;quot; again, with no other things affected.&lt;br /&gt;
&lt;br /&gt;
'''Further:''' Repairing with the DVD-ROM crashed massivly(!), so I selected &amp;quot;boot a installed system&amp;quot; as final&lt;br /&gt;
solution and it worked!&lt;br /&gt;
&lt;br /&gt;
'''Unknown:''' Maybe the Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM will help,&lt;br /&gt;
because X60s and X60 are very familiar. (Not tested so far.)&lt;br /&gt;
&lt;br /&gt;
(If this Problem is not right here, please edit and move.)&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}, {{R60}} and {{T60}}.&lt;br /&gt;
&lt;br /&gt;
This soluton also applies to T42 with Intel 855 and ATI 9600 M10.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves. Also commenting POST_VIDEO may help. &lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On '''T60 2007-CTO''' (Core2Duo 2Ghz, 2GB Ram, ATI X1400) the screen stayed blank after suspend-to-ram until I set '''vga=0''' in lilo.conf.&lt;br /&gt;
&lt;br /&gt;
Working config:&lt;br /&gt;
 Linux 2.6.21.5&lt;br /&gt;
 fglrx 8.37.6&lt;br /&gt;
 debian etch:&lt;br /&gt;
  powersaved 0.14.0-5:&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2DISK=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2RAM=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;   &lt;br /&gt;
  hibernate:&lt;br /&gt;
   SwitchToTextMode yes&lt;br /&gt;
  lilo.conf:&lt;br /&gt;
   vga=0&lt;br /&gt;
&lt;br /&gt;
&amp;quot;EnableVbetool yes&amp;quot; and other suggestions didn't work for me.&lt;br /&gt;
&lt;br /&gt;
For suspend-to-disk, don't load fglrx in initrd.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For Debian Etch 4.0 on R50e just make following changes to /etc/default/acpi-support:&lt;br /&gt;
 #SAVE_VBE_STATE=true&lt;br /&gt;
 #VBESTATE=/var/lib/acpi-support/vbestate&lt;br /&gt;
 #POST_VIDEO=true&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 6.10 on a [[:Category:R51|R51 (2887-32G)]] I ''just'' (as none of the other tricks above) had to add {{bootparm|fb|false}} to the kernel line in {{path|/etc/grub/menu.lst}} and edit {{path|/etc/defaults/acpi-support}} this way:&lt;br /&gt;
&lt;br /&gt;
 SAVE_VBE_STATE=false&lt;br /&gt;
 POST_VIDEO=false&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
 USE_DPMS=false&lt;br /&gt;
 DOUBLE_CONSOLE_SWITCH=false&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Solution using s2ram for Intel 915/945GM===&lt;br /&gt;
&lt;br /&gt;
Just using the &amp;quot;s2ram -f -p&amp;quot; command from the uswsusp package will work from within X, at least on a {{Z61e}}. On {{X60s}} it is enough to issue the &amp;quot;s2ram&amp;quot; command and it works.&lt;br /&gt;
&lt;br /&gt;
===Solution using DOUBLE_CONSOLE_SWITCH===&lt;br /&gt;
&lt;br /&gt;
By setting the following in {{path|/etc/default/acpi-support}} the display comes back on {{X61s}} using Intel chipset:&lt;br /&gt;
&lt;br /&gt;
     DOUBLE_CONSOLE_SWITCH=true&lt;br /&gt;
&lt;br /&gt;
Fedora 8 doesn't have DOUBLE_CONSOLE_SWITCH, but it works when one does:  First, add option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot; to /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;intel&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VBERestore&amp;quot;  &amp;quot;true&amp;quot; &lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
Then suspends with&lt;br /&gt;
&lt;br /&gt;
    pm-suspend --quirk-vbemode-restore --quirk-s3-bios&lt;/div&gt;</summary>
		<author><name>Johnh</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_display_remaining_black_after_resume&amp;diff=26461</id>
		<title>Talk:Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_display_remaining_black_after_resume&amp;diff=26461"/>
		<updated>2006-11-17T04:42:54Z</updated>

		<summary type="html">&lt;p&gt;Johnh: /* Work-arounds for X60s / Intel 950 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== T43 with Intel Graphics Media Accelerator ==&lt;br /&gt;
&lt;br /&gt;
It seems there are several possible solutions for this issue: &lt;br /&gt;
&lt;br /&gt;
I tried 'Option &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;' as hinted in X41 section below, and this worked for me on my T43/915GM.&lt;br /&gt;
&lt;br /&gt;
My T43 (1871-FYG) with Intel 915GM is also affected by the problem and the 'ATI' sollution with&lt;br /&gt;
acpi_sleep=s3_bios works. Please consider updating the page (I don't dare to do it myself).&lt;br /&gt;
&lt;br /&gt;
== From my experience, this does not work with TP R50e. ==&lt;br /&gt;
&lt;br /&gt;
If you want to be able to resume, you need :&lt;br /&gt;
* To start from a VT&lt;br /&gt;
* No option acpi_sleep&lt;br /&gt;
* to save the PCI state like:&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /var/cache/video.config&lt;br /&gt;
* Once you get back, restore it:&lt;br /&gt;
 cat /var/cache/video.config &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
&lt;br /&gt;
However, the X screen is not clean after the restore, so this is not very useable...&lt;br /&gt;
&lt;br /&gt;
== The comment on R50e ==&lt;br /&gt;
&lt;br /&gt;
There is a comment at the end of the page on R50e, saying that you should switch to console first, and look at a page to learn how to do this.&lt;br /&gt;
&lt;br /&gt;
However. it seems to me that the given script already does it. Should the comment be removed?&lt;br /&gt;
----&lt;br /&gt;
The scripts are different. However, if you can approve that the solution provided on this page resolves the problem, please remove the footnote.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 14:46, 17 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
On my R50e, the script on this page works fine, while the one linked in the footnote quickly wakes up from sleep.&lt;br /&gt;
&lt;br /&gt;
[[User:Thisnukes4u|Thisnukes4u]] 19:39, 1 Jan 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Problems with R51 and Intel Graphics ==&lt;br /&gt;
&lt;br /&gt;
The problems described on the page occur intermittently&lt;br /&gt;
with an Intel Graphics card on an R51. Here is what happens:&lt;br /&gt;
&lt;br /&gt;
1. One some occassions everything seems to work fine.&lt;br /&gt;
&lt;br /&gt;
2. On other occassions the screen looks OK but the some plane seems to have vanished. New text on the screen overwrites instead of replaces prior text. The &amp;quot;standard&amp;quot; pattern disappears from the X background.&lt;br /&gt;
&lt;br /&gt;
3. On yet other occassions the X server dies and comes out &amp;quot;blank&amp;quot; in the mode (2) above.&lt;br /&gt;
&lt;br /&gt;
4. The above problems appear only with the &amp;quot;i810&amp;quot; driver. The &amp;quot;vesa&amp;quot; driver works fine. Moreover, if the machine is &amp;quot;suspend-to-disk&amp;quot;ed then the problem disappears on resumption once the X server is killed and re-started.&lt;br /&gt;
&lt;br /&gt;
But for 1 and 4 above I would have given up and either avoided suspend to ram altogether or used vesa mode---as it stands the problem is tantalising.&lt;br /&gt;
&lt;br /&gt;
Kapil kapil at imsc dot res dot in&lt;br /&gt;
&lt;br /&gt;
== X40 with an Intel 855GM Integrated Graphics Device ==&lt;br /&gt;
&lt;br /&gt;
I used the {{bootparm|acpi_sleep|s3_bios}} boot parameter and the following ACPI script:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 vt=`fgconsole`&lt;br /&gt;
 chvt 12&lt;br /&gt;
 echo mem &amp;gt;/sys/power/state&lt;br /&gt;
 vbetool post&lt;br /&gt;
 chvt $vt&lt;br /&gt;
&lt;br /&gt;
The {{bootparm|acpi_sleep|s3_bios}} boot parameter alone did not fix things, and neither did saving and restoring the information from {{path|/proc/bus/pci/00/02.0}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== X41 with an Intel 915GM Integrated Graphics Device ==&lt;br /&gt;
&lt;br /&gt;
It works with the {{bootparm|acpi_sleep|s3_bios,s3_mode}} boot parameter. Resume works great, both on the VESA console and in X.&lt;br /&gt;
&lt;br /&gt;
:Interesting--that didn't work for me.  I needed to do several things to get it to work.  First, I used s3_bios, but not s3_mode.  Secondly, I had to edit resume_video() in /etc/pm/functions-intel to comment out the VBE post and restore.  Those two changes made it functional, but the improper lid state in the HAL daemon caused it to go back to sleep just as soon as it resumed upon the lid opening, so I added a HAL restart to the front end of /etc/acpi/actions/sleep.sh.  This means that I have to restart gnome-power-manager, too.  I haven't yet figured out a way to do that in sleep.sh; currently I do it manually.  I'll post this to the main page soon, unless I hear comments to the contrary. [[User:BrianTung|BrianTung]] 19:52, 30 April 2006 (CEST) (fixed a little)&lt;br /&gt;
&lt;br /&gt;
:(gsaito): I used the {{bootparm|acpi_sleep|s3_bios,s3_mode}} boot parameter and it worked perfectly, entering Suspend to RAM and resuming perfectly. No more blank screens after resuming. No need for any other change as described above, at least in my case. I also have an X41 with Intel 915GM graphics adapter. I use OpenSUSE v.10.0.&lt;br /&gt;
&lt;br /&gt;
I read the edit by Uberpenguin and tried the stated fix.  No go: The next time I pulled out the adapter after a resume--boom, the machine goes straight back to sleep again.  Evidently, the suggested workaround does not work on all machines. [[User:BrianTung|BrianTung]] 19:54, 22 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yesterday I tried adding 'Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;' to the Driver section in xorg.conf on my X41 and it works great. I used no boot-params or anything else. The distribution is OpenSuSE 10.1. If anyone can acknowledge to my experience, I'd like to add this solution to the articles in this wiki. [[User:Sirmoloch|Sirmoloch]] 11:49, 4 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Z60t with an Intel 915GM Integrated Graphics Device (PCI Express) ==&lt;br /&gt;
&lt;br /&gt;
It works with the {{bootparm|acpi_sleep|s3_bios}} boot parameter.  Here is the script I use (gentoo).  Note: stopping and starting WiFi is not necessary to resume, but it is dead on resume until restarted and the module is reloaded.  This is on a 2.6.15.4 kernel with framebuffer console support.  The blinking led thing is a nice touch I got from the hibernate-scripts package - it blinks the sleep led (moon icon) until the sleep or resume cycle is finished.&lt;br /&gt;
&lt;br /&gt;
The 'vbetool vbemode get/set' commands are for saving and restoring the console text mode - otherwise the screen becomes garbled.&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  &lt;br /&gt;
  # blink sleep led (if ibm_acpi is installed)&lt;br /&gt;
  echo 7 blink &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
  &lt;br /&gt;
  # change to console 10 (unused?)&lt;br /&gt;
  FGCONSOLE=`fgconsole`&lt;br /&gt;
  chvt 10&lt;br /&gt;
  &lt;br /&gt;
  # save video state&lt;br /&gt;
  VBEMODE=`vbetool vbemode get`&lt;br /&gt;
  cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
  &lt;br /&gt;
  # sync filesystem&lt;br /&gt;
  sync&lt;br /&gt;
  &lt;br /&gt;
  # sync hardware clock with system time&lt;br /&gt;
  hwclock --systohc&lt;br /&gt;
  &lt;br /&gt;
  # stop networking (atheros chipset)&lt;br /&gt;
  /etc/init.d/net.ath0 stop&lt;br /&gt;
  rmmod ath_pci&lt;br /&gt;
  &lt;br /&gt;
  # go to sleep&lt;br /&gt;
  sleep 2 ; echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
  &lt;br /&gt;
  # blink sleep led&lt;br /&gt;
  echo 7 blink &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
  &lt;br /&gt;
  # restore system clock&lt;br /&gt;
  hwclock --hctosys&lt;br /&gt;
  &lt;br /&gt;
  # restore video state&lt;br /&gt;
  vbetool vbemode set $VBEMODE&lt;br /&gt;
  cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
  &lt;br /&gt;
  # change back to X&lt;br /&gt;
  chvt $FGCONSOLE&lt;br /&gt;
  &lt;br /&gt;
  # restart networking&lt;br /&gt;
  modprobe ath_pci&lt;br /&gt;
  /etc/init.d/net.ath0 start&lt;br /&gt;
  &lt;br /&gt;
  # clean up behind us&lt;br /&gt;
  rm /tmp/video_state&lt;br /&gt;
  echo 7 off &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Fedora Core 5 ==&lt;br /&gt;
&lt;br /&gt;
The vbetool on the article page worked great for me, but NetworkManager would not bring the wireless interface back up.  I had to add &amp;quot;ath_pci&amp;quot; to the SUSPEND_MODULES variable in /etc/sysconfig/pm.&lt;br /&gt;
&lt;br /&gt;
== R50e 1834-S3G in Debian Etch ==&lt;br /&gt;
&lt;br /&gt;
I found it necessary to add a {{cmdroot|clear}} to the script before {{cmdroot|chvt}} 'ing back to VT7 after wakeup. If I didn't, I would end up with a 99% black corrupted screen in X. &lt;br /&gt;
[[User:Ris|Ris]] 18:38, 30 October 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Work-arounds for X60s / Intel 950 ==&lt;br /&gt;
&lt;br /&gt;
The page identifies X60s's as having problems with blank display on resume (and I can confirm), but doesn't suggest a work-around.  (Nor are there any obvious fixes for this boxes Intel 950 graphics card.)  Has anyone gotten it working?  [[User:Johnh|Johnh]] 06:47, 16 November 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
My error, the chip is really an Intel 945, and the suggested work-around of acpi_sleep=s3_bios works great! [[User:Johnh|Johnh]] 05:42, 17 November 2006 (CET)&lt;/div&gt;</summary>
		<author><name>Johnh</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=26457</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=26457"/>
		<updated>2006-11-16T18:00:01Z</updated>

		<summary type="html">&lt;p&gt;Johnh: clarify x60s work-around and fc6&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves.&lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Johnh</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_display_remaining_black_after_resume&amp;diff=26446</id>
		<title>Talk:Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_display_remaining_black_after_resume&amp;diff=26446"/>
		<updated>2006-11-16T05:47:30Z</updated>

		<summary type="html">&lt;p&gt;Johnh: /* R50e 1834-S3G in Debian Etch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== T43 with Intel Graphics Media Accelerator ==&lt;br /&gt;
&lt;br /&gt;
It seems there are several possible solutions for this issue: &lt;br /&gt;
&lt;br /&gt;
I tried 'Option &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;' as hinted in X41 section below, and this worked for me on my T43/915GM.&lt;br /&gt;
&lt;br /&gt;
My T43 (1871-FYG) with Intel 915GM is also affected by the problem and the 'ATI' sollution with&lt;br /&gt;
acpi_sleep=s3_bios works. Please consider updating the page (I don't dare to do it myself).&lt;br /&gt;
&lt;br /&gt;
== From my experience, this does not work with TP R50e. ==&lt;br /&gt;
&lt;br /&gt;
If you want to be able to resume, you need :&lt;br /&gt;
* To start from a VT&lt;br /&gt;
* No option acpi_sleep&lt;br /&gt;
* to save the PCI state like:&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /var/cache/video.config&lt;br /&gt;
* Once you get back, restore it:&lt;br /&gt;
 cat /var/cache/video.config &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
&lt;br /&gt;
However, the X screen is not clean after the restore, so this is not very useable...&lt;br /&gt;
&lt;br /&gt;
== The comment on R50e ==&lt;br /&gt;
&lt;br /&gt;
There is a comment at the end of the page on R50e, saying that you should switch to console first, and look at a page to learn how to do this.&lt;br /&gt;
&lt;br /&gt;
However. it seems to me that the given script already does it. Should the comment be removed?&lt;br /&gt;
----&lt;br /&gt;
The scripts are different. However, if you can approve that the solution provided on this page resolves the problem, please remove the footnote.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 14:46, 17 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
On my R50e, the script on this page works fine, while the one linked in the footnote quickly wakes up from sleep.&lt;br /&gt;
&lt;br /&gt;
[[User:Thisnukes4u|Thisnukes4u]] 19:39, 1 Jan 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Problems with R51 and Intel Graphics ==&lt;br /&gt;
&lt;br /&gt;
The problems described on the page occur intermittently&lt;br /&gt;
with an Intel Graphics card on an R51. Here is what happens:&lt;br /&gt;
&lt;br /&gt;
1. One some occassions everything seems to work fine.&lt;br /&gt;
&lt;br /&gt;
2. On other occassions the screen looks OK but the some plane seems to have vanished. New text on the screen overwrites instead of replaces prior text. The &amp;quot;standard&amp;quot; pattern disappears from the X background.&lt;br /&gt;
&lt;br /&gt;
3. On yet other occassions the X server dies and comes out &amp;quot;blank&amp;quot; in the mode (2) above.&lt;br /&gt;
&lt;br /&gt;
4. The above problems appear only with the &amp;quot;i810&amp;quot; driver. The &amp;quot;vesa&amp;quot; driver works fine. Moreover, if the machine is &amp;quot;suspend-to-disk&amp;quot;ed then the problem disappears on resumption once the X server is killed and re-started.&lt;br /&gt;
&lt;br /&gt;
But for 1 and 4 above I would have given up and either avoided suspend to ram altogether or used vesa mode---as it stands the problem is tantalising.&lt;br /&gt;
&lt;br /&gt;
Kapil kapil at imsc dot res dot in&lt;br /&gt;
&lt;br /&gt;
== X40 with an Intel 855GM Integrated Graphics Device ==&lt;br /&gt;
&lt;br /&gt;
I used the {{bootparm|acpi_sleep|s3_bios}} boot parameter and the following ACPI script:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 vt=`fgconsole`&lt;br /&gt;
 chvt 12&lt;br /&gt;
 echo mem &amp;gt;/sys/power/state&lt;br /&gt;
 vbetool post&lt;br /&gt;
 chvt $vt&lt;br /&gt;
&lt;br /&gt;
The {{bootparm|acpi_sleep|s3_bios}} boot parameter alone did not fix things, and neither did saving and restoring the information from {{path|/proc/bus/pci/00/02.0}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== X41 with an Intel 915GM Integrated Graphics Device ==&lt;br /&gt;
&lt;br /&gt;
It works with the {{bootparm|acpi_sleep|s3_bios,s3_mode}} boot parameter. Resume works great, both on the VESA console and in X.&lt;br /&gt;
&lt;br /&gt;
:Interesting--that didn't work for me.  I needed to do several things to get it to work.  First, I used s3_bios, but not s3_mode.  Secondly, I had to edit resume_video() in /etc/pm/functions-intel to comment out the VBE post and restore.  Those two changes made it functional, but the improper lid state in the HAL daemon caused it to go back to sleep just as soon as it resumed upon the lid opening, so I added a HAL restart to the front end of /etc/acpi/actions/sleep.sh.  This means that I have to restart gnome-power-manager, too.  I haven't yet figured out a way to do that in sleep.sh; currently I do it manually.  I'll post this to the main page soon, unless I hear comments to the contrary. [[User:BrianTung|BrianTung]] 19:52, 30 April 2006 (CEST) (fixed a little)&lt;br /&gt;
&lt;br /&gt;
:(gsaito): I used the {{bootparm|acpi_sleep|s3_bios,s3_mode}} boot parameter and it worked perfectly, entering Suspend to RAM and resuming perfectly. No more blank screens after resuming. No need for any other change as described above, at least in my case. I also have an X41 with Intel 915GM graphics adapter. I use OpenSUSE v.10.0.&lt;br /&gt;
&lt;br /&gt;
I read the edit by Uberpenguin and tried the stated fix.  No go: The next time I pulled out the adapter after a resume--boom, the machine goes straight back to sleep again.  Evidently, the suggested workaround does not work on all machines. [[User:BrianTung|BrianTung]] 19:54, 22 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yesterday I tried adding 'Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;' to the Driver section in xorg.conf on my X41 and it works great. I used no boot-params or anything else. The distribution is OpenSuSE 10.1. If anyone can acknowledge to my experience, I'd like to add this solution to the articles in this wiki. [[User:Sirmoloch|Sirmoloch]] 11:49, 4 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Z60t with an Intel 915GM Integrated Graphics Device (PCI Express) ==&lt;br /&gt;
&lt;br /&gt;
It works with the {{bootparm|acpi_sleep|s3_bios}} boot parameter.  Here is the script I use (gentoo).  Note: stopping and starting WiFi is not necessary to resume, but it is dead on resume until restarted and the module is reloaded.  This is on a 2.6.15.4 kernel with framebuffer console support.  The blinking led thing is a nice touch I got from the hibernate-scripts package - it blinks the sleep led (moon icon) until the sleep or resume cycle is finished.&lt;br /&gt;
&lt;br /&gt;
The 'vbetool vbemode get/set' commands are for saving and restoring the console text mode - otherwise the screen becomes garbled.&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  &lt;br /&gt;
  # blink sleep led (if ibm_acpi is installed)&lt;br /&gt;
  echo 7 blink &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
  &lt;br /&gt;
  # change to console 10 (unused?)&lt;br /&gt;
  FGCONSOLE=`fgconsole`&lt;br /&gt;
  chvt 10&lt;br /&gt;
  &lt;br /&gt;
  # save video state&lt;br /&gt;
  VBEMODE=`vbetool vbemode get`&lt;br /&gt;
  cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
  &lt;br /&gt;
  # sync filesystem&lt;br /&gt;
  sync&lt;br /&gt;
  &lt;br /&gt;
  # sync hardware clock with system time&lt;br /&gt;
  hwclock --systohc&lt;br /&gt;
  &lt;br /&gt;
  # stop networking (atheros chipset)&lt;br /&gt;
  /etc/init.d/net.ath0 stop&lt;br /&gt;
  rmmod ath_pci&lt;br /&gt;
  &lt;br /&gt;
  # go to sleep&lt;br /&gt;
  sleep 2 ; echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
  &lt;br /&gt;
  # blink sleep led&lt;br /&gt;
  echo 7 blink &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
  &lt;br /&gt;
  # restore system clock&lt;br /&gt;
  hwclock --hctosys&lt;br /&gt;
  &lt;br /&gt;
  # restore video state&lt;br /&gt;
  vbetool vbemode set $VBEMODE&lt;br /&gt;
  cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
  &lt;br /&gt;
  # change back to X&lt;br /&gt;
  chvt $FGCONSOLE&lt;br /&gt;
  &lt;br /&gt;
  # restart networking&lt;br /&gt;
  modprobe ath_pci&lt;br /&gt;
  /etc/init.d/net.ath0 start&lt;br /&gt;
  &lt;br /&gt;
  # clean up behind us&lt;br /&gt;
  rm /tmp/video_state&lt;br /&gt;
  echo 7 off &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Fedora Core 5 ==&lt;br /&gt;
&lt;br /&gt;
The vbetool on the article page worked great for me, but NetworkManager would not bring the wireless interface back up.  I had to add &amp;quot;ath_pci&amp;quot; to the SUSPEND_MODULES variable in /etc/sysconfig/pm.&lt;br /&gt;
&lt;br /&gt;
== R50e 1834-S3G in Debian Etch ==&lt;br /&gt;
&lt;br /&gt;
I found it necessary to add a {{cmdroot|clear}} to the script before {{cmdroot|chvt}} 'ing back to VT7 after wakeup. If I didn't, I would end up with a 99% black corrupted screen in X. &lt;br /&gt;
[[User:Ris|Ris]] 18:38, 30 October 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Work-arounds for X60s / Intel 950 ==&lt;br /&gt;
&lt;br /&gt;
The page identifies X60s's as having problems with blank display on resume (and I can confirm), but doesn't suggest a work-around.  (Nor are there any obvious fixes for this boxes Intel 950 graphics card.)  Has anyone gotten it working?  [[User:Johnh|Johnh]] 06:47, 16 November 2006 (CET)&lt;/div&gt;</summary>
		<author><name>Johnh</name></author>
		
	</entry>
</feed>