<?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=Arteme</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=Arteme"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Arteme"/>
	<updated>2026-04-30T19:17:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39147</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39147"/>
		<updated>2008-10-20T08:14:22Z</updated>

		<summary type="html">&lt;p&gt;Arteme: /* Backlight problems with post-2.6.26 kernels */ Fixed the note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
====Pre-2.6.22====&lt;br /&gt;
&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
====Post-2.6.22====&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and higher, you have only one choce, [[ibm-acpi]], which has been renamed to '''thinkpad-acpi'''.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===Backlight problems with post-2.6.26 kernels===&lt;br /&gt;
&lt;br /&gt;
According to [[http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html this thread]], users with 2.6.26 kernel and higher may experience problems with ThinkPad backlight contols ('''Fn+Home''', '''Fn+End''' on T61). The symptoms are:&lt;br /&gt;
* backlight brightness controls do not work;&lt;br /&gt;
* Using '''acpi-listen''' command, there is no reaction for '''brightness down''' button, but '''brightenss up''' gives:&lt;br /&gt;
  ibm/hotkey HKEY 00000080 00001010&lt;br /&gt;
&lt;br /&gt;
The solution is that one needs to enable `CONFIG_VIDEO_OUTPUT_CONTROL`:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
   Graphics Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Lowlevel video output switch controls&lt;br /&gt;
&lt;br /&gt;
Subsequently one should enable 'CONFIG_ACPI_VIDEO':&lt;br /&gt;
 Power Management Options  ---&amp;gt;&lt;br /&gt;
   [*] ACPI (Advanced Configuration and Power Interface) Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Video&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Without `CONFIG_VIDEO_OUTPUT_CONTROL` enabled, one will not be able to enable `CONFIG_ACPI_VIDEO` in menuconfig or similar interface as the option will remain hidden}}&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Arteme</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39146</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39146"/>
		<updated>2008-10-20T08:13:35Z</updated>

		<summary type="html">&lt;p&gt;Arteme: /* Backlight problems with post-2.6.26 kernels */ Finished the writeup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
====Pre-2.6.22====&lt;br /&gt;
&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
====Post-2.6.22====&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and higher, you have only one choce, [[ibm-acpi]], which has been renamed to '''thinkpad-acpi'''.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===Backlight problems with post-2.6.26 kernels===&lt;br /&gt;
&lt;br /&gt;
According to [[http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html this thread]], users with 2.6.26 kernel and higher may experience problems with ThinkPad backlight contols ('''Fn+Home''', '''Fn+End''' on T61). The symptoms are:&lt;br /&gt;
* backlight brightness controls do not work;&lt;br /&gt;
* Using '''acpi-listen''' command, there is no reaction for '''brightness down''' button, but '''brightenss up''' gives:&lt;br /&gt;
  ibm/hotkey HKEY 00000080 00001010&lt;br /&gt;
&lt;br /&gt;
The solution is that one needs to enable `CONFIG_VIDEO_OUTPUT_CONTROL`:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
   Graphics Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Lowlevel video output switch controls&lt;br /&gt;
&lt;br /&gt;
Subsequently one should enable 'CONFIG_ACPI_VIDEO':&lt;br /&gt;
 Power Management Options  ---&amp;gt;&lt;br /&gt;
   [*] ACPI (Advanced Configuration and Power Interface) Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Video&lt;br /&gt;
&lt;br /&gt;
{{Note|Without `CONFIG_VIDEO_OUTPUT_CONTROL` enabled, one will not be able to enable `CONFIG_ACPI_VIDEO` in menuconfig or similar interface as the option will remain hidden}}&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Arteme</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39145</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39145"/>
		<updated>2008-10-20T08:02:15Z</updated>

		<summary type="html">&lt;p&gt;Arteme: Added a section about backlight problems in 2.6.26&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
====Pre-2.6.22====&lt;br /&gt;
&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
====Post-2.6.22====&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and higher, you have only one choce, [[ibm-acpi]], which has been renamed to '''thinkpad-acpi'''.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===Backlight problems with post-2.6.26 kernels===&lt;br /&gt;
&lt;br /&gt;
According to [[http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html]], users with 2.6.26 kernel and higher may experience problems with ThinkPad backlight contols ('''Fn+Home''', '''Fn+End''' on T61). The symptoms are:&lt;br /&gt;
* backlight brightness controls do not work;&lt;br /&gt;
* Using '''acpi-listen''' command, there is no reaction for '''brightness down''' button, but '''brightenss up''' gives:&lt;br /&gt;
  ibm/hotkey HKEY 00000080 00001010 &lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Arteme</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39144</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=39144"/>
		<updated>2008-10-20T07:46:46Z</updated>

		<summary type="html">&lt;p&gt;Arteme: /* IBM specific ACPI driver */ Added a note about ibm-acpi and thinkpad-acpi relation in 2.6.22+&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
====Pre-2.6.22====&lt;br /&gt;
&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
====Post-2.6.22====&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and higher, you have only one choce, [[ibm-acpi]], which has been renamed to '''thinkpad-acpi'''.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Arteme</name></author>
		
	</entry>
</feed>