Lenovo ThinkPad T420s

From Gentoo Wiki
(Redirected from Lenovo ThinkPad X420s)
Jump to: navigation, search

Configuration

FILE /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
VIDEO_CARDS="intel i965"
INPUT_DEVICES="evdev synaptics"

Fan control

Fan control needs to be explicitly allowed:

FILE /etc/modprobe.d/thinkpad_acpi.conf
options thinkpad_acpi fan_control=1

Turn off:

root #echo level 0 > /proc/acpi/ibm/fan

Maximum measured speed:

root #echo level 7 > /proc/acpi/ibm/fan

Automatic speed (default):

root #echo level auto > /proc/acpi/ibm/fan

Maximum speed:

root #echo level disengaged > /proc/acpi/ibm/fan

Hardware

Note: You can use this file with the kernelconfig script to verify your kernel configuration or build a new kernel with the right configuration.