Installing Debian 6.0 (Squeeze) on a ThinkPad X201i

From ThinkWiki
Revision as of 23:37, 7 January 2011 by Alfi (Talk | contribs) (1st draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
NOTE!
page under construction!

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

NOTE!
Intel_HD_Graphics on Core i3 is not recognized - and probably will not work with native intel xorg driver in Lenny. intel xorg driver supports it since version 2.9.1, but it also requires xorg version 1.6 or newer while Lenny has only version 1.4.2 -> upgrade to Squeeze should help (not tested)
$ cat /var/log/Xorg.0.log.old 
(--) PCI:*(0:2:0) Intel Corporation unknown chipset (0x0046) rev 2, Mem @ 0xf2000000/22, 0xd0000000/28, I/O @ 0x1800/3

xorg then detecs just a general vesa driver: it uses the correct resolution, but has no video acceleration, no external monitor, no dynamic resolution change

Brightness control

Display brightness control with Vesa driver does not work (neither keys nor Gnome controls). thinkpad_acpi requries an option to enable it (modprobe thinkpad_acpi brightness_enable=1) and the /proc/acpi/ibm/brightness appears. Brightness can be then controlled via Gnome controls or

#  echo down > /proc/acpi/ibm/brightness
#  echo up > /proc/acpi/ibm/brightness

FnHome/End keys do not work.

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 (http://packages.debian.org/sid/firmware-iwlwifi)

If firmware is not installed, it complains in the syslog

iwlagn 0000:02:00.0: iwlwifi-6000-3.ucode firmware file req failed: -2

Enable/disable via FnF5 or via network-manager

Ethernet

module e1000e, works ok

Sound

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

Bluetooth

works ok, enable/disable only via # 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

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

works ok (ie. luvcview)

TouchPad/TrackPoint

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

[   54.653913] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd047b1/0xb40000/0xa0000
[   54.706403] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6
[   61.530602] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   61.808056] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input8

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

not tested

Card Reader

works ok (tested SD card)

Power Management

Suspend to RAM

Not working, probably depends on video driver (suspends, but does not resume)

Suspend to disk

Works out of the box

acpid

Acpid does not work without /proc/acpi/event (2.6.29+), force install of new version from lenny backports (http://packages.debian.org/lenny-backports/acpid)

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.