This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Lenovo ThinkPad T420s

From Gentoo Wiki (test)
Jump to:navigation Jump to: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.