<?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=Pete</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=Pete"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Pete"/>
	<updated>2026-05-27T19:25:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=26077</id>
		<title>Problem with LCD backlight remaining on during ACPI sleep</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=26077"/>
		<updated>2006-10-27T21:36:42Z</updated>

		<summary type="html">&lt;p&gt;Pete: /* Using Powersaved */  orthography&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Problem description==&lt;br /&gt;
On some models the LCD backlight remains on during ACPI sleep.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{390X}} with kernel boot option ACPI=force&lt;br /&gt;
*ThinkPad {{A30}}&lt;br /&gt;
*ThinkPad {{A31p}}&lt;br /&gt;
*ThinkPad {{T30}}&lt;br /&gt;
*ThinkPad {{X31}},{{X32}}&lt;br /&gt;
*ThinkPad {{R51}}&lt;br /&gt;
(according to the relevant bug on the Kernel bug tracker ([http://bugzilla.kernel.org/show_bug.cgi?id=2576 bug 2576]))&lt;br /&gt;
&lt;br /&gt;
==Partial solution==&lt;br /&gt;
If the ThinkPad has a radeon video chip, then switching off the light with the command&lt;br /&gt;
  radeontool light off&lt;br /&gt;
will work, but only in a text-mode virtual terminal.  If X is running, the light apparently comes back on when the kernel switches to text mode prior to sleeping.  The solution in that case it to switch to a text mode console first.&lt;br /&gt;
&lt;br /&gt;
 logger &amp;quot;Software suspend to ram.&amp;quot;&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 1&lt;br /&gt;
 radeontool light off&lt;br /&gt;
 echo -n 3 &amp;gt;/proc/acpi/sleep&lt;br /&gt;
 logger &amp;quot;Woke up from suspend.&amp;quot;&lt;br /&gt;
 radeontool light on&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
&lt;br /&gt;
Improvements are clearly possible. :-)&lt;br /&gt;
&lt;br /&gt;
On the X32, at least, the bios will switch off the screen by default on a lid close, and suspending to ram interrupts this, and the screen will turn back on.  This can be fixed by simply adding &amp;quot;sleep 5&amp;quot; before &amp;quot;echo -n 3 &amp;gt; /proc/acpi/sleep&amp;quot;.  The suspend will take longer, but the screen will remain off.&lt;br /&gt;
&lt;br /&gt;
A similar script can be found on the [[How to configure acpid|acpid configuration HOWTO]] page.&lt;br /&gt;
&lt;br /&gt;
==Using Powersaved==&lt;br /&gt;
&lt;br /&gt;
If you use powersaved you can just edit the two scripts prepare_suspend_to_ram and restore_after_suspend_to_ram which are stored in /usr/lib/powersave/scripts/&lt;br /&gt;
&lt;br /&gt;
add two lines to prepare_suspend_to_ram nearly at the end of the script:&lt;br /&gt;
&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  chvt 1&lt;br /&gt;
  radeontool light off&lt;br /&gt;
  # this changes to a console nr. 1 and switches the light off&lt;br /&gt;
  &lt;br /&gt;
  progress_finish&lt;br /&gt;
  $SCRIPT_RETURN $EV_ID 0 &amp;quot;prepare_sleep finished successfully for $1&amp;quot;&lt;br /&gt;
  EXIT 0&lt;br /&gt;
&lt;br /&gt;
and to restore_after_suspend_to_ram&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  radeontool light on&lt;br /&gt;
  chvt 7&lt;br /&gt;
  # this switching the light on and changes to display #7 (where the x-server runs) - &lt;br /&gt;
  #you can change it to another display if you want... &lt;br /&gt;
  #(the way doing this with a variable like in the script above doesn't work, because it can't be stored between&lt;br /&gt;
  #the two different scripts.&lt;br /&gt;
  &lt;br /&gt;
  # $SCRIPT_RETURN is called in restore_after_sleep.&lt;br /&gt;
  EXIT 0&lt;br /&gt;
&lt;br /&gt;
Than you can suspend to ram with /usr/bin/powersave -u or just configure powersaved in a way that it suspends to ram when your notebook is closed. (As a frontend kpowersave is recomended).&lt;/div&gt;</summary>
		<author><name>Pete</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=22985</id>
		<title>Problem with LCD backlight remaining on during ACPI sleep</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=22985"/>
		<updated>2006-06-28T16:11:48Z</updated>

		<summary type="html">&lt;p&gt;Pete: /* Using Powersaved */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Problem description==&lt;br /&gt;
On some models the LCD backlight remains on during ACPI sleep.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{390X}} with kernel boot option ACPI=force&lt;br /&gt;
*ThinkPad {{A30}}&lt;br /&gt;
*ThinkPad {{A31p}}&lt;br /&gt;
*ThinkPad {{T30}}&lt;br /&gt;
*ThinkPad {{X31}},{{X32}}&lt;br /&gt;
*ThinkPad {{R51}}&lt;br /&gt;
(according to the relevant bug on the Kernel bug tracker ([http://bugzilla.kernel.org/show_bug.cgi?id=2576 bug 2576]))&lt;br /&gt;
&lt;br /&gt;
==Partial solution==&lt;br /&gt;
If the ThinkPad has a radeon video chip, then switching off the light with the command&lt;br /&gt;
  radeontool light off&lt;br /&gt;
will work, but only in a text-mode virtual terminal.  If X is running, the light apparently comes back on when the kernel switches to text mode prior to sleeping.  The solution in that case it to switch to a text mode console first.&lt;br /&gt;
&lt;br /&gt;
 logger &amp;quot;Software suspend to ram.&amp;quot;&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 1&lt;br /&gt;
 radeontool light off&lt;br /&gt;
 echo -n 3 &amp;gt;/proc/acpi/sleep&lt;br /&gt;
 logger &amp;quot;Woke up from suspend.&amp;quot;&lt;br /&gt;
 radeontool light on&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
&lt;br /&gt;
Improvements are clearly possible. :-)&lt;br /&gt;
&lt;br /&gt;
On the X32, at least, the bios will switch off the screen by default on a lid close, and suspending to ram interrupts this, and the screen will turn back on.  This can be fixed by simply adding &amp;quot;sleep 5&amp;quot; before &amp;quot;echo -n 3 &amp;gt; /proc/acpi/sleep&amp;quot;.  The suspend will take longer, but the screen will remain off.&lt;br /&gt;
&lt;br /&gt;
A similar script can be found on the [[How to configure acpid|acpid configuration HOWTO]] page.&lt;br /&gt;
&lt;br /&gt;
==Using Powersaved==&lt;br /&gt;
&lt;br /&gt;
If you use posersaved you can just edit the two scripts prepare_suspend_to_ram and restore_after_suspend_to_ram which are stored in /usr/lib/powersave/scripts/&lt;br /&gt;
&lt;br /&gt;
add two lines to prepare_suspend_to_ram nearly at the end of the script:&lt;br /&gt;
&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  chvt 1&lt;br /&gt;
  radeontool light off&lt;br /&gt;
  # this changes to a console nr. 1 and switches the light off&lt;br /&gt;
  &lt;br /&gt;
  progress_finish&lt;br /&gt;
  $SCRIPT_RETURN $EV_ID 0 &amp;quot;prepare_sleep finished successfully for $1&amp;quot;&lt;br /&gt;
  EXIT 0&lt;br /&gt;
&lt;br /&gt;
and to restore_after_suspend_to_ram&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  radeontool light on&lt;br /&gt;
  chvt 7&lt;br /&gt;
  # this switching the light on and changes to display #7 (where the x-server runs) - &lt;br /&gt;
  #you can change it to another display if you want... &lt;br /&gt;
  #(the way doing this with a variable like in the script above doesn't work, because it can't be stored between&lt;br /&gt;
  #the two different scripts.&lt;br /&gt;
  &lt;br /&gt;
  # $SCRIPT_RETURN is called in restore_after_sleep.&lt;br /&gt;
  EXIT 0&lt;br /&gt;
&lt;br /&gt;
Than you can suspend to ram with /usr/bin/powersave -u or just configure powersaved in a way that it suspends to ram when your notebook is closed. (As a frontend kpowersave is recomended).&lt;/div&gt;</summary>
		<author><name>Pete</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=22984</id>
		<title>Problem with LCD backlight remaining on during ACPI sleep</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_LCD_backlight_remaining_on_during_ACPI_sleep&amp;diff=22984"/>
		<updated>2006-06-28T15:58:07Z</updated>

		<summary type="html">&lt;p&gt;Pete: /* Partial solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Problem description==&lt;br /&gt;
On some models the LCD backlight remains on during ACPI sleep.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{390X}} with kernel boot option ACPI=force&lt;br /&gt;
*ThinkPad {{A30}}&lt;br /&gt;
*ThinkPad {{A31p}}&lt;br /&gt;
*ThinkPad {{T30}}&lt;br /&gt;
*ThinkPad {{X31}},{{X32}}&lt;br /&gt;
*ThinkPad {{R51}}&lt;br /&gt;
(according to the relevant bug on the Kernel bug tracker ([http://bugzilla.kernel.org/show_bug.cgi?id=2576 bug 2576]))&lt;br /&gt;
&lt;br /&gt;
==Partial solution==&lt;br /&gt;
If the ThinkPad has a radeon video chip, then switching off the light with the command&lt;br /&gt;
  radeontool light off&lt;br /&gt;
will work, but only in a text-mode virtual terminal.  If X is running, the light apparently comes back on when the kernel switches to text mode prior to sleeping.  The solution in that case it to switch to a text mode console first.&lt;br /&gt;
&lt;br /&gt;
 logger &amp;quot;Software suspend to ram.&amp;quot;&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 1&lt;br /&gt;
 radeontool light off&lt;br /&gt;
 echo -n 3 &amp;gt;/proc/acpi/sleep&lt;br /&gt;
 logger &amp;quot;Woke up from suspend.&amp;quot;&lt;br /&gt;
 radeontool light on&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
&lt;br /&gt;
Improvements are clearly possible. :-)&lt;br /&gt;
&lt;br /&gt;
On the X32, at least, the bios will switch off the screen by default on a lid close, and suspending to ram interrupts this, and the screen will turn back on.  This can be fixed by simply adding &amp;quot;sleep 5&amp;quot; before &amp;quot;echo -n 3 &amp;gt; /proc/acpi/sleep&amp;quot;.  The suspend will take longer, but the screen will remain off.&lt;br /&gt;
&lt;br /&gt;
A similar script can be found on the [[How to configure acpid|acpid configuration HOWTO]] page.&lt;br /&gt;
&lt;br /&gt;
==Using Powersaved==&lt;br /&gt;
&lt;br /&gt;
If you use posersaved you can just edit the two scripts prepare_suspend_to_ram and restore_after_suspend_to_ram which are stored in /usr/lib/powersave/scripts/&lt;br /&gt;
&lt;br /&gt;
add two lines to prepare_suspend_to_ram nearly at the end of the script:&lt;br /&gt;
&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  chvt 1&lt;br /&gt;
  radeontool light off&lt;br /&gt;
  # this changes to a console nr. 1 and switches the light off&lt;br /&gt;
  &lt;br /&gt;
  progress_finish&lt;br /&gt;
  $SCRIPT_RETURN $EV_ID 0 &amp;quot;prepare_sleep finished successfully for $1&amp;quot;&lt;br /&gt;
  EXIT 0&lt;br /&gt;
&lt;br /&gt;
and to restore_after_suspend_to_ram&lt;br /&gt;
  # insert the next two lines:&lt;br /&gt;
  radeontool light on&lt;br /&gt;
  chvt 7&lt;br /&gt;
  # this switching the light on and changes to display #7 (where the x-server runs) - &lt;br /&gt;
  #you can change it to another display if you want... &lt;br /&gt;
  #(the way doing this with a variable like in the script above doesn't work, because it can't be stored between&lt;br /&gt;
  #the two different scripts.&lt;br /&gt;
  &lt;br /&gt;
  # $SCRIPT_RETURN is called in restore_after_sleep.&lt;br /&gt;
  EXIT 0&lt;/div&gt;</summary>
		<author><name>Pete</name></author>
		
	</entry>
</feed>