<?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=Jbs</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=Jbs"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Jbs"/>
	<updated>2026-04-08T13:44:35Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_display_remaining_black_after_resume&amp;diff=50068</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=50068"/>
		<updated>2010-11-20T22:55:14Z</updated>

		<summary type="html">&lt;p&gt;Jbs: /* Windows too */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Screen went blank at resume with Windows XP too ==&lt;br /&gt;
Same symptoms with a ThinkPad running windows (one time, still stuck)&lt;br /&gt;
Any ideas to try?&lt;br /&gt;
&lt;br /&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;
== X30 ==&lt;br /&gt;
&lt;br /&gt;
The {{bootparm|acpi_sleep|s3_bios}} boot parameter did the trick, no additional scripts required (Ubuntu feisty).&lt;br /&gt;
&lt;br /&gt;
== X31 ==&lt;br /&gt;
&lt;br /&gt;
In addition to the s3_bios trick, i needed to uninstall the uswsusp and hibernate packages. I've put all the details in the [[Category_talk:X31|X31 talk page]]. [[User:TheAnarcat|TheAnarcat]] 18:50, 14 July 2007 (UTC)&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;
This is confirmed to work on my Thinkpad X40, running Arch Linux, kernel 2.6.24-rc2-git2, and ratpoison.  This is also works even if framebuffer is enabled.  This method also works on a Thinkpad X40, running Sidux, kernel 2.6.23.9-rc1, Compiz Fusion, and KDE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get suspend working on a Thinkpad X40, running Ubuntu 7.10, kernel 2.6.24-rc3, you need to do the following:&lt;br /&gt;
1) add Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot; to /etc/X11/xorg.conf&lt;br /&gt;
2) boot with &amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
3) edit /etc/default/acpi-support and uncomment the line about saving the video state on resume&lt;br /&gt;
&lt;br /&gt;
After this it works from gnome-power-manager&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The easiest way to get suspend working on a Thinkpad X40 running Debian Sid (as of November 26, 2007) is to install the uswsusp package, boot with acpi_sleep=s3_bios, and then use the command &amp;quot;s2ram -f -s -p -v&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:I got my X40 working with {{bootparm|acpi_sleep|s3_bios}} only. I've got the intel drivers 2.9.0 (using UXA), xorg 1.6.3 and kernel 2.6.31. --[[User:A76b034a|A76b034a]] 21:29, 30 September 2009 (UTC)&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;br /&gt;
&lt;br /&gt;
== T60 with intel video card 945 ==&lt;br /&gt;
&lt;br /&gt;
Linux: Gentoo, kernel 2.6.17&lt;br /&gt;
I have problem with black display after resume with active framebuffer (vesa or vesa-tng).&lt;br /&gt;
I have a lot of garbage after resume with active fb and acpi_sleep=s3_bios,s3_mode parameter.&lt;br /&gt;
And I have normal screen without fb and with acpi_sleep=s3_bios,s3_mode, but  I cant operate with console.&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
== T60 with intel X3100 and integrated usb cam ==&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
*ThinkPad T61 (7659-Y7H) with Intel X3100 and integrated usb cam running Ubuntu Hardy (kernel 2.6.24-10-generic)&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
*ThinkPad automagically resumes 3 seconds after suspend!&lt;br /&gt;
*Has a black screen after resume (no backlight/image or no backlight).&lt;br /&gt;
&lt;br /&gt;
Workaround for black screen:&lt;br /&gt;
*Switching to tty1 and back to tty7 (where X is running) several times brings back display&lt;br /&gt;
&lt;br /&gt;
Solution to both problems (both caused by integrated usb cam!?):&lt;br /&gt;
&lt;br /&gt;
before suspend:&lt;br /&gt;
 rmmod ehci_hcd&lt;br /&gt;
after resume:&lt;br /&gt;
 modprobe -i ehci_hcd&lt;br /&gt;
&lt;br /&gt;
[[User:E rulez|E rulez]] 21:20, 26 February 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== Blank Screen on resume on W500 ==&lt;br /&gt;
&lt;br /&gt;
If you experiment with different configurations, especially different video drivers (fglrx, radeon, radeonhd), please be advised that the fglrx module needs to be blacklisted if you want to use radeon or radeonhd. If fglrx is loaded upon suspend you will experience the blank-screen problem on resume.&lt;/div&gt;</summary>
		<author><name>Jbs</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=50067</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=50067"/>
		<updated>2010-11-20T22:52:37Z</updated>

		<summary type="html">&lt;p&gt;Jbs: /* Affected Operating Systems */&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}}, {{T61}}, {{T61p}} {{T410s}}&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 {{X40}}, {{X60s}}, {{X60}}, {{X61}}, {{X61s}}, {{X200}}, {{X200s}}, {{X201s}}&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;
*Windows XP&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;
This solution is not working on R61i using Debian Squeeze.&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;
===Quick Workaround for T61 (at least 7662-CTO) using NVidia Quadro NVS 140===&lt;br /&gt;
&lt;br /&gt;
Try pressing Fn+F4 to get the OS suspend to RAM. Nothing on the screen will indicate that the OS is being suspended except for the Sleep LED. Wake up the OS by pressing the Fn key. This induces an additional 5-10 seconds of work. But this has consistently worked with no issues.&lt;br /&gt;
&lt;br /&gt;
===Pseudo-solution for R61===&lt;br /&gt;
On an R61 running Fedora Core 9, the nv driver fails to turn the backlight on after resuming from a suspend to RAM. I fixed this by using the proprietary NVIDIA Linux drivers (v177.82).&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 {{X41}}, {{X60s}}, {{X200s}}, {{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;
On '''T60-20076RG''' (Core2Duo 2GHz, ATI X1400) with {{OpenSUSE}} 11.1 and fglrx 8-12 the following had to be done to get suspend to RAM always resume:&lt;br /&gt;
* Add {{bootparm|S2RAM_QUIRKS_SOURCE|&amp;quot;s2ram&amp;quot;}} to file {{path|/etc/pm/config.d/config}}&lt;br /&gt;
* Create an executable script {{path|/etc/pm/sleep.d/00text}} containing:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 /bin/chvt 1&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 /bin/chvt 7&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
There seems to be a bug ([https://bugzilla.novell.com/show_bug.cgi?id=463434 Novell bugzilla]) which makes it impossible for s2ram to switch to text console while suspending through pm-suspend. The script above forces console change. Along with setting s2ram as quirks source (which makes it correctly set acpi_bios before suspend - to s3_bios,s3_mode&lt;br /&gt;
for T60 2007*) this can make resume work flawlessly despite using vesafb.&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;
&lt;br /&gt;
it *almost* works on my T400S (intel mobile 4 integrated graphics) and kernel lenny-2.6.30-amd64, but see below for better solution.  (sometimes, it doesn't wake up at all, probably because some kernel modules unrelated to video don't like this suspend method.  once, i had to restart gdm.  i am using a weird setup if two gdm sessions on two virtual terminals, don't know if that's required to reproduce the latter problem.)&lt;br /&gt;
&lt;br /&gt;
this works with vesafb and also with intelfb frambuffer support.&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;
 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;
&lt;br /&gt;
If it still doesn't work try to add&lt;br /&gt;
 Option  &amp;quot;ForceEnablePipeA&amp;quot; &amp;quot;true&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}}.&lt;br /&gt;
&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. On {{X61}} &amp;quot;s2ram -f -a 1&amp;quot; can work properly. Best idea seems to be to put this into the corresponding acpi script:&lt;br /&gt;
&lt;br /&gt;
 % cat /etc/acpi/sleep.sh &lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 test -f /usr/share/acpi-support/power-funcs || exit 0&lt;br /&gt;
 test -f /usr/sbin/s2ram || exit 0&lt;br /&gt;
 rmmod usb_storage&lt;br /&gt;
 rmmod uhci_hcd&lt;br /&gt;
 rmmod ehci_hcd&lt;br /&gt;
 /usr/sbin/s2ram -f -a 1 -m&lt;br /&gt;
 modprobe uhci_hcd&lt;br /&gt;
 modprobe ehci_hcd&lt;br /&gt;
 modprobe usb_storage&lt;br /&gt;
&lt;br /&gt;
Source: [http://d.hatena.ne.jp/conceal-rs/20080309/1205083315 http://d.hatena.ne.jp/conceal-rs/20080309/1205083315]&lt;br /&gt;
Works on my X61.&lt;br /&gt;
&lt;br /&gt;
T400S (intel mobile 4 integrated graphics) and kernel lenny-2.6.30-amd64: seems good so far (around 5 suspends without problems).&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;br /&gt;
&lt;br /&gt;
===Solution for nvidia-drivers-180* series===&lt;br /&gt;
&lt;br /&gt;
The proprietary NVidia drivers of the 180 series introduce several problems with suspend to ram:&lt;br /&gt;
&lt;br /&gt;
* Situation 1: Suspend from console, '''no''' X-Server running:&amp;lt;br/&amp;gt;&lt;br /&gt;
You might need to use vbetool to save and restore the vbestate.&lt;br /&gt;
When using hibernate-script, this can be done by setting the following config variables:&lt;br /&gt;
 EnableVbetool yes&lt;br /&gt;
 RestoreVbeStateFrom /var/lib/vbetool/vbestate&lt;br /&gt;
 VbetoolPost yes&lt;br /&gt;
&lt;br /&gt;
You may need to run &amp;lt;code&amp;gt;mkdir -p /var/lib/vbetool &amp;amp;&amp;amp; vbetool vbestate save &amp;gt; /var/lib/vbetool/vbestate&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&lt;br /&gt;
On newer distributions, you might need to '''not''' use vbetool.  On a Ubuntu Hardy with Linux 2.6.24, and probably on other Debian-based distributions, edit '/etc/default/acpi-support' and set 'SAVE_VBE_STATE=false'. &lt;br /&gt;
&lt;br /&gt;
* Situation 2: Suspend from running X-Server:&amp;lt;br/&amp;gt;&lt;br /&gt;
You '''cannot''' use vbetool or any other quirks, since it seems to confuse the nvidia X driver. That means you should enter S3 simply by doing &amp;lt;code&amp;gt;echo mem &amp;gt; /sys/power/state&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have your hotkeys handled by acpid, you might differentiate those two cases by checking for a running X process in your hotkey handler (i.e. &amp;lt;code&amp;gt;/etc/acpid/default.sh&amp;lt;/code&amp;gt;):&lt;br /&gt;
 pgrep -x X &amp;gt; /dev/null \          # checks for running process with name &amp;quot;X&amp;quot;&lt;br /&gt;
  &amp;amp;&amp;amp; echo mem &amp;gt; /sys/power/state   # if found, do plain S3 suspend&lt;br /&gt;
  || hibernate-ram                 # otherwise, run quirked script&lt;br /&gt;
&lt;br /&gt;
Furthermore, it seems to be a good idea to use the 180 series with a 2.6.28* kernel.&lt;br /&gt;
&lt;br /&gt;
It has been reported that acpi_sleep=S3_bios should be used instead of acpi_sleep=S3_mode&lt;br /&gt;
as a boot option.&lt;br /&gt;
&lt;br /&gt;
See, http://www.nvnews.net/vbulletin/showthread.php?t=123303&amp;amp;highlight=suspend&amp;amp;page=6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It might also help to put &amp;lt;code&amp;gt;blacklist intel_agp &amp;lt;/code&amp;gt;&lt;br /&gt;
in &amp;lt;code&amp;gt;/etc/modprobe.d/blacklist&lt;br /&gt;
&lt;br /&gt;
Finally, it seems to depend on precise model nr.&lt;br /&gt;
See&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+bug/235284&lt;br /&gt;
for a discussion and patch.&lt;br /&gt;
&lt;br /&gt;
=== Quirk workaround for T410s ===&lt;br /&gt;
The vbe post quirk in pm-utils works on a T410s 29123KC.&lt;br /&gt;
&lt;br /&gt;
On Debian sid pm-utils script is hacked to apply '--quirk-vbe-post' when kms is in place.&lt;/div&gt;</summary>
		<author><name>Jbs</name></author>
		
	</entry>
</feed>