Difference between revisions of "Installing Gentoo on a ThinkPad X40"

From ThinkWiki
Jump to: navigation, search
(laptop_mode and other power management tips)
(CPU Undervolting: phc* now in Gentoo tree)
 
(2 intermediate revisions by one other user not shown)
Line 14: Line 14:
  
 
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control
 
Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control
<br>(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 "y" at the first question)
+
<br>(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 "y" at the first question)
  
 
=== CPU Undervolting ===
 
=== CPU Undervolting ===
Line 23: Line 23:
 
</pre>
 
</pre>
  
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&t=2 is easy to install)
+
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&t=195
 +
 
 +
The packages sys-power/phctool and sys-power/phc-intel with support up to 2.6.36 were included in the main tree.
 
<br>(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 )
 
<br>(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 )
  

Latest revision as of 19:05, 7 November 2010

kernel compilation

ipw2200 driver (intel wireless nic)

don't forget to compile it as a module : http://bugs.gentoo.org/202557

zen kernel

tuxonice compression

cf http://en.gentoo-wiki.com/wiki/TuxOnIce :
select lzo compression in "make menuconfig"
change tuxonice.conf accordingly

Tips

laptop_mode and other power management tips

http://www.gentoo.org/doc/en/power-management-guide.xml

Fan Control : http://en.gentoo-wiki.com/wiki/Lenovo_Thinkpad_T61#Fan_control
(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 "y" at the first question)

CPU Undervolting

I've used phc with the hagan voltages found on : http://www.gentoo-wiki.info/Pentium_M/Undervolting which translate to the following phc vids :

x40 ~ # cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids 
14 12 10 8 6 4 2 0 

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&t=195

The packages sys-power/phctool and sys-power/phc-intel with support up to 2.6.36 were included in the main tree.
(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 )

x11 with x11-drivers/xf86-video-intel-2.9.1 crashing the machine

Apparently solved with x11-drivers/xf86-video-intel-2.11.0 : http://forums.gentoo.org/viewtopic-t-803621.html

External Sources