<?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=Pierro78</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=Pierro78"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Pierro78"/>
	<updated>2026-05-04T01:26:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49302</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49302"/>
		<updated>2010-08-08T15:21:10Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&amp;lt;br&amp;gt;(note that if Fan Control doesn't seem to work anymore after a system update you may need to run pwmconfig again and select manual controls by answering &amp;quot;y&amp;quot; at the first question)&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting &lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : some versions of linux 2.6.34 need to be patched for phc_intel to be loadable : http://www.linux-phc.org/forum/viewtopic.php?f=8&amp;amp;t=195&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49248</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49248"/>
		<updated>2010-07-31T13:56:08Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* laptop_mode and other power management tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&amp;lt;br&amp;gt;(note that if Fan Control doesn't seem to work anymore after a system update you may need to run pwmconfig again and select manual controls by answering &amp;quot;y&amp;quot; at the first question)&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting &lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49247</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49247"/>
		<updated>2010-07-31T13:55:45Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* laptop_mode and other power management tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&amp;lt;br&amp;gt;(note that if Fan Control doesn't seem to work anymore after an update you may need to run pwmconfig again and select manual controls by answering &amp;quot;y&amp;quot; at the first question)&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting &lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49246</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49246"/>
		<updated>2010-07-31T13:54:41Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* laptop_mode and other power management tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
(note that if Fan Control doesn't seem to work anymore after an update you may need to run pwmconfig again and select manual controls by answering &amp;quot;y&amp;quot; at the first question)&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting &lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49245</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49245"/>
		<updated>2010-07-31T11:21:02Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting &lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49244</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=49244"/>
		<updated>2010-07-31T11:18:46Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
I've used phc with the voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting&lt;br /&gt;
which translate to the following phc vids :&lt;br /&gt;
&amp;lt;pre&amp;gt;x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids &lt;br /&gt;
14 12 10 8 6 4 2 0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=48319</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=48319"/>
		<updated>2010-04-22T22:16:02Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472 (but the original package from http://www.linux-phc.org/forum/viewtopic.php?f=13&amp;amp;t=2 is easy to install)&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=48318</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=48318"/>
		<updated>2010-04-22T22:11:28Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine ===&lt;br /&gt;
Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46377</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46377"/>
		<updated>2010-02-25T10:02:15Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* laptop_mode and other power management tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
&lt;br /&gt;
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control&lt;br /&gt;
&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46301</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46301"/>
		<updated>2010-02-23T13:35:42Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== laptop_mode and other power management tips ===&lt;br /&gt;
http://www.gentoo.org/doc/en/power-management-guide.xml&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46137</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46137"/>
		<updated>2010-02-21T16:16:37Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* ipw2200 driver (intel wireless) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless nic) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46136</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46136"/>
		<updated>2010-02-21T16:09:07Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== kernel compilation ==&lt;br /&gt;
=== ipw2200 driver (intel wireless) ===&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
=== zen kernel ===&lt;br /&gt;
==== tuxonice compression ====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46135</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46135"/>
		<updated>2010-02-21T15:45:37Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* tuxonice compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
===== tuxonice compression =====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46134</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46134"/>
		<updated>2010-02-21T15:45:26Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* tuxonice compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
===== tuxonice compression =====&lt;br /&gt;
cf http://en.gentoo-wiki.com/wiki/TuxOnIce&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot; &lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46133</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46133"/>
		<updated>2010-02-21T14:58:21Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* tuxonice compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
===== tuxonice compression =====&lt;br /&gt;
cf http://forums.gentoo.org/viewtopic-t-763094.html :&lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46132</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46132"/>
		<updated>2010-02-21T14:27:01Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
===== tuxonice compression =====&lt;br /&gt;
cf &lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46131</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46131"/>
		<updated>2010-02-21T14:25:56Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* tuxonice compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
=== tuxonice compression ===&lt;br /&gt;
cf &lt;br /&gt;
&amp;lt;br&amp;gt;select lzo compression in &amp;quot;make menuconfig&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46130</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46130"/>
		<updated>2010-02-21T14:25:30Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* ipw2200 driver (intel wireless) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==== zen kernel ====&lt;br /&gt;
=== tuxonice compression ===&lt;br /&gt;
cf &lt;br /&gt;
select lzo compression in &amp;quot;make menuconfig&amp;quot;&lt;br /&gt;
change tuxonice.conf accordingly&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46129</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=46129"/>
		<updated>2010-02-21T13:59:31Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
=== kernel compilation ===&lt;br /&gt;
==== ipw2200 driver (intel wireless) ====&lt;br /&gt;
don't forget to compile it as a module : http://bugs.gentoo.org/202557&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44983</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44983"/>
		<updated>2009-12-06T13:23:02Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&amp;lt;br&amp;gt;(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44982</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44982"/>
		<updated>2009-12-06T13:22:42Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
(exploration notes : the phc kernel patch is included in sys-kernel/zen-sources see also : http://zen-kernel.org/included-code and http://forums.gentoo.org/viewtopic-t-805069.html )&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44981</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44981"/>
		<updated>2009-12-06T10:32:38Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* CPU Undervolting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay by Michael Weber for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44980</id>
		<title>Installing Gentoo on a ThinkPad X40</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X40&amp;diff=44980"/>
		<updated>2009-12-06T10:10:17Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* External Sources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tips ==&lt;br /&gt;
=== CPU Undervolting ===&lt;br /&gt;
There is a gentoo overlay for phc_intel and phctool : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.eletztrick.de/Members/stefan/articles/x40 Installation tutorial] (German)&lt;br /&gt;
*[http://www.mathematik.uni-marburg.de/~dfinke/html/howto.html x40 Installation tutorial using acpi] (German)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X40]] [[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44935</id>
		<title>Thinkpad-acpi</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44935"/>
		<updated>2009-11-28T13:40:36Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Thinkpad-specific ACPI driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
== thinkpad-acpi - IBM ThinkPad ACPI Extras Driver ==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov, and currently maintained by [[User:hmh|Henrique de Moraes Holschuh]]. It was originally named ibm-acpi, but got renamed to thinkpad-acpi and is included with the Linux kernel. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.&lt;br /&gt;
&lt;br /&gt;
{{WARN|As of kernel 2.6.27 the thinkpad-acpi bay and dock drivers should no longer be used. Instead use the standard ACPI bay and dock drivers. As of kernel 2.6.31 the thinkpad-acpi bay and dock drivers have been removed completely.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thinkpad-specific ACPI driver==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov and Henrique de Moraes Holschuh. The driver replaces ibm-acpi in Linux mainline as of 2.6.22 (March 2007). To confuse matters further, it appears that there was also an older (now abandoned) driver of the same name written by Erik Rigtorp which never made it into the mainline kernel. The current thinkpad-acpi contains essentially the same functionality as ibm-acpi with some added features. Among which are registering of acpi events to the &amp;quot;thinkvantage&amp;quot; and volume/mute buttons which could previously only be accessed through the use of the [[tpb]] utility.&lt;br /&gt;
&lt;br /&gt;
Note :&lt;br /&gt;
In Linux Kernel v2.6.31-gentoo-r6 &amp;quot;make menuconfig&amp;quot; the driver can be enabled in :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   Device Drivers  ---&amp;gt; &lt;br /&gt;
     [*] X86 Platform Specific Device Drivers  ---&amp;gt;  &lt;br /&gt;
       &amp;lt;M&amp;gt;   ThinkPad ACPI Laptop Extras          &lt;br /&gt;
       [ ]     Maintainer debug facilities       &lt;br /&gt;
       [ ]     Verbose debug mode                                                           &lt;br /&gt;
       [ ]     Allow control of important LEDs (unsafe)&lt;br /&gt;
       [ ]     Video output control support            &lt;br /&gt;
       [ ]     Support NVRAM polling for hot keys      &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hotkeys==&lt;br /&gt;
To view which hotkeys are active you can use &amp;quot;acpi_listen&amp;quot;, but that is deprecated.  A better way is to use &amp;quot;lsinput&amp;quot; and &amp;quot;input-events&amp;quot; commands to look at the output of the thinkpad-acpi input device(s).&lt;br /&gt;
&lt;br /&gt;
One important difference from ibm-acpi for those who wish to enable all possible hot keys, is that thinkpad-acpi automatically enables them.  One should not need to do anything to get the best possible thinkpad-acpi configuration for his ThinkPad (as long as he is using the latest thinkpad-acpi).&lt;br /&gt;
&lt;br /&gt;
In particular, old documentation that tells you to &amp;quot;echo enable,0xffffffff &amp;gt;/proc/acpi/ibm/hotkey&amp;quot;, or to give thinkpad-acpi any hotkey= module parameters to enable hot keys by default, is likely incorrect.&lt;br /&gt;
&lt;br /&gt;
The thinkpad-acpi driver has detailed documentation, which is shipped inside the Linux kernel sources, as &amp;quot;Documentation/thinkpad-acpi.txt&amp;quot; or as &amp;quot;Documentation/laptops/thinkpad-acpi.txt&amp;quot;.  If you feel a need to change the hot key mask manually, it is probably best to look at that documentation first to understand the full side effects of any changes.&lt;br /&gt;
&lt;br /&gt;
==sysfs interface==&lt;br /&gt;
some of the ThinkPad specific settings can be viewed or altered in sysfs under {{path|/sys/devices/platform/thinkpad_acpi}} and {{path|/sys/devices/platform/thinkpad_hwmon}}&lt;br /&gt;
&lt;br /&gt;
====thinkpad_acpi====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_acpi}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- bluetooth_enable&lt;br /&gt;
|-- cmos_command&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_acpi&lt;br /&gt;
|-- hotkey_all_mask&lt;br /&gt;
|-- hotkey_bios_enabled&lt;br /&gt;
|-- hotkey_bios_mask&lt;br /&gt;
|-- hotkey_enable&lt;br /&gt;
|-- hotkey_mask&lt;br /&gt;
|-- hotkey_poll_freq&lt;br /&gt;
|-- hotkey_radio_sw&lt;br /&gt;
|-- hotkey_recommended_mask&lt;br /&gt;
|-- hotkey_report_mode&lt;br /&gt;
|-- hotkey_source_mask&lt;br /&gt;
|-- leds&lt;br /&gt;
|   |-- tpacpi::power&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::standby&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::thinklight&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   `-- tpacpi::thinkvantage&lt;br /&gt;
|       |-- brightness&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- max_brightness&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|       |-- trigger&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- rfkill&lt;br /&gt;
|   `-- rfkill0&lt;br /&gt;
|       |-- claim&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- index&lt;br /&gt;
|       |-- name&lt;br /&gt;
|       |-- persistent&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- state&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/rfkill&lt;br /&gt;
|       |-- type&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- uevent&lt;br /&gt;
|-- wakeup_hotunplug_complete&lt;br /&gt;
`-- wakeup_reason&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====thinkpad_hwmon====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_hwmon}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_hwmon&lt;br /&gt;
|-- fan1_input&lt;br /&gt;
|-- hwmon&lt;br /&gt;
|   `-- hwmon0&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_hwmon&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/hwmon&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- name&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- pwm1&lt;br /&gt;
|-- pwm1_enable&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- temp10_input&lt;br /&gt;
|-- temp11_input&lt;br /&gt;
|-- temp12_input&lt;br /&gt;
|-- temp13_input&lt;br /&gt;
|-- temp14_input&lt;br /&gt;
|-- temp15_input&lt;br /&gt;
|-- temp16_input&lt;br /&gt;
|-- temp1_input&lt;br /&gt;
|-- temp2_input&lt;br /&gt;
|-- temp3_input&lt;br /&gt;
|-- temp4_input&lt;br /&gt;
|-- temp5_input&lt;br /&gt;
|-- temp6_input&lt;br /&gt;
|-- temp7_input&lt;br /&gt;
|-- temp8_input&lt;br /&gt;
|-- temp9_input&lt;br /&gt;
`-- uevent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==proc interface==&lt;br /&gt;
some legacy interfaces can also be found under {{path|/proc/acpi/ibm}} these interfaces should be considered deprecated. Please use sysfs instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- beep&lt;br /&gt;
|-- bluetooth&lt;br /&gt;
|-- cmos&lt;br /&gt;
|-- driver&lt;br /&gt;
|-- fan&lt;br /&gt;
|-- hotkey&lt;br /&gt;
|-- led&lt;br /&gt;
|-- light&lt;br /&gt;
|-- thermal&lt;br /&gt;
|-- video&lt;br /&gt;
`-- volume&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
To help with development and maintenance of the thinkpad-acpi driver, please add your model to the [[List of DMI IDs]].&lt;br /&gt;
&lt;br /&gt;
==Further documentation==&lt;br /&gt;
More comprehensive documentation can be found in the kernel source tree under &amp;lt;tt&amp;gt;Documentation/thinkpad-acpi.txt&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;Documentation/laptops/thinkpad-acpi.txt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== External links related to thinkpad-acpi ===&lt;br /&gt;
* [http://ibm-acpi.sf.net ibm-acpi/thinkpad-acpi main page in Sourceforge]&lt;br /&gt;
* [http://acpi.sourceforge.net Linux ACPI main page in Sourceforge], includes DSDT repository&lt;br /&gt;
* [http://www.kernel.org kernel.org main archives]&lt;br /&gt;
* [http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git thinkpad-acpi development git tree]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;br /&gt;
&lt;br /&gt;
=== Supported ThinkPads ===&lt;br /&gt;
* {{770X}} , {{770Z}}&lt;br /&gt;
* {{A Series}}&lt;br /&gt;
* {{G Series}}&lt;br /&gt;
* {{R Series}}&lt;br /&gt;
* {{T Series}}&lt;br /&gt;
* {{W Series}}&lt;br /&gt;
* {{X Series}}&lt;br /&gt;
* {{Z Series}}&lt;br /&gt;
* {{TransNote}}&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_control_fan_speed&amp;diff=44934</id>
		<title>How to control fan speed</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_control_fan_speed&amp;diff=44934"/>
		<updated>2009-11-28T12:31:53Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Using a patched kernel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page discusses methods for controlling the system fan.&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; columns=&amp;quot;2&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
{{WARN|When designing fan-control applets, never ignore a valid thermal sensor.&lt;br /&gt;
&lt;br /&gt;
Even if it seems to be stuck at a certain temperature, you must take that sensor into account.  While it will probably make the fan spin faster than if the sensor was ignored, that's exactly what would happen when the fan is under EC control, and could very well be the reason for the &amp;quot;stuck&amp;quot; value in the first place.&lt;br /&gt;
&lt;br /&gt;
Always play it safe.  If a battery pack seems to want the fan to always run faster, the only safe thing to do is to make it run faster.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==For Linux==&lt;br /&gt;
===Using a patched kernel===&lt;br /&gt;
{{NOTE|The ibm-acpi driver is part of the Linux kernel 2.6.10 and later (option CONFIG_ACPI_IBM or CONFIG_THINKPAD_ACPI in more recent kernels), so patching is not needed anymore.}}&lt;br /&gt;
{{WARN|This patch is superceded by the patches in [[ibm-acpi]] [[Git]] repository or [http://ibm-acpi.sourceforge.net ibm-acpi.sf.net] releases}}&lt;br /&gt;
{{NOTE|Advanced fan control through ibm-acpi has been merged in Linux 2.6.20-rc2 mainline, so users of 2.6.20 won't need to patch their kernels to get the '''fan level''' functionality anymore}}&lt;br /&gt;
&lt;br /&gt;
The [[Patch for controlling fan speed]] provides a convenient interface via {{path|/proc/acpi/ibm/fan}}.&lt;br /&gt;
&lt;br /&gt;
Manual speed control can be done through the [[patch for controlling fan speed]]:&lt;br /&gt;
&lt;br /&gt;
 '''#cat /proc/acpi/ibm/fan'''&lt;br /&gt;
 status:         enabled&lt;br /&gt;
 level:          auto&lt;br /&gt;
 speed:          4219&lt;br /&gt;
 commands:       enable, disable, level &amp;lt;level&amp;gt;&lt;br /&gt;
                 (&amp;lt;level&amp;gt; is 0-7, auto or disengaged)&lt;br /&gt;
 &lt;br /&gt;
 '''#echo level 2 &amp;gt; /proc/acpi/ibm/fan'''&lt;br /&gt;
 &lt;br /&gt;
 '''#cat /proc/acpi/ibm/fan'''&lt;br /&gt;
 status:         enabled&lt;br /&gt;
 level:          2&lt;br /&gt;
 speed:          3142&lt;br /&gt;
 commands:       enable, disable, level &amp;lt;level&amp;gt;&lt;br /&gt;
                 (&amp;lt;level&amp;gt; is 0-7, auto or disengaged)&lt;br /&gt;
&lt;br /&gt;
===Using a stock kernel===&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Fan control operations are disabled by default for safety reasons.}}&lt;br /&gt;
&lt;br /&gt;
'''Linux Kernel 2.6.22 and Above (ibm-acpi has been replaced by [[thinkpad-acpi]])'''&lt;br /&gt;
&lt;br /&gt;
To enable fan control, the module parameter &amp;lt;tt&amp;gt;fan_control=1&amp;lt;/tt&amp;gt; must be given to thinkpad-acpi.&lt;br /&gt;
&lt;br /&gt;
For example, in Ubuntu 8.04 (Hardy Heron), add the following to {{path|/etc/modprobe.d/options}}: &amp;lt;tt&amp;gt;options thinkpad_acpi fan_control=1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Having done so, reboot and you can use the following commands to control fan speed:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 0 &amp;gt; /proc/acpi/ibm/fan}} (fan off)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 2 &amp;gt; /proc/acpi/ibm/fan}} (low speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 4 &amp;gt; /proc/acpi/ibm/fan}} (medium speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 7 &amp;gt; /proc/acpi/ibm/fan}} (maximum speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level auto &amp;gt; /proc/acpi/ibm/fan}} (automatic - default)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level disengaged &amp;gt; /proc/acpi/ibm/fan}} (disengaged)&lt;br /&gt;
&lt;br /&gt;
If you receive a PERMISSION DENIED error you can use the following command syntax instead as a work-around:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 0 | sudo tee /proc/acpi/ibm/fan}} (fan off)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 2 | sudo tee /proc/acpi/ibm/fan}} (low speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 4 | sudo tee /proc/acpi/ibm/fan}} (medium speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level 7 | sudo tee /proc/acpi/ibm/fan}} (maximum speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level auto | sudo tee /proc/acpi/ibm/fan}} (automatic - default)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo level disengaged | sudo tee /proc/acpi/ibm/fan}} (disengaged)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Older Linux Kernels (using [[ibm-acpi]])'''&lt;br /&gt;
&lt;br /&gt;
To enable fan control, the module parameter &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; must be given to ibm-acpi.  Then, you can control the fan by directly writing to the relevant embedded controller register, {{path|/proc/acpi/ibm/ecdump}}. &lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x00 &amp;gt; /proc/acpi/ibm/ecdump}} (fan off)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x02 &amp;gt; /proc/acpi/ibm/ecdump}} (low speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x04 &amp;gt; /proc/acpi/ibm/ecdump}} (medium speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x07 &amp;gt; /proc/acpi/ibm/ecdump}} (maximum speed)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x80 &amp;gt; /proc/acpi/ibm/ecdump}} (automatic - default)&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 0x2F 0x40 &amp;gt; /proc/acpi/ibm/ecdump}} (disengaged)&lt;br /&gt;
&lt;br /&gt;
See the specifications below for the meaning of these modes.&lt;br /&gt;
&lt;br /&gt;
===On/off control using stock kernel===&lt;br /&gt;
&lt;br /&gt;
If you only wish to turn the fan on and off (with automatic control when it's on), you can use the following.&lt;br /&gt;
&lt;br /&gt;
When loading [[ibm-acpi]] v0.11 with experimental switch ({{cmdroot|1=modprobe ibm_acpi experimental=1}}), it is possible to read and write the status of fan:&lt;br /&gt;
&lt;br /&gt;
 '''#cat /proc/acpi/ibm/fan'''&lt;br /&gt;
 status:         enabled&lt;br /&gt;
 speed:          3580&lt;br /&gt;
 commands:       enable, disable&lt;br /&gt;
 &lt;br /&gt;
 '''#echo disable &amp;gt; /proc/acpi/ibm/fan'''&lt;br /&gt;
 &lt;br /&gt;
 '''cat /proc/acpi/ibm/fan'''&lt;br /&gt;
 status:         disabled&lt;br /&gt;
 speed:          0&lt;br /&gt;
 commands:       enable, disable&lt;br /&gt;
&lt;br /&gt;
When off, the fan will then '''never''' wake up. It is advised to use an automated control script to reduce the chance of hardware damage.&lt;br /&gt;
&lt;br /&gt;
===Automated control scripts===&lt;br /&gt;
&lt;br /&gt;
An [[ACPI fan control script#Variable speed control scripts|ACPI fan control script]] can be used to override the firmware's fan algorithm with gentler, quieter version. It monitors the laptop's [[thermal sensors]] and sets the fan speed accordingly, according to customizable thresholds. For the default behavior, simply save {{CodeRef|tp-fancontrol}} as {{path|tp-fancontrol}}, make sure you've loaded [[thinkpad-acpi]] with the &amp;quot;fan_control=1&amp;quot; parameter, and run:&amp;lt;br /&amp;gt;&lt;br /&gt;
{{cmdroot|./tp-fancontrol}}&lt;br /&gt;
&lt;br /&gt;
There is an distro independent daemon (http://launchpad.net/tp-fan/tpfand/0.94/+download/tpfand-0.94.tar.gz), written in python. Packages are available for debian based linux systems.&lt;br /&gt;
&lt;br /&gt;
[http://www.gambitchess.org/moin.py/ThinkPad_Fan_Control A GTK GUI program (packaged for Ubuntu 7.10 and 8.04)] may also help.&lt;br /&gt;
&lt;br /&gt;
===Automated program - Simple ThinkPad Fan Control===&lt;br /&gt;
Written by Stanko, stanko [at] mfhinc [dot] net&lt;br /&gt;
&lt;br /&gt;
This is program for controlling fans speed on IBM/Lenovo ThinkPads. It is written&lt;br /&gt;
for Linux only. This program is written in C, using GTK GUI.&lt;br /&gt;
 &lt;br /&gt;
You are required to have the Linux kernel with 'thinkpad-acpi' patch.&lt;br /&gt;
You must also enable manual control for your fans. For Linux 2.6.22 and above,&lt;br /&gt;
you must add 'fan_control=1' as a module parameter to 'thinkpad-acpi'.&lt;br /&gt;
For example, in Debian Lenny (and Ubuntu 8.04), you must add the following&lt;br /&gt;
to &amp;quot;/etc/modprobe.d/options&amp;quot;:&lt;br /&gt;
        options thinkpad_acpi fan_control=1&lt;br /&gt;
 &lt;br /&gt;
Having done so, reboot. Now you'll be able to use this program easily.&lt;br /&gt;
 &lt;br /&gt;
Here is screenshot:&lt;br /&gt;
[[Image:Tpfc.png|none]]&lt;br /&gt;
&lt;br /&gt;
and direct download (src + i386 32bit binary). Please read README.txt file&lt;br /&gt;
included in package. [[http://stanko.mfhinc.net/projects/tpfc/tpfc0.5.tar.gz tpfc0.5.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
I wrote this for my own personal use, and thought that it would be a good idea&lt;br /&gt;
to release it to the world, and hope that it will be useful to someone!&lt;br /&gt;
Feel free to send comments, bug reports or a thanks to the e-mail above.&lt;br /&gt;
&lt;br /&gt;
==For Windows==&lt;br /&gt;
&lt;br /&gt;
Shimodax's ThinkPad fan control tool offers similar functionality (see [http://forum.thinkpads.com/viewtopic.php?t=17715 forum discussion] at thinkpads.com).  Source and binaries are available through the [http://sourceforge.net/projects/tp4xfancontrol &amp;quot;Tp4xFanControl&amp;quot;] project on SourceForge.&lt;br /&gt;
&lt;br /&gt;
==Hardware specs==&lt;br /&gt;
&lt;br /&gt;
The following hardware behavior was discovered experimentally by [[User:Thinker|Thinker]] and neither provided by nor confirmed by IBM/Lenovo. The following description may be inaccurate and may vary by model (see list of models above). The terminology probably does not match the one used by IBM/Lenovo engineers.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Information on other models is included in the [[ibm-acpi]] [[Git]] version.}}&lt;br /&gt;
{{NOTE|1=The ThinkPad {{X61s}} and {{X61}} with WWAN have a [http://forum.notebookreview.com/showthread.php?t=141931 second system fan]; its interface is currently unknown.}}&lt;br /&gt;
&lt;br /&gt;
ACPI DSDT register HFSP (8 bits, offset 0x2F in the &amp;lt;tt&amp;gt;EmbeddedController&amp;lt;/tt&amp;gt; address space, accessed through the standard EC interface at IO ports 0x62 and 0x66) is read/writable and has the following meaning:&lt;br /&gt;
 &lt;br /&gt;
 Bits   7 6 5 4 3 2 1 0&lt;br /&gt;
        ---------------&lt;br /&gt;
 Value  1 0 * * * * * *  - automatic&lt;br /&gt;
        * 1 * * * * * *  - disengaged&lt;br /&gt;
        0 0 N N N N N N  - manual (0..63; 0=disable fan, 1=min, ..., 7=max)&lt;br /&gt;
&lt;br /&gt;
Changing modes may not be immediate on all ThinkPads.  Later ThinkPad models seem to take at least 5s to start responding to a fan mode change, for example.&lt;br /&gt;
&lt;br /&gt;
After boot, the HFSP register may not reflect the true state of the EC (on some models it reads 0x07 even though the EC is actually in automatic mode).&lt;br /&gt;
&lt;br /&gt;
=== Fan Tachometer ===&lt;br /&gt;
&lt;br /&gt;
The embedded controller registers 0x84 (LSB), 0x85 (MSB) are the main fan tachometer, and report fan speed in RPM in everything since the {{A31}} and maybe a little earlier.  Not much is know about the tachometer in earlier models, or even whether they had one or not.&lt;br /&gt;
&lt;br /&gt;
=== Automatic mode ===&lt;br /&gt;
In ''automatic'' mode, the embedded controller sets the fan speed automatically according to system temperatures and some unknown algorithm.&lt;br /&gt;
&lt;br /&gt;
Note that the ACPI DSDT may supplement this in some models.  The {{X40}}, for example, changes the profile of speeds the automatic mode should use depending on battery status.&lt;br /&gt;
&lt;br /&gt;
=== Manual mode ===&lt;br /&gt;
&lt;br /&gt;
In ''manual'' mode, the fan level is forced to the given value and the EC will auto-regulate the fan to maintain at a (roughly) constant RPM, which is model-dependent. Manual speed levels 8-63 yield the same behavior as level 7, and the the ACPI DSDT uses level 7 for the emergency mode it enters upon critical CPU/GPU temperature, so apparently 7 is the real maximum level.&lt;br /&gt;
&lt;br /&gt;
=== Disengaged (full-speed) mode ===&lt;br /&gt;
&lt;br /&gt;
In ''disengaged'' mode, the embedded controller does not monitor the fan speed.  It &amp;quot;disengages&amp;quot; the closed-loop control function that keeps track of fan speed, and uses an open-loop control function that ramps up the fan to its maximum speed (100% duty-cycle).  The end speed is not stable, but it is often much faster than the maximum speed manual and automatic modes would set the fan to.&lt;br /&gt;
&lt;br /&gt;
Most newer ThinkPads take quite a while (in excess of one minute) to fully enter disengaged mode.  Exiting it is much faster.  The {{A31}} acts differently, and switches to disengaged mode as fast as it switches to other modes.&lt;br /&gt;
&lt;br /&gt;
For some reason, the embedded controller may stop updating the tachometer registers while entering or exiting disengaged mode in some ThinkPad firmware versions (hence the EC tachometer registers will not be updated on these models while entering/exiting disengaged mode).  Once it arrives at maximum speed, or once it gets back at closed-loop cruise speed, the embedded controller starts updating the tachometer registers again.   Later T models such as the {{T43}} have this problem, while the {{A31}} does not.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Apparently the [[Problem with fan noise|pulsing fan noise]] experienced by some users can be cured by repeatedly running 2-4 seconds of manual control followed by 0.5-1 seconds of disengaged mode. The pulse occurs when the the embedded controller computes the fan speed and adjusts the fan voltage adaptively every few seconds (~4.8sec for the ThinkPad T43); the aforementioned mode switching doesn't give it a chance to do so. One of the [[ACPI fan control script#Variable speed control scripts|ACPI fan control scripts]] implements this solution.}}&lt;br /&gt;
&lt;br /&gt;
==Supported models==&lt;br /&gt;
&lt;br /&gt;
The above was successfully tested on the following models:&lt;br /&gt;
&lt;br /&gt;
* ThinkPad {{A31}}, {{A31p}} (fan levels RPM: 0 = off, 1-2 = ~3280-3380 (!), 3-5 = ~3200, 6-7 = ~3380, &amp;quot;disengaged&amp;quot; = ~4000 (see NOTE above))&lt;br /&gt;
* ThinkPad {{R50}} (highest manual level is 3; disengage mode works and reaches much higher RPM)&lt;br /&gt;
* ThinkPad {{R50p}} (fan levels RPM: 0 = off, 1-2 = ~3200, 3-5 = ~3500-3600, 6-7 = ~3700-3800, disengaged = ~5300)&lt;br /&gt;
* ThinkPad {{R51}} (fan levels RPM: 0 = off, 1-2 = ~3150, 3-5 = ~3350, 6 = ~3750, disengaged = ~5100)&lt;br /&gt;
* ThinkPad {{R51e}} (fan levels RPM: 0 = off, 1-2 = ~3300, 3-5 = ~3800, 6 = ~4150, disengaged = ~5100)&lt;br /&gt;
* ThinkPad {{R52}} (fan levels RPM: 0 = off, 1-2 = ~3350, 3-5 = ~3650, 6 = ~4250, disengaged = ~5245)&lt;br /&gt;
* ThinkPad {{R60}} (fan levels RPM: 0 = off, 1-1 = ~2650, 3-5 = ~3300, 6-7 = ~3950, disengaged = ~4800)&lt;br /&gt;
* ThinkPad {{R60e}}&lt;br /&gt;
* ThinkPad {{T22}}&lt;br /&gt;
* ThinkPad {{T23}} (low speed = ~2200, medium and maximum speed = ~4800; disengaged mode works at ~5800)&lt;br /&gt;
* ThinkPad {{T30}}&lt;br /&gt;
* ThinkPad {{T40}} (fan levels RPM: 1-2 = ~2950, 3-5 = ~3600, 6-7 = ~4050; disengaged = ~5400)&lt;br /&gt;
* ThinkPad {{T41}}, {{T41p}} (fan levels RPM: 1-2 = ~2980, 3-5 = ~3500, 6-7 = ~4050; disengaged mode works at ~5100)&lt;br /&gt;
* ThinkPad {{T42}}, {{T42p}} (fan levels RPM: 1-2 = ~2900, 3-5 = ~3700, 6-7 = ~4700; disengaged mode works at ~5200)&lt;br /&gt;
* ThinkPad {{T43}}, {{T43p}} (fan levels RPM: 1-2 = ~3300, 3-5 = ~4100, 6-7 = ~4700; disengaged mode works at ~6450)&lt;br /&gt;
* ThinkPad {{T60}} (fan levels RPM: 1-2 = 3000-3100, 3-5 = ~3600, 6-7 = ~4500; disengaged mode works at ~5500)&lt;br /&gt;
* ThinkPad {{W500}} (fan levels RPM: 0=off, 1-2 = 1900, 3-5 = ~3000, 6-7 = ~3500; disengaged mode works at ~5100)&lt;br /&gt;
* ThinkPad {{T61}} (fan levels RPM: 0 = off, 1-2 = ~2980, 3-5 = ~3330, 6-7 = ~3760; disengaged mode works at ~4500)&lt;br /&gt;
* ThinkPad {{X30}} (level 0 = off, low = ~3900, medium = ~4200, maximum = ~4650, disengaged = ~5900)&lt;br /&gt;
* ThinkPad {{X31}} (fan levels RPM: 0 = off, 1-2 = ~2850, 3-5 = ~3450, 6 = ~4050, 7 = ~4150; disengaged mode works at ~4975)&lt;br /&gt;
* ThinkPad {{X40}}&lt;br /&gt;
* ThinkPad {{X41}}&lt;br /&gt;
* ThinkPad {{X41T}}&lt;br /&gt;
* ThinkPad {{X60}} (fan levels RPM: 7 = ~3700, disengaged ~4700)&lt;br /&gt;
* ThinkPad {{X61}} (fan levels RPM: 1-2 = ~3400, 3-5 = ~3800, 6-7 = ~4500, disengaged = ~6700)&lt;br /&gt;
* ThinkPad {{X61s}} (fan levels RPM: 0 = off, 1-2 = ~3800, 3-5 = ~4500, 6-7 = ~4800, disengaged = ~4800) (though fancontrol can keep it at 2500rpm...)&lt;br /&gt;
* ThinkPad {{Z60t}}, {{Z60m}} (fan levels RPM: 1-2 = ~1700, 3-5 = ~2800, 6-7 = ~3500)&lt;br /&gt;
* ThinkPad {{Z61m}}&lt;br /&gt;
* Thinkpad {{Z61p}} (fan levels 0-7, auto, disengaged; enable, disable; watchdog (untested))&lt;br /&gt;
Probably other models are supported too (please update this page if you confirm this; maintain some ordering too).&lt;br /&gt;
&lt;br /&gt;
==Models using a different interface==&lt;br /&gt;
&lt;br /&gt;
The following models also work, use a different access method which supported (only) via the {{path|/proc/acpi/ibm/fan}} of [[ibm-acpi]]. No need for patching.&lt;br /&gt;
&lt;br /&gt;
* ThinkPad {{600E}}, {{600X}}, {{770E}}, {{770X}} (these use a different fan control interface)&lt;br /&gt;
&lt;br /&gt;
==Unsupported models==&lt;br /&gt;
&lt;br /&gt;
* ThinkPad {{560}} (these models don't have a fan)&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44932</id>
		<title>Thinkpad-acpi</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44932"/>
		<updated>2009-11-28T12:06:40Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Thinkpad-specific ACPI driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
== thinkpad-acpi - IBM ThinkPad ACPI Extras Driver ==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov, and currently maintained by [[User:hmh|Henrique de Moraes Holschuh]]. It was originally named ibm-acpi, but got renamed to thinkpad-acpi and is included with the Linux kernel. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.&lt;br /&gt;
&lt;br /&gt;
{{WARN|As of kernel 2.6.27 the thinkpad-acpi bay and dock drivers should no longer be used. Instead use the standard ACPI bay and dock drivers. As of kernel 2.6.31 the thinkpad-acpi bay and dock drivers have been removed completely.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thinkpad-specific ACPI driver==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov and Henrique de Moraes Holschuh. The driver replaces ibm-acpi in Linux mainline as of 2.6.22 (March 2007). To confuse matters further, it appears that there was also an older (now abandoned) driver of the same name written by Erik Rigtorp which never made it into the mainline kernel. The current thinkpad-acpi contains essentially the same functionality as ibm-acpi with some added features. Among which are registering of acpi events to the &amp;quot;thinkvantage&amp;quot; and volume/mute buttons which could previously only be accessed through the use of the [[tpb]] utility.&lt;br /&gt;
&lt;br /&gt;
Note :&lt;br /&gt;
In Linux Kernel v2.6.31-gentoo-r6 &amp;quot;make menuconfig&amp;quot; the driver can be enabled in :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   Device Drivers  ---&amp;gt; &lt;br /&gt;
     [*] X86 Platform Specific Device Drivers  ---&amp;gt;  &lt;br /&gt;
       &amp;lt;*&amp;gt;   ThinkPad ACPI Laptop Extras          &lt;br /&gt;
       [ ]     Maintainer debug facilities       &lt;br /&gt;
       [ ]     Verbose debug mode                                                           &lt;br /&gt;
       [ ]     Allow control of important LEDs (unsafe)&lt;br /&gt;
       [*]     Video output control support            &lt;br /&gt;
       [*]     Support NVRAM polling for hot keys      &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hotkeys==&lt;br /&gt;
To view which hotkeys are active you can use &amp;quot;acpi_listen&amp;quot;, but that is deprecated.  A better way is to use &amp;quot;lsinput&amp;quot; and &amp;quot;input-events&amp;quot; commands to look at the output of the thinkpad-acpi input device(s).&lt;br /&gt;
&lt;br /&gt;
One important difference from ibm-acpi for those who wish to enable all possible hot keys, is that thinkpad-acpi automatically enables them.  One should not need to do anything to get the best possible thinkpad-acpi configuration for his ThinkPad (as long as he is using the latest thinkpad-acpi).&lt;br /&gt;
&lt;br /&gt;
In particular, old documentation that tells you to &amp;quot;echo enable,0xffffffff &amp;gt;/proc/acpi/ibm/hotkey&amp;quot;, or to give thinkpad-acpi any hotkey= module parameters to enable hot keys by default, is likely incorrect.&lt;br /&gt;
&lt;br /&gt;
The thinkpad-acpi driver has detailed documentation, which is shipped inside the Linux kernel sources, as &amp;quot;Documentation/thinkpad-acpi.txt&amp;quot; or as &amp;quot;Documentation/laptops/thinkpad-acpi.txt&amp;quot;.  If you feel a need to change the hot key mask manually, it is probably best to look at that documentation first to understand the full side effects of any changes.&lt;br /&gt;
&lt;br /&gt;
==sysfs interface==&lt;br /&gt;
some of the ThinkPad specific settings can be viewed or altered in sysfs under {{path|/sys/devices/platform/thinkpad_acpi}} and {{path|/sys/devices/platform/thinkpad_hwmon}}&lt;br /&gt;
&lt;br /&gt;
====thinkpad_acpi====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_acpi}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- bluetooth_enable&lt;br /&gt;
|-- cmos_command&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_acpi&lt;br /&gt;
|-- hotkey_all_mask&lt;br /&gt;
|-- hotkey_bios_enabled&lt;br /&gt;
|-- hotkey_bios_mask&lt;br /&gt;
|-- hotkey_enable&lt;br /&gt;
|-- hotkey_mask&lt;br /&gt;
|-- hotkey_poll_freq&lt;br /&gt;
|-- hotkey_radio_sw&lt;br /&gt;
|-- hotkey_recommended_mask&lt;br /&gt;
|-- hotkey_report_mode&lt;br /&gt;
|-- hotkey_source_mask&lt;br /&gt;
|-- leds&lt;br /&gt;
|   |-- tpacpi::power&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::standby&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::thinklight&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   `-- tpacpi::thinkvantage&lt;br /&gt;
|       |-- brightness&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- max_brightness&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|       |-- trigger&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- rfkill&lt;br /&gt;
|   `-- rfkill0&lt;br /&gt;
|       |-- claim&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- index&lt;br /&gt;
|       |-- name&lt;br /&gt;
|       |-- persistent&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- state&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/rfkill&lt;br /&gt;
|       |-- type&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- uevent&lt;br /&gt;
|-- wakeup_hotunplug_complete&lt;br /&gt;
`-- wakeup_reason&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====thinkpad_hwmon====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_hwmon}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_hwmon&lt;br /&gt;
|-- fan1_input&lt;br /&gt;
|-- hwmon&lt;br /&gt;
|   `-- hwmon0&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_hwmon&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/hwmon&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- name&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- pwm1&lt;br /&gt;
|-- pwm1_enable&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- temp10_input&lt;br /&gt;
|-- temp11_input&lt;br /&gt;
|-- temp12_input&lt;br /&gt;
|-- temp13_input&lt;br /&gt;
|-- temp14_input&lt;br /&gt;
|-- temp15_input&lt;br /&gt;
|-- temp16_input&lt;br /&gt;
|-- temp1_input&lt;br /&gt;
|-- temp2_input&lt;br /&gt;
|-- temp3_input&lt;br /&gt;
|-- temp4_input&lt;br /&gt;
|-- temp5_input&lt;br /&gt;
|-- temp6_input&lt;br /&gt;
|-- temp7_input&lt;br /&gt;
|-- temp8_input&lt;br /&gt;
|-- temp9_input&lt;br /&gt;
`-- uevent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==proc interface==&lt;br /&gt;
some legacy interfaces can also be found under {{path|/proc/acpi/ibm}} these interfaces should be considered deprecated. Please use sysfs instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- beep&lt;br /&gt;
|-- bluetooth&lt;br /&gt;
|-- cmos&lt;br /&gt;
|-- driver&lt;br /&gt;
|-- fan&lt;br /&gt;
|-- hotkey&lt;br /&gt;
|-- led&lt;br /&gt;
|-- light&lt;br /&gt;
|-- thermal&lt;br /&gt;
|-- video&lt;br /&gt;
`-- volume&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
To help with development and maintenance of the thinkpad-acpi driver, please add your model to the [[List of DMI IDs]].&lt;br /&gt;
&lt;br /&gt;
==Further documentation==&lt;br /&gt;
More comprehensive documentation can be found in the kernel source tree under &amp;lt;tt&amp;gt;Documentation/thinkpad-acpi.txt&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;Documentation/laptops/thinkpad-acpi.txt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== External links related to thinkpad-acpi ===&lt;br /&gt;
* [http://ibm-acpi.sf.net ibm-acpi/thinkpad-acpi main page in Sourceforge]&lt;br /&gt;
* [http://acpi.sourceforge.net Linux ACPI main page in Sourceforge], includes DSDT repository&lt;br /&gt;
* [http://www.kernel.org kernel.org main archives]&lt;br /&gt;
* [http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git thinkpad-acpi development git tree]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;br /&gt;
&lt;br /&gt;
=== Supported ThinkPads ===&lt;br /&gt;
* {{770X}} , {{770Z}}&lt;br /&gt;
* {{A Series}}&lt;br /&gt;
* {{G Series}}&lt;br /&gt;
* {{R Series}}&lt;br /&gt;
* {{T Series}}&lt;br /&gt;
* {{W Series}}&lt;br /&gt;
* {{X Series}}&lt;br /&gt;
* {{Z Series}}&lt;br /&gt;
* {{TransNote}}&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44931</id>
		<title>Thinkpad-acpi</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44931"/>
		<updated>2009-11-28T12:06:15Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Thinkpad-specific ACPI driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
== thinkpad-acpi - IBM ThinkPad ACPI Extras Driver ==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov, and currently maintained by [[User:hmh|Henrique de Moraes Holschuh]]. It was originally named ibm-acpi, but got renamed to thinkpad-acpi and is included with the Linux kernel. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.&lt;br /&gt;
&lt;br /&gt;
{{WARN|As of kernel 2.6.27 the thinkpad-acpi bay and dock drivers should no longer be used. Instead use the standard ACPI bay and dock drivers. As of kernel 2.6.31 the thinkpad-acpi bay and dock drivers have been removed completely.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thinkpad-specific ACPI driver==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov and Henrique de Moraes Holschuh. The driver replaces ibm-acpi in Linux mainline as of 2.6.22 (March 2007). To confuse matters further, it appears that there was also an older (now abandoned) driver of the same name written by Erik Rigtorp which never made it into the mainline kernel. The current thinkpad-acpi contains essentially the same functionality as ibm-acpi with some added features. Among which are registering of acpi events to the &amp;quot;thinkvantage&amp;quot; and volume/mute buttons which could previously only be accessed through the use of the [[tpb]] utility.&lt;br /&gt;
&lt;br /&gt;
Note :&lt;br /&gt;
In Linux Kernel v2.6.31-gentoo-r6 the driver can be enabled in :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   Device Drivers  ---&amp;gt; &lt;br /&gt;
     [*] X86 Platform Specific Device Drivers  ---&amp;gt;  &lt;br /&gt;
       &amp;lt;*&amp;gt;   ThinkPad ACPI Laptop Extras          &lt;br /&gt;
       [ ]     Maintainer debug facilities       &lt;br /&gt;
       [ ]     Verbose debug mode                                                           &lt;br /&gt;
       [ ]     Allow control of important LEDs (unsafe)&lt;br /&gt;
       [*]     Video output control support            &lt;br /&gt;
       [*]     Support NVRAM polling for hot keys      &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hotkeys==&lt;br /&gt;
To view which hotkeys are active you can use &amp;quot;acpi_listen&amp;quot;, but that is deprecated.  A better way is to use &amp;quot;lsinput&amp;quot; and &amp;quot;input-events&amp;quot; commands to look at the output of the thinkpad-acpi input device(s).&lt;br /&gt;
&lt;br /&gt;
One important difference from ibm-acpi for those who wish to enable all possible hot keys, is that thinkpad-acpi automatically enables them.  One should not need to do anything to get the best possible thinkpad-acpi configuration for his ThinkPad (as long as he is using the latest thinkpad-acpi).&lt;br /&gt;
&lt;br /&gt;
In particular, old documentation that tells you to &amp;quot;echo enable,0xffffffff &amp;gt;/proc/acpi/ibm/hotkey&amp;quot;, or to give thinkpad-acpi any hotkey= module parameters to enable hot keys by default, is likely incorrect.&lt;br /&gt;
&lt;br /&gt;
The thinkpad-acpi driver has detailed documentation, which is shipped inside the Linux kernel sources, as &amp;quot;Documentation/thinkpad-acpi.txt&amp;quot; or as &amp;quot;Documentation/laptops/thinkpad-acpi.txt&amp;quot;.  If you feel a need to change the hot key mask manually, it is probably best to look at that documentation first to understand the full side effects of any changes.&lt;br /&gt;
&lt;br /&gt;
==sysfs interface==&lt;br /&gt;
some of the ThinkPad specific settings can be viewed or altered in sysfs under {{path|/sys/devices/platform/thinkpad_acpi}} and {{path|/sys/devices/platform/thinkpad_hwmon}}&lt;br /&gt;
&lt;br /&gt;
====thinkpad_acpi====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_acpi}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- bluetooth_enable&lt;br /&gt;
|-- cmos_command&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_acpi&lt;br /&gt;
|-- hotkey_all_mask&lt;br /&gt;
|-- hotkey_bios_enabled&lt;br /&gt;
|-- hotkey_bios_mask&lt;br /&gt;
|-- hotkey_enable&lt;br /&gt;
|-- hotkey_mask&lt;br /&gt;
|-- hotkey_poll_freq&lt;br /&gt;
|-- hotkey_radio_sw&lt;br /&gt;
|-- hotkey_recommended_mask&lt;br /&gt;
|-- hotkey_report_mode&lt;br /&gt;
|-- hotkey_source_mask&lt;br /&gt;
|-- leds&lt;br /&gt;
|   |-- tpacpi::power&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::standby&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::thinklight&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   `-- tpacpi::thinkvantage&lt;br /&gt;
|       |-- brightness&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- max_brightness&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|       |-- trigger&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- rfkill&lt;br /&gt;
|   `-- rfkill0&lt;br /&gt;
|       |-- claim&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- index&lt;br /&gt;
|       |-- name&lt;br /&gt;
|       |-- persistent&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- state&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/rfkill&lt;br /&gt;
|       |-- type&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- uevent&lt;br /&gt;
|-- wakeup_hotunplug_complete&lt;br /&gt;
`-- wakeup_reason&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====thinkpad_hwmon====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_hwmon}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_hwmon&lt;br /&gt;
|-- fan1_input&lt;br /&gt;
|-- hwmon&lt;br /&gt;
|   `-- hwmon0&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_hwmon&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/hwmon&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- name&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- pwm1&lt;br /&gt;
|-- pwm1_enable&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- temp10_input&lt;br /&gt;
|-- temp11_input&lt;br /&gt;
|-- temp12_input&lt;br /&gt;
|-- temp13_input&lt;br /&gt;
|-- temp14_input&lt;br /&gt;
|-- temp15_input&lt;br /&gt;
|-- temp16_input&lt;br /&gt;
|-- temp1_input&lt;br /&gt;
|-- temp2_input&lt;br /&gt;
|-- temp3_input&lt;br /&gt;
|-- temp4_input&lt;br /&gt;
|-- temp5_input&lt;br /&gt;
|-- temp6_input&lt;br /&gt;
|-- temp7_input&lt;br /&gt;
|-- temp8_input&lt;br /&gt;
|-- temp9_input&lt;br /&gt;
`-- uevent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==proc interface==&lt;br /&gt;
some legacy interfaces can also be found under {{path|/proc/acpi/ibm}} these interfaces should be considered deprecated. Please use sysfs instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- beep&lt;br /&gt;
|-- bluetooth&lt;br /&gt;
|-- cmos&lt;br /&gt;
|-- driver&lt;br /&gt;
|-- fan&lt;br /&gt;
|-- hotkey&lt;br /&gt;
|-- led&lt;br /&gt;
|-- light&lt;br /&gt;
|-- thermal&lt;br /&gt;
|-- video&lt;br /&gt;
`-- volume&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
To help with development and maintenance of the thinkpad-acpi driver, please add your model to the [[List of DMI IDs]].&lt;br /&gt;
&lt;br /&gt;
==Further documentation==&lt;br /&gt;
More comprehensive documentation can be found in the kernel source tree under &amp;lt;tt&amp;gt;Documentation/thinkpad-acpi.txt&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;Documentation/laptops/thinkpad-acpi.txt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== External links related to thinkpad-acpi ===&lt;br /&gt;
* [http://ibm-acpi.sf.net ibm-acpi/thinkpad-acpi main page in Sourceforge]&lt;br /&gt;
* [http://acpi.sourceforge.net Linux ACPI main page in Sourceforge], includes DSDT repository&lt;br /&gt;
* [http://www.kernel.org kernel.org main archives]&lt;br /&gt;
* [http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git thinkpad-acpi development git tree]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;br /&gt;
&lt;br /&gt;
=== Supported ThinkPads ===&lt;br /&gt;
* {{770X}} , {{770Z}}&lt;br /&gt;
* {{A Series}}&lt;br /&gt;
* {{G Series}}&lt;br /&gt;
* {{R Series}}&lt;br /&gt;
* {{T Series}}&lt;br /&gt;
* {{W Series}}&lt;br /&gt;
* {{X Series}}&lt;br /&gt;
* {{Z Series}}&lt;br /&gt;
* {{TransNote}}&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44930</id>
		<title>Thinkpad-acpi</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thinkpad-acpi&amp;diff=44930"/>
		<updated>2009-11-28T12:05:30Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Thinkpad-specific ACPI driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
== thinkpad-acpi - IBM ThinkPad ACPI Extras Driver ==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov, and currently maintained by [[User:hmh|Henrique de Moraes Holschuh]]. It was originally named ibm-acpi, but got renamed to thinkpad-acpi and is included with the Linux kernel. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.&lt;br /&gt;
&lt;br /&gt;
{{WARN|As of kernel 2.6.27 the thinkpad-acpi bay and dock drivers should no longer be used. Instead use the standard ACPI bay and dock drivers. As of kernel 2.6.31 the thinkpad-acpi bay and dock drivers have been removed completely.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thinkpad-specific ACPI driver==&lt;br /&gt;
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov and Henrique de Moraes Holschuh. The driver replaces ibm-acpi in Linux mainline as of 2.6.22 (March 2007). To confuse matters further, it appears that there was also an older (now abandoned) driver of the same name written by Erik Rigtorp which never made it into the mainline kernel. The current thinkpad-acpi contains essentially the same functionality as ibm-acpi with some added features. Among which are registering of acpi events to the &amp;quot;thinkvantage&amp;quot; and volume/mute buttons which could previously only be accessed through the use of the [[tpb]] utility.&lt;br /&gt;
&lt;br /&gt;
Note :&lt;br /&gt;
In gentoo kernel 2.6.31 the driver can be enabled in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   Device Drivers  ---&amp;gt; &lt;br /&gt;
     [*] X86 Platform Specific Device Drivers  ---&amp;gt;  &lt;br /&gt;
       &amp;lt;*&amp;gt;   ThinkPad ACPI Laptop Extras          &lt;br /&gt;
       [ ]     Maintainer debug facilities       &lt;br /&gt;
       [ ]     Verbose debug mode                                                           &lt;br /&gt;
       [ ]     Allow control of important LEDs (unsafe)&lt;br /&gt;
       [*]     Video output control support            &lt;br /&gt;
       [*]     Support NVRAM polling for hot keys      &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hotkeys==&lt;br /&gt;
To view which hotkeys are active you can use &amp;quot;acpi_listen&amp;quot;, but that is deprecated.  A better way is to use &amp;quot;lsinput&amp;quot; and &amp;quot;input-events&amp;quot; commands to look at the output of the thinkpad-acpi input device(s).&lt;br /&gt;
&lt;br /&gt;
One important difference from ibm-acpi for those who wish to enable all possible hot keys, is that thinkpad-acpi automatically enables them.  One should not need to do anything to get the best possible thinkpad-acpi configuration for his ThinkPad (as long as he is using the latest thinkpad-acpi).&lt;br /&gt;
&lt;br /&gt;
In particular, old documentation that tells you to &amp;quot;echo enable,0xffffffff &amp;gt;/proc/acpi/ibm/hotkey&amp;quot;, or to give thinkpad-acpi any hotkey= module parameters to enable hot keys by default, is likely incorrect.&lt;br /&gt;
&lt;br /&gt;
The thinkpad-acpi driver has detailed documentation, which is shipped inside the Linux kernel sources, as &amp;quot;Documentation/thinkpad-acpi.txt&amp;quot; or as &amp;quot;Documentation/laptops/thinkpad-acpi.txt&amp;quot;.  If you feel a need to change the hot key mask manually, it is probably best to look at that documentation first to understand the full side effects of any changes.&lt;br /&gt;
&lt;br /&gt;
==sysfs interface==&lt;br /&gt;
some of the ThinkPad specific settings can be viewed or altered in sysfs under {{path|/sys/devices/platform/thinkpad_acpi}} and {{path|/sys/devices/platform/thinkpad_hwmon}}&lt;br /&gt;
&lt;br /&gt;
====thinkpad_acpi====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_acpi}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- bluetooth_enable&lt;br /&gt;
|-- cmos_command&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_acpi&lt;br /&gt;
|-- hotkey_all_mask&lt;br /&gt;
|-- hotkey_bios_enabled&lt;br /&gt;
|-- hotkey_bios_mask&lt;br /&gt;
|-- hotkey_enable&lt;br /&gt;
|-- hotkey_mask&lt;br /&gt;
|-- hotkey_poll_freq&lt;br /&gt;
|-- hotkey_radio_sw&lt;br /&gt;
|-- hotkey_recommended_mask&lt;br /&gt;
|-- hotkey_report_mode&lt;br /&gt;
|-- hotkey_source_mask&lt;br /&gt;
|-- leds&lt;br /&gt;
|   |-- tpacpi::power&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::standby&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   |-- tpacpi::thinklight&lt;br /&gt;
|   |   |-- brightness&lt;br /&gt;
|   |   |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|   |   |-- max_brightness&lt;br /&gt;
|   |   |-- power&lt;br /&gt;
|   |   |   `-- wakeup&lt;br /&gt;
|   |   |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|   |   |-- trigger&lt;br /&gt;
|   |   `-- uevent&lt;br /&gt;
|   `-- tpacpi::thinkvantage&lt;br /&gt;
|       |-- brightness&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- max_brightness&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/leds&lt;br /&gt;
|       |-- trigger&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- rfkill&lt;br /&gt;
|   `-- rfkill0&lt;br /&gt;
|       |-- claim&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_acpi&lt;br /&gt;
|       |-- index&lt;br /&gt;
|       |-- name&lt;br /&gt;
|       |-- persistent&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- state&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/rfkill&lt;br /&gt;
|       |-- type&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- uevent&lt;br /&gt;
|-- wakeup_hotunplug_complete&lt;br /&gt;
`-- wakeup_reason&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====thinkpad_hwmon====&lt;br /&gt;
{{path|/sys/devices/platform/thinkpad_hwmon}} directory structure is as follows on a T60 with kernel 2.6.31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- driver -&amp;gt; ../../../bus/platform/drivers/thinkpad_hwmon&lt;br /&gt;
|-- fan1_input&lt;br /&gt;
|-- hwmon&lt;br /&gt;
|   `-- hwmon0&lt;br /&gt;
|       |-- device -&amp;gt; ../../../thinkpad_hwmon&lt;br /&gt;
|       |-- power&lt;br /&gt;
|       |   `-- wakeup&lt;br /&gt;
|       |-- subsystem -&amp;gt; ../../../../../class/hwmon&lt;br /&gt;
|       `-- uevent&lt;br /&gt;
|-- modalias&lt;br /&gt;
|-- name&lt;br /&gt;
|-- power&lt;br /&gt;
|   `-- wakeup&lt;br /&gt;
|-- pwm1&lt;br /&gt;
|-- pwm1_enable&lt;br /&gt;
|-- subsystem -&amp;gt; ../../../bus/platform&lt;br /&gt;
|-- temp10_input&lt;br /&gt;
|-- temp11_input&lt;br /&gt;
|-- temp12_input&lt;br /&gt;
|-- temp13_input&lt;br /&gt;
|-- temp14_input&lt;br /&gt;
|-- temp15_input&lt;br /&gt;
|-- temp16_input&lt;br /&gt;
|-- temp1_input&lt;br /&gt;
|-- temp2_input&lt;br /&gt;
|-- temp3_input&lt;br /&gt;
|-- temp4_input&lt;br /&gt;
|-- temp5_input&lt;br /&gt;
|-- temp6_input&lt;br /&gt;
|-- temp7_input&lt;br /&gt;
|-- temp8_input&lt;br /&gt;
|-- temp9_input&lt;br /&gt;
`-- uevent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==proc interface==&lt;br /&gt;
some legacy interfaces can also be found under {{path|/proc/acpi/ibm}} these interfaces should be considered deprecated. Please use sysfs instead.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|-- beep&lt;br /&gt;
|-- bluetooth&lt;br /&gt;
|-- cmos&lt;br /&gt;
|-- driver&lt;br /&gt;
|-- fan&lt;br /&gt;
|-- hotkey&lt;br /&gt;
|-- led&lt;br /&gt;
|-- light&lt;br /&gt;
|-- thermal&lt;br /&gt;
|-- video&lt;br /&gt;
`-- volume&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
To help with development and maintenance of the thinkpad-acpi driver, please add your model to the [[List of DMI IDs]].&lt;br /&gt;
&lt;br /&gt;
==Further documentation==&lt;br /&gt;
More comprehensive documentation can be found in the kernel source tree under &amp;lt;tt&amp;gt;Documentation/thinkpad-acpi.txt&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;Documentation/laptops/thinkpad-acpi.txt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== External links related to thinkpad-acpi ===&lt;br /&gt;
* [http://ibm-acpi.sf.net ibm-acpi/thinkpad-acpi main page in Sourceforge]&lt;br /&gt;
* [http://acpi.sourceforge.net Linux ACPI main page in Sourceforge], includes DSDT repository&lt;br /&gt;
* [http://www.kernel.org kernel.org main archives]&lt;br /&gt;
* [http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git thinkpad-acpi development git tree]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;br /&gt;
&lt;br /&gt;
=== Supported ThinkPads ===&lt;br /&gt;
* {{770X}} , {{770Z}}&lt;br /&gt;
* {{A Series}}&lt;br /&gt;
* {{G Series}}&lt;br /&gt;
* {{R Series}}&lt;br /&gt;
* {{T Series}}&lt;br /&gt;
* {{W Series}}&lt;br /&gt;
* {{X Series}}&lt;br /&gt;
* {{Z Series}}&lt;br /&gt;
* {{TransNote}}&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pentium_M_undervolting_and_underclocking&amp;diff=44927</id>
		<title>Pentium M undervolting and underclocking</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pentium_M_undervolting_and_underclocking&amp;diff=44927"/>
		<updated>2009-11-27T20:19:52Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Alternative 0: linux-phc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Background ==&lt;br /&gt;
&lt;br /&gt;
Intel Pentium M processors from the [[Intel Pentium M (Dothan)|Dothan]] and [[Intel Pentium M (Banias)|Banias]] families can be instructed to operate at voltage and clock frequencies lower than the nominal ones recommended by Intel and used by ThinkPads by default. Experience shows that the processor may continue working correctly at lower-than-nominal voltages and frequencies, thereby reducing power consumption, heat and fan noise.&lt;br /&gt;
&lt;br /&gt;
In the Pentium M, speed and voltage are controlled by software (through the MSR registers). It is up to the operating system to choose the right voltage for each frequency. Normally this is done according to tables published by Intel or according to ACPI tables. However, this can be overriden - in the case of Linux, by a kernel patch.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Following this instructions will operate your CPU under conditions it was not designed for. Even if your system seems stable, it may still suffer transient faults leading to arbitrary data corruption. In addition, errors in following these instructions (or changes between processor models) may operate the CPU ''above'' its nominal parameters, which, if taken too far, can cause kernel panics or even possibly hardware damage}}&lt;br /&gt;
&lt;br /&gt;
For an example of what may be achieved, consider these examples: when voltages on one ThinkPad {{T43}} were reduced by 20-30%, stable CPU temperature dropped by 7-10deg under both idle and burn-in conditions. Combined with [[how to control fan speed|fan speed control]], this greatly reduced the [[Problem with fan noise|problem with fan noise]]. On one user's ThinkPad {{R51}}, an undervolt brought the full-load processor temperature down from 87 degrees to 63 degrees while maintaining full stability. The effect was, however, negligible at idle.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|While under''volting'' has a clear measurable effect, it's not clear if under''clocking'' really works. &amp;lt;tt&amp;gt;/proc/cpuinfo&amp;lt;/tt&amp;gt; reflects the underclocked frequency, but enabling debug output on &amp;lt;tt&amp;gt;cpufreq&amp;lt;/tt&amp;gt; causes it to say things like &amp;quot;&amp;lt;tt&amp;gt;CPU frequency out of sync: cpufreq and timing core thinks of 533000, is 800000 kHz.&amp;lt;/tt&amp;gt;&amp;quot; where the former is the chosen underclocked frequency and the latter is the documented minimum frequency. This discrepancy also causes [[Software Suspend 2]] to oops during suspend.}}&lt;br /&gt;
&lt;br /&gt;
There are several methods to control CPU voltage in Linux, and currently all of them require a patched kernel.&lt;br /&gt;
&lt;br /&gt;
== Alternative 0: linux-phc ==&lt;br /&gt;
&lt;br /&gt;
Use the [[linux-phc]] kernel patch. '''This is the recommended  method, as it is most generic and best supported.'''&lt;br /&gt;
* [http://phc.athousandnights.de/ linux-phc home page] &lt;br /&gt;
&lt;br /&gt;
The sysfs interface of linux-phc (version 0.3.0 or newer) requires you to specify VID (Voltage ID) numbers; see the documentation in the source package. For pre-Core Intel CPUs, VID is related to voltage (in mV) as follows: &amp;lt;tt&amp;gt;VID=(voltage-700)/16&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A typical configuration command would look something like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo '27 22 16 10 3' &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/phc_vids}}&lt;br /&gt;
&lt;br /&gt;
Note :&amp;lt;br&amp;gt;&lt;br /&gt;
phc now has a gui (phctool) for easier configuration. They are in a gentoo overlay : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&lt;br /&gt;
== Alternative 1: patch with hard-coded voltages ==&lt;br /&gt;
=== Instructions ===&lt;br /&gt;
&lt;br /&gt;
# Determine the stable voltages for each frequency, using some overclocking/undervolting utility that has specific support for Pentium M (&amp;quot;Centrino&amp;quot;) processors. It seems that no such utility exists for Linux. For windows, one good choice is [http://www.pbus-167.com/chc.htm Notebook Hardware Control (NHC)], which conveniently also includes a table of nominal frequencies and voltages (in its help file).&amp;lt;br&amp;gt; Ascertain that at the undervolted settings the CPU actually performs correct computation ([http://www.mersenne.org/freesoft.htm Prime95] in &amp;quot;Tortute Test&amp;quot; mode seems to be a good partial test emphasizing FPU and memory access).&amp;lt;br&amp;gt; Note that beside reducing voltages (undervolting), you can also try to add lower frequencies (underclocking). If you undervolt a particular frequency too much your machine is likely to crash, so try not to have any other programs open.&lt;br /&gt;
# Determine the model name string reported by the CPU, e.g., via the &amp;quot;&amp;lt;tt&amp;gt;Model name&amp;lt;/tt&amp;gt;&amp;quot; line in {{path|/proc/cpuinfo}}, and likewise the &amp;lt;tt&amp;gt;cpu_family&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;model&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;stepping&amp;lt;/tt&amp;gt;.&lt;br /&gt;
# Grab a copy of the example patch below and update it to reflect the parameters, frequencies and voltages you found.&lt;br /&gt;
# Apply the patch to your kernel (tested with 2.6.13.1 and 2.6.14-rc2).&lt;br /&gt;
# To prevent the ACPI table from overriding your table, disable the &amp;lt;tt&amp;gt;CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI&amp;lt;/tt&amp;gt; kernel option.&lt;br /&gt;
# Compile and install the new kernel.&lt;br /&gt;
&lt;br /&gt;
The changes should be active now. If you want to see debug information attesting to thus, do the following:&lt;br /&gt;
&lt;br /&gt;
# Reboot in &amp;lt;tt&amp;gt;single&amp;lt;/tt&amp;gt; mode.&lt;br /&gt;
# {{cmdroot|echo 2 &amp;gt; /sys/module/cpufreq/parameters/debug}}&lt;br /&gt;
# {{cmdroot|modprobe speedstep-centrino}}&lt;br /&gt;
# {{cmdroot|dmesg}} and check for the message &amp;quot;&amp;lt;tt&amp;gt;speedstep-centrino: found &amp;quot;Intel(R) Pentium(R) M processor &amp;lt;/tt&amp;gt;...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you don't see that message, you got the &amp;lt;tt&amp;gt;cpu_id&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;model_name&amp;lt;/tt&amp;gt; parmaeters wrong. If your system crashes, re-test the voltages and adjust accordingly.&lt;br /&gt;
&lt;br /&gt;
Please report your results (including voltages)!&lt;br /&gt;
&lt;br /&gt;
=== Linux kernel patch (example) ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how to undervolt a Pentium M 750 (1.86GHz) on a ThinkPad {{T43}}. As discussed above, the parameters are specific to this one CPU. You will need to experimentally find the correct settings for your own CPU and adjust the patch accordingly.&lt;br /&gt;
&lt;br /&gt;
Note that the Pentium M 750 has a 533MHz FSB (quad-pumped 133MHz), hence the use of &amp;lt;tt&amp;gt;OP133&amp;lt;/tt&amp;gt;. If you have a Pentium M with 400MHz FSB (i.e., quad-pumped 100MHz, found in [[Intel Pentium M (Banias)|Banias]] and older [[Intel Pentium M (Dothan)|Dothan]]) then in the voltage table change &amp;lt;tt&amp;gt;OP133&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;OP&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|undervolt-pentium-m-2.6.13.1.patch}}&lt;br /&gt;
&lt;br /&gt;
Don't forget to disable &amp;lt;tt&amp;gt;CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Alternative 2: patch with user-space control ==&lt;br /&gt;
&lt;br /&gt;
If you want to use the Ubuntu 2.6.15 Kernel, please have a look at this thread: http://ubuntuforums.org/showthread.php?t=146366&lt;br /&gt;
&lt;br /&gt;
The [http://fabrice.bellamy.club.fr/bdz.undervolt.2005.10.22.a.patch bdz.undervolt.2005.10.22.a.patch] patch, written by Gentoo-Wiki user &amp;quot;Bdz&amp;quot;, allows voltages to be changed without reboot.&lt;br /&gt;
&lt;br /&gt;
It presents a userspace interface, as in the following example:&lt;br /&gt;
:{{cmdroot|cat /sys/devices/system/cpu/cpu0/cpufreq/voltage_table}}&lt;br /&gt;
:{{cmdresult|1356,1356,1356,1356,1356,1356,1356,1244,1116,988}}&lt;br /&gt;
:{{cmdroot|echo &amp;quot;1084,1084,1084,1084,1084,1084,1084,988,908,860&amp;quot; &amp;gt;/sys/devices/system/cpu/cpu0/cpufreq/voltage_table}}&lt;br /&gt;
&lt;br /&gt;
The relevant [http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU page] on Gentoo-Wiki providues further information and some helpful hints and scripts for voltage adjustment.&lt;br /&gt;
&lt;br /&gt;
When applying this patch be sure to keep the &amp;quot;ACPI tables for decoding frequency pairs&amp;quot; option -- this patch only allows adjustment of the voltages for the normal clock speeds as reported by the ACPI table in the BIOS.  On some models (e.g., ThinkPad {{T43}}) this does not include all clock speeds supported by the processor.&lt;br /&gt;
&lt;br /&gt;
=== Initscript ===&lt;br /&gt;
This is a Gentoo initscript for the patch from Gentoo-Wiki user &amp;quot;Bdz&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Configuration file ====&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
# /etc/conf.d/undervoltage&lt;br /&gt;
&lt;br /&gt;
# voltage table sysfs interface&lt;br /&gt;
VTABLE_SYSFS=&amp;quot;/sys/devices/system/cpu/cpu0/cpufreq/voltage_table&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# switch back to  DEFAULT_VTABLE if undervoltage is stopped? [yes/no]&lt;br /&gt;
SWITCH_BACK=&amp;quot;no&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# pentium-m banias 1,7GHz default voltages&lt;br /&gt;
DEFAULT_VTABLE=&amp;quot;1484,1308,1228,1116,1004,956&amp;quot;&lt;br /&gt;
# pentium-m banias 1,7GHz lowered voltages [ -208mV ]&lt;br /&gt;
MOD_VTABLE=&amp;quot;1276,1100,1020,908,796,748&amp;quot;&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Initscript ====&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
#!/sbin/runscript&lt;br /&gt;
# Copyright 1999-2005 Gentoo Foundation&lt;br /&gt;
# Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
# $Header: $&lt;br /&gt;
&lt;br /&gt;
sysfs_check() {&lt;br /&gt;
&lt;br /&gt;
        if ! [ -e ${VTABLE_SYSFS} ]; then&lt;br /&gt;
                logger &amp;quot;No sysfs voltage_table present. Modifying vcore voltage failed.&amp;quot;&lt;br /&gt;
                eerror &amp;quot;It seems that the undervolting patch has not been applied to the kernel.&amp;quot;&lt;br /&gt;
                eerror &amp;quot;see http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU for further information&amp;quot;&lt;br /&gt;
                return 1&lt;br /&gt;
        fi&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
start() {&lt;br /&gt;
        sysfs_check || return 1&lt;br /&gt;
        ebegin &amp;quot;Switching to modified voltage table [${MOD_VTABLE}]&amp;quot;&lt;br /&gt;
                echo ${MOD_VTABLE} &amp;gt; ${VTABLE_SYSFS}&lt;br /&gt;
        eend $?&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# I think it is not necessary to switch to the default voltage table on shutdown&lt;br /&gt;
stop() {&lt;br /&gt;
        if [ $SWITCH_BACK = &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
                ebegin &amp;quot;Switching back to default voltage table [${DEFAULT_VTABLE}]&amp;quot;&lt;br /&gt;
                        echo ${DEFAULT_VTABLE} &amp;gt; ${VTABLE_SYSFS}&lt;br /&gt;
                eend $?&lt;br /&gt;
        fi &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative 3: another patch with user-space control ==&lt;br /&gt;
&lt;br /&gt;
The [http://avkrok.net/nw8240/centrino-voltages.diff centrino-voltages.diff] patch, written by Rickard Holmberg, also provides user-space control. See [http://avkrok.net/nw8240/ here] and [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2005-December/030772.html here] for usage.&lt;br /&gt;
&lt;br /&gt;
== Stress Testing ==&lt;br /&gt;
&lt;br /&gt;
This [[Undervolt Stress Testing Script|script]] illustrates a very conservative method to stress test your lowered voltage settings.&lt;br /&gt;
&lt;br /&gt;
== Tested frequencies/voltages ==&lt;br /&gt;
&lt;br /&gt;
If you have done excessive testing with user defined frequencies (stable system for over a month).&lt;br /&gt;
and no lookups occur when computing primes with mprime http://mersenne.org/ (gentoo: 'emerge gimps')&lt;br /&gt;
you can post your frequencies here. But note that this is just a rough indication, since the stable values will differ between individual processors, even in the same model.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
! CPU Type !! GHz !! Frequency Steps&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Banias || 1.6  || 1212,1084,956,860,796,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Banias || 1.7  || 1276,1100,1020,908,796,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 2.0 || 1084,940,844,764,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.86 || 1068,972,876,780,700&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M SL6F7  || 1.6  || 1196,1052,956,860,780,732&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.6  || 940,876,812,748,716,716&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.5 || 924,892,860,828,812,796,764,732,700&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.4 || 924,892,860,828,796,764,732,700&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following values were obtained with: (running at the same time)&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
nice -n19 glxgears &amp;amp;&lt;br /&gt;
mplayer somedivx.avi &amp;amp;&lt;br /&gt;
cd /usr/src/linux &amp;amp;&amp;amp; make -j2&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
* note1: for pre-Core Intel CPUs, VID is related to voltage (in mV) as follows: VID=(voltage-700)/16 (or: voltage=(VID*16+700) mV)&lt;br /&gt;
* note2: when testing for stability you should pay attention to sound too, occasional distortions which disappear after bumping voltage a notch or two&lt;br /&gt;
* note4: if you use phc_vids for your script, then take only second number in each pair&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
! Machine !! CPU Type !! GHz !! phc_controls (fid:vid)&lt;br /&gt;
|-&lt;br /&gt;
| {{T42}} || Pentium-M Dothan (735) || 1.7 || 17:19 14:12 12:8 10:4 8:1 6:1&lt;br /&gt;
|-&lt;br /&gt;
| {{X31}} || Pentium-M Banias (1.4) || 1.4 || 14:35 12:32 10:25 8:20 6:10 (fairly conservative)&lt;br /&gt;
|-&lt;br /&gt;
| {{X32}} || Pentium-M Dothan (745) || 1.8 || 18:26 16:20 14:15 12:11 10:6 8:2 6:1&lt;br /&gt;
|-&lt;br /&gt;
| {{X40}} || Pentium-M Banias LV (718) || 1.2 || 12:18 11:15 10:12 9:9 8:6 6:3&lt;br /&gt;
|-&lt;br /&gt;
| {{X41T}} || Pentium-M Dothan LV (758) || 1.5 || 15:15 14:13 13:11 12:9 11:7 10:5 9:3 8:2 6:2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Patches]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pentium_M_undervolting_and_underclocking&amp;diff=44926</id>
		<title>Pentium M undervolting and underclocking</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pentium_M_undervolting_and_underclocking&amp;diff=44926"/>
		<updated>2009-11-27T20:17:13Z</updated>

		<summary type="html">&lt;p&gt;Pierro78: /* Alternative 0: linux-phc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Background ==&lt;br /&gt;
&lt;br /&gt;
Intel Pentium M processors from the [[Intel Pentium M (Dothan)|Dothan]] and [[Intel Pentium M (Banias)|Banias]] families can be instructed to operate at voltage and clock frequencies lower than the nominal ones recommended by Intel and used by ThinkPads by default. Experience shows that the processor may continue working correctly at lower-than-nominal voltages and frequencies, thereby reducing power consumption, heat and fan noise.&lt;br /&gt;
&lt;br /&gt;
In the Pentium M, speed and voltage are controlled by software (through the MSR registers). It is up to the operating system to choose the right voltage for each frequency. Normally this is done according to tables published by Intel or according to ACPI tables. However, this can be overriden - in the case of Linux, by a kernel patch.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Following this instructions will operate your CPU under conditions it was not designed for. Even if your system seems stable, it may still suffer transient faults leading to arbitrary data corruption. In addition, errors in following these instructions (or changes between processor models) may operate the CPU ''above'' its nominal parameters, which, if taken too far, can cause kernel panics or even possibly hardware damage}}&lt;br /&gt;
&lt;br /&gt;
For an example of what may be achieved, consider these examples: when voltages on one ThinkPad {{T43}} were reduced by 20-30%, stable CPU temperature dropped by 7-10deg under both idle and burn-in conditions. Combined with [[how to control fan speed|fan speed control]], this greatly reduced the [[Problem with fan noise|problem with fan noise]]. On one user's ThinkPad {{R51}}, an undervolt brought the full-load processor temperature down from 87 degrees to 63 degrees while maintaining full stability. The effect was, however, negligible at idle.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|While under''volting'' has a clear measurable effect, it's not clear if under''clocking'' really works. &amp;lt;tt&amp;gt;/proc/cpuinfo&amp;lt;/tt&amp;gt; reflects the underclocked frequency, but enabling debug output on &amp;lt;tt&amp;gt;cpufreq&amp;lt;/tt&amp;gt; causes it to say things like &amp;quot;&amp;lt;tt&amp;gt;CPU frequency out of sync: cpufreq and timing core thinks of 533000, is 800000 kHz.&amp;lt;/tt&amp;gt;&amp;quot; where the former is the chosen underclocked frequency and the latter is the documented minimum frequency. This discrepancy also causes [[Software Suspend 2]] to oops during suspend.}}&lt;br /&gt;
&lt;br /&gt;
There are several methods to control CPU voltage in Linux, and currently all of them require a patched kernel.&lt;br /&gt;
&lt;br /&gt;
== Alternative 0: linux-phc ==&lt;br /&gt;
&lt;br /&gt;
Use the [[linux-phc]] kernel patch. '''This is the recommended  method, as it is most generic and best supported.'''&lt;br /&gt;
* [http://phc.athousandnights.de/ linux-phc home page] &lt;br /&gt;
&lt;br /&gt;
The sysfs interface of linux-phc (version 0.3.0 or newer) requires you to specify VID (Voltage ID) numbers; see the documentation in the source package. For pre-Core Intel CPUs, VID is related to voltage (in mV) as follows: &amp;lt;tt&amp;gt;VID=(voltage-700)/16&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A typical configuration command would look something like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo '27 22 16 10 3' &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/phc_vids}}&lt;br /&gt;
&lt;br /&gt;
Note :&amp;lt;br&amp;gt;&lt;br /&gt;
phc and its gui (phctool) has a gentoo overlay : http://bugs.gentoo.org/show_bug.cgi?id=283472&lt;br /&gt;
&lt;br /&gt;
== Alternative 1: patch with hard-coded voltages ==&lt;br /&gt;
=== Instructions ===&lt;br /&gt;
&lt;br /&gt;
# Determine the stable voltages for each frequency, using some overclocking/undervolting utility that has specific support for Pentium M (&amp;quot;Centrino&amp;quot;) processors. It seems that no such utility exists for Linux. For windows, one good choice is [http://www.pbus-167.com/chc.htm Notebook Hardware Control (NHC)], which conveniently also includes a table of nominal frequencies and voltages (in its help file).&amp;lt;br&amp;gt; Ascertain that at the undervolted settings the CPU actually performs correct computation ([http://www.mersenne.org/freesoft.htm Prime95] in &amp;quot;Tortute Test&amp;quot; mode seems to be a good partial test emphasizing FPU and memory access).&amp;lt;br&amp;gt; Note that beside reducing voltages (undervolting), you can also try to add lower frequencies (underclocking). If you undervolt a particular frequency too much your machine is likely to crash, so try not to have any other programs open.&lt;br /&gt;
# Determine the model name string reported by the CPU, e.g., via the &amp;quot;&amp;lt;tt&amp;gt;Model name&amp;lt;/tt&amp;gt;&amp;quot; line in {{path|/proc/cpuinfo}}, and likewise the &amp;lt;tt&amp;gt;cpu_family&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;model&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;stepping&amp;lt;/tt&amp;gt;.&lt;br /&gt;
# Grab a copy of the example patch below and update it to reflect the parameters, frequencies and voltages you found.&lt;br /&gt;
# Apply the patch to your kernel (tested with 2.6.13.1 and 2.6.14-rc2).&lt;br /&gt;
# To prevent the ACPI table from overriding your table, disable the &amp;lt;tt&amp;gt;CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI&amp;lt;/tt&amp;gt; kernel option.&lt;br /&gt;
# Compile and install the new kernel.&lt;br /&gt;
&lt;br /&gt;
The changes should be active now. If you want to see debug information attesting to thus, do the following:&lt;br /&gt;
&lt;br /&gt;
# Reboot in &amp;lt;tt&amp;gt;single&amp;lt;/tt&amp;gt; mode.&lt;br /&gt;
# {{cmdroot|echo 2 &amp;gt; /sys/module/cpufreq/parameters/debug}}&lt;br /&gt;
# {{cmdroot|modprobe speedstep-centrino}}&lt;br /&gt;
# {{cmdroot|dmesg}} and check for the message &amp;quot;&amp;lt;tt&amp;gt;speedstep-centrino: found &amp;quot;Intel(R) Pentium(R) M processor &amp;lt;/tt&amp;gt;...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you don't see that message, you got the &amp;lt;tt&amp;gt;cpu_id&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;model_name&amp;lt;/tt&amp;gt; parmaeters wrong. If your system crashes, re-test the voltages and adjust accordingly.&lt;br /&gt;
&lt;br /&gt;
Please report your results (including voltages)!&lt;br /&gt;
&lt;br /&gt;
=== Linux kernel patch (example) ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how to undervolt a Pentium M 750 (1.86GHz) on a ThinkPad {{T43}}. As discussed above, the parameters are specific to this one CPU. You will need to experimentally find the correct settings for your own CPU and adjust the patch accordingly.&lt;br /&gt;
&lt;br /&gt;
Note that the Pentium M 750 has a 533MHz FSB (quad-pumped 133MHz), hence the use of &amp;lt;tt&amp;gt;OP133&amp;lt;/tt&amp;gt;. If you have a Pentium M with 400MHz FSB (i.e., quad-pumped 100MHz, found in [[Intel Pentium M (Banias)|Banias]] and older [[Intel Pentium M (Dothan)|Dothan]]) then in the voltage table change &amp;lt;tt&amp;gt;OP133&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;OP&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|undervolt-pentium-m-2.6.13.1.patch}}&lt;br /&gt;
&lt;br /&gt;
Don't forget to disable &amp;lt;tt&amp;gt;CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Alternative 2: patch with user-space control ==&lt;br /&gt;
&lt;br /&gt;
If you want to use the Ubuntu 2.6.15 Kernel, please have a look at this thread: http://ubuntuforums.org/showthread.php?t=146366&lt;br /&gt;
&lt;br /&gt;
The [http://fabrice.bellamy.club.fr/bdz.undervolt.2005.10.22.a.patch bdz.undervolt.2005.10.22.a.patch] patch, written by Gentoo-Wiki user &amp;quot;Bdz&amp;quot;, allows voltages to be changed without reboot.&lt;br /&gt;
&lt;br /&gt;
It presents a userspace interface, as in the following example:&lt;br /&gt;
:{{cmdroot|cat /sys/devices/system/cpu/cpu0/cpufreq/voltage_table}}&lt;br /&gt;
:{{cmdresult|1356,1356,1356,1356,1356,1356,1356,1244,1116,988}}&lt;br /&gt;
:{{cmdroot|echo &amp;quot;1084,1084,1084,1084,1084,1084,1084,988,908,860&amp;quot; &amp;gt;/sys/devices/system/cpu/cpu0/cpufreq/voltage_table}}&lt;br /&gt;
&lt;br /&gt;
The relevant [http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU page] on Gentoo-Wiki providues further information and some helpful hints and scripts for voltage adjustment.&lt;br /&gt;
&lt;br /&gt;
When applying this patch be sure to keep the &amp;quot;ACPI tables for decoding frequency pairs&amp;quot; option -- this patch only allows adjustment of the voltages for the normal clock speeds as reported by the ACPI table in the BIOS.  On some models (e.g., ThinkPad {{T43}}) this does not include all clock speeds supported by the processor.&lt;br /&gt;
&lt;br /&gt;
=== Initscript ===&lt;br /&gt;
This is a Gentoo initscript for the patch from Gentoo-Wiki user &amp;quot;Bdz&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Configuration file ====&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
# /etc/conf.d/undervoltage&lt;br /&gt;
&lt;br /&gt;
# voltage table sysfs interface&lt;br /&gt;
VTABLE_SYSFS=&amp;quot;/sys/devices/system/cpu/cpu0/cpufreq/voltage_table&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# switch back to  DEFAULT_VTABLE if undervoltage is stopped? [yes/no]&lt;br /&gt;
SWITCH_BACK=&amp;quot;no&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# pentium-m banias 1,7GHz default voltages&lt;br /&gt;
DEFAULT_VTABLE=&amp;quot;1484,1308,1228,1116,1004,956&amp;quot;&lt;br /&gt;
# pentium-m banias 1,7GHz lowered voltages [ -208mV ]&lt;br /&gt;
MOD_VTABLE=&amp;quot;1276,1100,1020,908,796,748&amp;quot;&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Initscript ====&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
#!/sbin/runscript&lt;br /&gt;
# Copyright 1999-2005 Gentoo Foundation&lt;br /&gt;
# Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
# $Header: $&lt;br /&gt;
&lt;br /&gt;
sysfs_check() {&lt;br /&gt;
&lt;br /&gt;
        if ! [ -e ${VTABLE_SYSFS} ]; then&lt;br /&gt;
                logger &amp;quot;No sysfs voltage_table present. Modifying vcore voltage failed.&amp;quot;&lt;br /&gt;
                eerror &amp;quot;It seems that the undervolting patch has not been applied to the kernel.&amp;quot;&lt;br /&gt;
                eerror &amp;quot;see http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU for further information&amp;quot;&lt;br /&gt;
                return 1&lt;br /&gt;
        fi&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
start() {&lt;br /&gt;
        sysfs_check || return 1&lt;br /&gt;
        ebegin &amp;quot;Switching to modified voltage table [${MOD_VTABLE}]&amp;quot;&lt;br /&gt;
                echo ${MOD_VTABLE} &amp;gt; ${VTABLE_SYSFS}&lt;br /&gt;
        eend $?&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# I think it is not necessary to switch to the default voltage table on shutdown&lt;br /&gt;
stop() {&lt;br /&gt;
        if [ $SWITCH_BACK = &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
                ebegin &amp;quot;Switching back to default voltage table [${DEFAULT_VTABLE}]&amp;quot;&lt;br /&gt;
                        echo ${DEFAULT_VTABLE} &amp;gt; ${VTABLE_SYSFS}&lt;br /&gt;
                eend $?&lt;br /&gt;
        fi &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative 3: another patch with user-space control ==&lt;br /&gt;
&lt;br /&gt;
The [http://avkrok.net/nw8240/centrino-voltages.diff centrino-voltages.diff] patch, written by Rickard Holmberg, also provides user-space control. See [http://avkrok.net/nw8240/ here] and [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2005-December/030772.html here] for usage.&lt;br /&gt;
&lt;br /&gt;
== Stress Testing ==&lt;br /&gt;
&lt;br /&gt;
This [[Undervolt Stress Testing Script|script]] illustrates a very conservative method to stress test your lowered voltage settings.&lt;br /&gt;
&lt;br /&gt;
== Tested frequencies/voltages ==&lt;br /&gt;
&lt;br /&gt;
If you have done excessive testing with user defined frequencies (stable system for over a month).&lt;br /&gt;
and no lookups occur when computing primes with mprime http://mersenne.org/ (gentoo: 'emerge gimps')&lt;br /&gt;
you can post your frequencies here. But note that this is just a rough indication, since the stable values will differ between individual processors, even in the same model.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
! CPU Type !! GHz !! Frequency Steps&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Banias || 1.6  || 1212,1084,956,860,796,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Banias || 1.7  || 1276,1100,1020,908,796,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 2.0 || 1084,940,844,764,748&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.86 || 1068,972,876,780,700&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M SL6F7  || 1.6  || 1196,1052,956,860,780,732&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.6  || 940,876,812,748,716,716&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.5 || 924,892,860,828,812,796,764,732,700&lt;br /&gt;
|-&lt;br /&gt;
| Pentium-M Dothan || 1.4 || 924,892,860,828,796,764,732,700&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following values were obtained with: (running at the same time)&lt;br /&gt;
&amp;lt;bash&amp;gt;&lt;br /&gt;
nice -n19 glxgears &amp;amp;&lt;br /&gt;
mplayer somedivx.avi &amp;amp;&lt;br /&gt;
cd /usr/src/linux &amp;amp;&amp;amp; make -j2&lt;br /&gt;
&amp;lt;/bash&amp;gt;&lt;br /&gt;
* note1: for pre-Core Intel CPUs, VID is related to voltage (in mV) as follows: VID=(voltage-700)/16 (or: voltage=(VID*16+700) mV)&lt;br /&gt;
* note2: when testing for stability you should pay attention to sound too, occasional distortions which disappear after bumping voltage a notch or two&lt;br /&gt;
* note4: if you use phc_vids for your script, then take only second number in each pair&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
! Machine !! CPU Type !! GHz !! phc_controls (fid:vid)&lt;br /&gt;
|-&lt;br /&gt;
| {{T42}} || Pentium-M Dothan (735) || 1.7 || 17:19 14:12 12:8 10:4 8:1 6:1&lt;br /&gt;
|-&lt;br /&gt;
| {{X31}} || Pentium-M Banias (1.4) || 1.4 || 14:35 12:32 10:25 8:20 6:10 (fairly conservative)&lt;br /&gt;
|-&lt;br /&gt;
| {{X32}} || Pentium-M Dothan (745) || 1.8 || 18:26 16:20 14:15 12:11 10:6 8:2 6:1&lt;br /&gt;
|-&lt;br /&gt;
| {{X40}} || Pentium-M Banias LV (718) || 1.2 || 12:18 11:15 10:12 9:9 8:6 6:3&lt;br /&gt;
|-&lt;br /&gt;
| {{X41T}} || Pentium-M Dothan LV (758) || 1.5 || 15:15 14:13 13:11 12:9 11:7 10:5 9:3 8:2 6:2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Patches]]&lt;/div&gt;</summary>
		<author><name>Pierro78</name></author>
		
	</entry>
</feed>