Installing Fedora 12 on a ThinkPad X22

From ThinkWiki
Jump to navigation Jump to search
NOTE!
This is based on the Beta version of Fedora 12 with the default GNOME desktop. Your experience with KDE may be different.
NOTE!
This page will no longer be updated by the original author, as the ThinkPad has had a systemboard failure and no longer boots.

Success Chart

This machines SMOLT profile is available here.

ItemWorkingNotes
Installation Local CD/DVD installpartialRequires booting with 'nomodeset', or 'text'
Network InstallationpartialRequire booting with 'nomodeset', or 'text'
USB InstallationpartialRequire booting with 'nomodeset', or 'text'. Booting from USB key, requires that you first disable booting from the internal HDD in the BIOS (known BIOS limitation on this machine). After install is completed you can re-enable booting from the internal HDD.
Display Laptop ScreenpartialKMS is broken, need to boot with nomodeset kernel boot parameter.
VGAnosee below
Power Management Software Suspend (hibernate)yes
Suspend to Memory (ACPI sleep)yesMoon LED remains off
AudionoHorrible screeching
Input Keyboardyes
TrackPointyesInstall gpointing-device-settings rpm for full configuration capabilities
Extra keyspartialsee ThinkPad Extra keys section below
Ports Ethernetyes
ModemnoRequires closed-source driver
SerialyesRequires UltraBase X2
IrDAnoDevice is detected, but does not seem to work
PS/2 Keyboard/MouseyesMouse tested. Requires UltraBase X2
Parallelunknown (should work)Requires UltraBase X2
USByes
PCMCIA/Cardbusyes
Compact Flashunknown (should work)
Ultrabay device hotswappartialEject switch causes udev event, but no default udev script to handle the event to unmount filesystems in time. ata_piix does handle the removal and insertion of ATA devices.
Dock removalyesSeems to work. Pressing the undock button at the front of the UltraBase causes a flurry of UDEV activity with device removals. Docking does the reverse.

Tested and Verified on Fedora 12

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

Installation

Installation is straight forward, once you add the nomodeset boot parameter. Afterwards you can follow the generic Fedora install instructions.

Configuration

Kernel

It is recommended to edit /boot/grub/grub.conf and add hpet=force to the kernel line. This will activate HPET (High Precision Event Timer), which will allow the CPU to sleep for longer periods and save power.

X Server - RV100

Basic X server functionality is broken on this ThinkPad. The problem is with KMS (Kernel Mode Setting) and as such needs to be disabled to be able to install or run Fedora 12. This is a regression as KMS did work in F11. After switching to UMS the ThinkPad LCD (LVDS) will work. Still occasional screen corruption can occur.

To disable KMS, boot with the nomodeset boot parameter.

When hotplugging an external VGA display, xrandr is able to see its properties. But trying to activate mirror mode does not work (external display remains black). Without KMS the virtual desktop size is too small to allow extended desktop.

Trying to enable 'Desktop Effects' (compiz) fails with an error dialog that Accelerated 3D graphics is not available.

ThinkPad Extra keys

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

KeyFunctionHandled byEventWorksNotes
Fn-F3lock screenthinkpad_acpiHALyes
Fn-F4suspendacpi buttonHALyes
Fn-F7videomode-nono
Fn-F12hibernateacpi buttonHALyes
Fn-Homebrightness up-noyesno default OSD. Install the tpb rpm as a workaround.
Fn-Endbrightness down-noyesno default OSD. Install the tpb rpm as a workaround.
Fn-PgUpthinklight-noyesno default OSD. Install the tpb rpm as a workaround.
VolumeUpVolume Up-noyesno default OSD. Install the tpb rpm as a workaround.
VolumeDownVolume Down-noyesno default OSD. Install the tpb rpm as a workaround.
MuteMute-noyesno default OSD. Install the tpb rpm as a workaround.
ThinkPadVendor keythinkpad_acpiHALpartialNo default action, but can be associated with gnome-keybinding-properties
PowerPower buttonacpi buttonHALyesNeed to press button for ~1 second to trigger event
LidLid buttonacpi buttonHALyes
UltrabayUltrabay eject switchacpi dockudevnomissing udev handler
undockdock ejectacpi dockudevyesGray button on the front of the UltraBase X2

Untested on Fedora 12