Installing Debian 6.0 (Squeeze) on a ThinkPad X201i

From ThinkWiki
Jump to: navigation, search

Summary

X201i seems to be a very good choice for Debian Squeeze - all features I have tested works there out of the box :-)

HW Overview

Lenovo ThinkPad X201, model 3323BFG
ThinkPad BIOS 6QET47WW (1.17 ), EC 6QHT29WW-1.10
$ lspci 
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
$ lsusb 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 004: ID 17ef:4816 Lenovo 
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ cat /proc/cpuinfo
4x CPU:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 37
model name	: Intel(R) Core(TM) i3 CPU       M 370  @ 2.40GHz
stepping	: 5
cpu MHz	: 933.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id	: 2
cpu cores	: 2
apicid		: 4
initial apicid	: 4
fdiv_bug	: no
hlt_bug	: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat tpr_shadow vnmi flexpriority ept vpid
bogomips	: 4787.93
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads:   5266 MB in  2.00 seconds = 2633.41 MB/sec
Timing buffered disk reads: 268 MB in  3.00 seconds =  89.22 MB/sec

USB Boot

Distribution kernel in Debian Squeeze 2.6.32-5-686 boots fine

Devices support

Video

Works out of the box, including 2D acceleration, dynamic resolution change (randr), detecting external monitor, dual head display

$ cat /var/log/Xorg.0.log.old 
(==) Matched intel as autoconfigured driver 0
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,

Brightness control

Works out of the box through Gnome controls, incl. FnHome/End.

Intel Wireless Display

All Core i3 processors have a nice feature to display the video over WiFi connection, see e.g. http://www.intel.com/consumer/products/technology/wirelessdisplay.htm, which is even not mentioned in the X201i specifications. However it needs some software support and it seems none at least thinks about it for Linux (http://scoop.intel.com/2010/06/thinking-about-getting-an-intelr-wireless-display-pc-get-the-netgear-push2tv-adapter-for-only-50.php , http://www.google.com/search?q=linux+%22intel+wireless+display%22)

WLAN

module iwlagn + firmware iwlwifi-6000-4.ucode ie. from firmware-iwlwifi_0.27_all.deb

Enable/disable via FnF5 or via network-manager, hardware switch ok

Ethernet

module e1000e, works ok

Sound

module snd-hda-intel works ok, incl. headphones

Bluetooth

works ok, enable/disable via Gnome controls or # echo "enable" > /proc/acpi/ibm/bluetooth # echo "disable" > /proc/acpi/ibm/bluetooth

ThinkLight

works ok, turn on/off via FnPgUp or /proc/acpi/ibm/light

WebCam

[  107.091155] uvcvideo: Found UVC 1.00 device Integrated Camera (17ef:4816)
[  107.093565] usbcore: registered new interface driver uvcvideo

works ok (ie. luvcview)

TouchPad/TrackPoint

work both ok, incl. touchpoint page scrolling on the right side

[  107.595394] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd047b1/0xb40000/0xa0000
[  107.652484] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[  114.629105] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[  114.922029] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input9

Keyboard

Hint: In Gnome select keyboard type IBM ThinkPad - special keys like "next/prev page" then work

Check the page How to get special keys to work to setup other special and/or Fn keys.

Fingerprint reader

not tested

Fixed line modem

not tested

Security Chip

not tested

Active Protection System

install packages tp-smapi-dkms (with kernel headers available it creates a tp-smapi kernel module) and hdapsd. starting of hdapds deamon works fine (check more on How to protect the harddisk through APS)

hdaps: initial mode latch is 0x05
hdaps: setting ec_rate=250, filter_order=2
hdaps: device successfully initialized.
input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input15
input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input16
hdaps: driver successfully loaded.

Card Reader

works ok (tested SD card)

Power Management

Suspend to RAM

Works out of the box

Suspend to disk

Works out of the box

acpid

Works out of the box

cpufreq

Frequence scaling via cpufreq ok

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 1066000 933000

CPU enable/disable

CPU enabling/disabling works via

# echo 0 > /sys/devices/system/cpu/cpu2/online
# echo 1 > /sys/devices/system/cpu/cpu2/online

but even turning off 3 of them does not seem to influence the power consumption when running on battery.