Difference between revisions of "Lenovo ThinkPad X200"

From ArchWiki
Jump to: navigation, search
(Turning off DRI: this is *not* going to increase battery life)
Line 60: Line 60:
===Reducing Power Consumption===
===Reducing Power Consumption===
====Turning off DRI====
DRI enables X11 to directly access the graphics card's OpenGL implementation for rendering which doesn't require data to go through the X Server. Disabling this mechanism should increase battery life as a countermove to slower rendering. In case you're not relying on graphical eye candy this might be an option to prolong your laptops battery life.
To disable DRI just add the following option to your Xorg configuration file's Device section.
$ cat /etc/X11/xorg.conf
Section "Device"
  Option "NoDRI"
====CPU Frequency Scaling====
====CPU Frequency Scaling====

Revision as of 12:48, 20 October 2012

Summary help replacing me
This article covers the Arch Linux support for the Lenovo ThinkPad X200 laptop.
Related articles
Lenovo ThinkPad X200 Tablet
Lenovo ThinkPad X200S

The Lenovo ThinkPad X200 is a wonderful high-quality laptop featuring a 12.1" widescreen WXGA monitor, an Intel Core 2 Duo processor (2.26 - 2.66GHz), an Intel Graphics Media Accelerator 4500MHD and up to 4GB of RAM whilst still maintaining impressive battery life.

While Arch Linux is running flawlessly on this laptop there are a few things you have to configure manually. This article will aid you in configuring your system and will provide additionally hints to make your ThinkPad X200 experience even better.



The ThinkPad X200 has a Intel PRO/Wireless 5100 AGN wireless adapter included. In order to make it work you have to install the iwlwifi-5000-ucode package when you install from a 2010.05 snapshot in order to get the firmware, by now the package is included in the linux-firmware package.

Now you can choose whatever network configuration programs you want to use. If you do not already know which network manager you want to use, we highly recommend netcfg.


The graphics card is supported by the xf86-video-intel driver package from the extra repository. The Xorg server makes use of this automatically. There's no need for a Xorg configuration file.

# pacman -S xf86-video-intel

However, with the newest available driver version it seems as if a regression has been introduced resulting in poor 3D performance. You will experience Xorg running fine, but 3D applications will have a very low frame rate.


Audio is supported out of the box after installing the necessary alsa packages from the core repository.

# sudo pacman -S alsa-lib

See Alsa for more information.


Suspend to RAM

Suspend to RAM is working out of the box with the standard Arch Linux kernel after installing pm-utils from extra.

# pacman -S pm-utils

Issue the command

# pm-suspend

as root to suspend to RAM. The laptop will wake up on any key press or on opening the lid.

Note: Very seldom after resuming the backlight won't come back on. The following page on ThinkWiki might provide information on how to solve this issue: Problem with display remaining black after resume.

Hard Disk Shock Protection

The ThinkPad X200 comes with an integrated 2-axis accelerometer providing the possibility of parking the hard drive's disk heads preventing from data loss due to heavy shocks.

First you'll have to install tp_smapi and hdapsd from AUR. Then you have to load the hdaps module provided by tp_smapi with the option invert=7 passed. This will correct the orientation of the accelerometer's axises.

Since linux provides a default hdaps module which we do not want to use, we have to specify the full path. This cannot be done in /etc/rc.conf, but instead you'll have to load the module manually from /etc/rc.local.

To enable shock protection you have to start the hdapsd daemon. Since /etc/rc.local is executed after /etc/rc.conf, hdapsd has to be started from the /etc/rc.local as well.

$ cat /etc/rc.local
insmod /lib/modules/2.6.32-ARCH/extra/hdaps.ko invert=7
/etc/rc.d/hdapsd start

For full information see: HDAPS

Reducing Power Consumption

CPU Frequency Scaling

# pacman -S cpufrequtils
# echo "governor="ondemand"" >> /etc/conf.d/cpufreq
# modprobe acpi-cpufreq
# /etc/rc.d/cpufreq start

See also