Difference between revisions of "Installing Fedora 16 on a ThinkPad X201i"

From ThinkWiki
Jump to: navigation, search
(←Created page with '{| width="100%" |style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__ |style="vertical-align:top" | {{NOTE|This is based on the x86-64 ve...')
 
(ThinkPad Extra keys)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
== New in this release ==
 
== New in this release ==
 
New in this Fedora release, with regards to this model ThinkPad is the following;
 
New in this Fedora release, with regards to this model ThinkPad is the following;
*  
+
* Better video performance for Intel graphics
  
 
== Success Chart - Out of the box experience ==
 
== Success Chart - Out of the box experience ==
Line 87: Line 87:
  
 
== Configuration ==
 
== Configuration ==
 +
=== Kernel ===
 +
You may want to consider editing {{path|/etc/default/grub}} and adding {{bootparm|pcie_aspm|force}} to the GRUB_CMDLINE_LINUX line, and running {{cmdroot|grub2-mkconfig}}. This will force enable PCIe ASPM power saving functions, which are getting disabled because the BIOS claims not to support it, but it does work and it makes a significant difference in battery life. A potential downside is that if the system really does not support it, you could experience system freezes, but I have not noticed any (YMMV).
  
 
=== X Server - Intel HD Graphics===
 
=== X Server - Intel HD Graphics===
Line 100: Line 102:
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
|-
 
|-
| {{key|Fn}}{{key|F2}} || lock screen || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F2}} || lock screen || thinkpad_acpi || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}}{{key|F3}} || battery || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F3}} || battery || thinkpad_acpi || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}}{{key|F4}} || suspend || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F4}} || suspend || acpi button|| {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}}{{key|F5}} || wireless || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || Works as a radio kill switch, kills WiFi but not Bluetooth
+
| {{key|Fn}}{{key|F5}} || wireless || thinkpad_acpi || {{Cyes|text=}} yes || {{Cpart}} || Works as a radio kill switch, kills WiFi but not Bluetooth
 
|-
 
|-
| {{key|Fn}}{{key|F7}} || videomode || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} || Switches between Mirror, LVDS only, Ext only and Extended desktop
+
| {{key|Fn}}{{key|F7}} || videomode || thinkpad_acpi || {{Cyes|text=}} yes || {{Cyes}} || Switches between Mirror, LVDS only, Ext only and Extended desktop
 
|-
 
|-
| {{key|Fn}}{{key|F8}} || mouse input select || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cunk}} ||
+
| {{key|Fn}}{{key|F8}} || mouse input select || thinkpad_acpi || {{Cyes|text=}} yes || {{Cunk}} ||
 
|-
 
|-
| {{key|Fn}}{{key|F9}} || eject || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
+
| {{key|Fn}}{{key|F9}} || eject || thinkpad_acpi || {{Cyes|text=}} yes || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
 
|-
 
|-
| {{key|Fn}}{{key|F12}} || hibernate || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F12}} || hibernate || acpi button|| {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}}{{key|Home}} || brightness up || acpi video || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|Home}} || brightness up || acpi video || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}}{{key|End}} || brightness down || acpi video || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|End}} || brightness down || acpi video || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
 
| {{key|Fn}}{{key|PgUp}} || thinklight || - || {{Cno}} || {{Cyes}} || no OSD
 
| {{key|Fn}}{{key|PgUp}} || thinklight || - || {{Cno}} || {{Cyes}} || no OSD
 
|-
 
|-
| {{key|Fn}}{{key|Space}} || zoom || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cno}} || Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
+
| {{key|Fn}}{{key|Space}} || zoom || thinkpad_acpi || {{Cyes|text=}} yes || {{Cno}} || Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
 
|-
 
|-
| VolumeUp || Volume Up || ? || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| VolumeUp || Volume Up || ? || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| VolumeDown || Volume Down || ? || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| VolumeDown || Volume Down || ? || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| VolumeMute || Volume Mute || ? || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| VolumeMute || Volume Mute || ? || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{ibmkey|ThinkVantage|#495988}} || Vendor key ||thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
+
| {{ibmkey|ThinkVantage|#495988}} || Vendor key ||thinkpad_acpi || {{Cyes|text=}} yes || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
 
|-
 
|-
| NextTab || Browser Next tab || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| NextTab || Browser Next tab || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}} Up || Stop || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Up || Stop || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}} Left || reverse || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Left || reverse || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}} Right || forward || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Right || forward || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| {{key|Fn}} Down || play/pause || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Down || play/pause || standard keyboard driver || {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
| Power || Power button || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} || Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
+
| Power || Power button || acpi button|| {{Cyes|text=}} yes || {{Cyes}} || Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
 
|-
 
|-
| Lid || Lid button || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} ||
+
| Lid || Lid button || acpi button|| {{Cyes|text=}} yes || {{Cyes}} ||
 
|-
 
|-
 
| Dock || Dock eject button || acpi dock  || {{Cyes|text=}} udev || {{Cunk}} ||  
 
| Dock || Dock eject button || acpi dock  || {{Cyes|text=}} udev || {{Cunk}} ||  

Latest revision as of 11:41, 7 December 2011

NOTE!
This is based on the x86-64 version of Fedora 16 with the default GNOME desktop. Your experience with the 32bit version and/or KDE may be different.
Help needed
Not all models of this ThinkPad are equal, you may have a different WiFi adapter, or some options I did not have. If you tested them, please add their status down below.

New in this release

New in this Fedora release, with regards to this model ThinkPad is the following;

  • Better video performance for Intel graphics

Success Chart - Out of the box experience

The SMOLT profile for the X201i used for testing Fedora is here.

Item Working Notes
Installation Local CD/DVD install yes
Network Installation yes
USB Installation yes
Display - Intel HD Graphics Laptop Screen yes
VGA yes
Displayport unknown Requires a dock
DVI/HDMI unknown Requires a dock and Displayport to DVI or HDMI cable
Power Management Software Suspend (hibernate) yes
Suspend to Memory (ACPI sleep) yes
Audio yes
Wireless WiFi - Intel 6200 yes
WiFi - Intel Centrino Wireless-N 1000 unknown
WiFi - Realtek unknown
Bluetooth yes
WWAN with GPS unknown
Input Keyboard yes
TrackPoint yes
TouchPad unknown
Extra keys partial see ThinkPad Extra keys section below
Fingerprint reader yes
Ports Ethernet yes
Modem no May work with the binary Conexant HSF modem drivers.
USB yes
ExpressCard unknown
3-in-1 MultiCard Reader yes SD and SDHC tested
Harddisk Active Protection no Fedora ships the hdapsd rpm, but not the tp_smapi kernel module, which is required to read the motion sensor bugzilla
TPM yes tpm_tis is automatically loaded. After installing the tpm-tools rpm, and starting the tcsd service, the tpm_* commands seem to work.
Docking unknown

Tested and Verified on Fedora 16

Information in this section has been tested and verified using Fedora.

Installation

Installation is straight forward; you can follow the generic Fedora install instructions.

Configuration

Kernel

You may want to consider editing /etc/default/grub and adding pcie_aspm=force to the GRUB_CMDLINE_LINUX line, and running # grub2-mkconfig. This will force enable PCIe ASPM power saving functions, which are getting disabled because the BIOS claims not to support it, but it does work and it makes a significant difference in battery life. A potential downside is that if the system really does not support it, you could experience system freezes, but I have not noticed any (YMMV).

X Server - Intel HD Graphics

Works out of the box, including Compiz and external VGA display.

Other display types (DisplayPort) have not been tested as they require a Dock.

ThinkPad Extra keys

ThinkPad keys are handled by a mixture of the thinkpad_acpi, acpi button, acpi dock and acpi video drivers.

Key Function Handled by Event Works Notes
FnF2 lock screen thinkpad_acpi yes yes
FnF3 battery thinkpad_acpi yes yes
FnF4 suspend acpi button yes yes
FnF5 wireless thinkpad_acpi yes partial Works as a radio kill switch, kills WiFi but not Bluetooth
FnF7 videomode thinkpad_acpi yes yes Switches between Mirror, LVDS only, Ext only and Extended desktop
FnF8 mouse input select thinkpad_acpi yes unknown
FnF9 eject thinkpad_acpi yes partial No default action, but can be associated with gnome-keybinding-properties
FnF12 hibernate acpi button yes yes
FnHome brightness up acpi video yes yes
FnEnd brightness down acpi video yes yes
FnPgUp thinklight - no yes no OSD
FnSpace zoom thinkpad_acpi yes no Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
VolumeUp Volume Up ? yes yes
VolumeDown Volume Down ? yes yes
VolumeMute Volume Mute ? yes yes
ThinkVantage Vendor key thinkpad_acpi yes partial No default action, but can be associated with gnome-keybinding-properties
NextTab Browser Next tab standard keyboard driver yes yes
PreviousTab Browser Previous tab standard keyboard driver yes yes
Fn Up Stop standard keyboard driver yes yes
Fn Left reverse standard keyboard driver yes yes
Fn Right forward standard keyboard driver yes yes
Fn Down play/pause standard keyboard driver yes yes
Power Power button acpi button yes yes Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
Lid Lid button acpi button yes yes
Dock Dock eject button acpi dock udev unknown
Radio switch Radio kill switch thinkpad_acpi udev yes