Installing Fedora 11 on a ThinkPad X22

From ThinkWiki
Jump to navigation Jump to search
NOTE!
Some functions mentioned below might rely on available Fedora updates being installed. So if your having problems with something that is supposed to work, please ensure you have all available updates installed

Success Chart

This machines SMOLT profile is available here.

ItemWorkingNotes
Installation Local CD/DVD installyes
Network Installationyes
USB Installationyesbooting 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 ScreenyesOccasional corruption may occur.
VGAnocurrently broken.
Power Management Software Suspend (hibernate)noWhen entering hibernation the display will get corrupted (vertical lines), and the system hangs.
Suspend to Memory (ACPI sleep)noEnters suspend, but moon LED does not go on. On resume the display is corrupted (vertical lines), and the system hangs (ssh fails)
Audioyes
Extra ButtonsKeyboard SectionpartialSee ThinkPad keys section below
Ports Ethernetyes
ModemnoRequires closed-source driver
Serialunknown (should work)Requires UltraBase X2
IrDAnoDevice is detected, but does not seem to work
PS/2 Keyboard/Mouseunknown (should work)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 removalnoNo udev or HAL events, starts to complain loudly (beeping) if you try to undock

Tested and Verified on Fedora 11

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

Installation

Installation is straight forward; 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

Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS). Occasional screen corruption can occur.

Fedora 11 uses KMS (Kernel Mode Setting) by default, and this causes problems for now with external displays. Activating mirror mode with an external VGA display has no effect on the external display (no signal). Activating extended desktop, or booting with an external VGA display attached, causes severe corruption on the ThinkPad LCD, while again the VGA display gets no signal.

In addition external displays have a bogus 0x0 resolution mode listing

On the up side, with KMS the maximum virtual display size is now 4096x4096 (max 2048x2048 without KMS), which should allow extended desktop once the issues with external display support are sorted.

Desktop Effects

Enabling 'Desktop Effects' (compiz) works, but is unusably slow.

ThinkPad 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 buttonHALpartialThe key event works, but suspend itself is broken
Fn-F7videomode-nono
Fn-F12hibernateacpi buttonHALpartialdoes the same as Fn-F4 (suspend), not hibernate. Both suspend and hibernate itself are broken.
Fn-Homebrightness up-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
Fn-Endbrightness down-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
Fn-PgUpthinklight-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events. No OSD in any case.
VolumeUpVolume Up-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
VolumeDownVolume Down-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
MuteMute-noyeschanging thinkpad_acpi hotkey_mask, causes HAL events and OSD. works as a on/off toggle
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 eject-nonodoes not cause udev or HAL events. System starts to beep when you try to undock

Untested on Fedora 11