Installing Fedora 12 on a ThinkPad X40

From ThinkWiki
Jump to navigation Jump to search
NOTE!
This is based on 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 been upgraded to Fedora 13

Success Chart - Out of the box experience

This machines SMOLT profile is available here.

ItemWorkingNotes
Installation Local CD/DVD installyes
Network Installationyes
USB Installationyes
Display Laptop Screen (LVDS)yes
VGAyes
Power Management Software Suspend (hibernate)yesWorks after installing updates
Suspend to Memory (ACPI sleep)noSeems like it works, but after resume you get a blinking cursor, switching to another VT works, but you cannot login. This seems to be due to everything segfaulting bugzilla
Audioyes
WirelessWiFi - Atherosunknown
WiFi - Intel 2200BGyes
Bluetoothyes
Input Keyboardyes
TrackPointyesInstall gpointing-device-settings rpm for full configuration capabilities
Extra keyspartialsee ThinkPad Extra keys section below
Ports Ethernetyes
ModemnoRequires closed-source driver. Install the slmodem rpm from the rpmfusion-nonfree repository, edit /etc/sysconfig/slmodem and set INTERFACE=alsa and ALSA_DEVICE=modem:1 and optionally the country.
SerialyesRequires dock
IrDAnoIt seems the device is detected, but then it tries to register a second device and fails with "nsc_ircc_open(). can't get iobase of 0x2f8". As a result no device files are created in /dev
PS/2 Keyboard/MouseyesRequires dock. Mouse works, but disables Trackpoint.
Parallelunknown (should work)Requires dock
USByes
PCMCIA/Cardbusyes
SD slotyes4GB SDHC flash card automatically detected.
Harddisk Active ProtectionpartialThere is now a hdapsd rpm, but it is not installed by default, and neither is the hdaps kernel module getting automatically loaded. And even after install it is not started automatically. Starting it manually (modprobe hdaps; hdapsd -d sda), does seem to cause the HDD heads to get parked, but it gives lots of warnings that seem to indicate it does not yet work as intended.
Ultrabay device removalpartialEject 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.
TPM (security subsystem)unknownNot brave enough to mess around with it. You can try to install the tpm-tools rpm.
Dock removalnoDock removal is completely un-handled. doing so without first powering down is not recommended.

Tested and Verified on Fedora 12

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

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 - Intel 855GM

It seems that KMS has improved a lot with this release of Fedora. Both LVDS and VGA displays work in mirror and extended desktop mode, although extended desktop is rather limited as the Intel graphics chip is limited to just a 2048x2048 desktop size.

Compiz seems to work (needs more testing)

There are some i915_handle_error messages in syslog, and briefly displayed on boot, but they do not seem to have any further effect. bugzilla.

WiFi

Both the Intel 2200BG and Atheros wireless should work out of the box.

I did limited tested with the Intel 2200BG and it seemed to worked.

Atheros WiFi was not tested.

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 buttonHALyesworks after installing updates
Fn-F5wirelessthinkpad_acpiHALnocauses HAL 'wlan' event, but has no further effect.
Fn-F7videomodethinkpad_acpiHALnoAttempts to cycles through various modes, but always comes back in mirror mode.
Fn-F9undockacpi buttonHALnocauses event, but does not actually undock
Fn-F12hibernateacpi buttonHALnobutton works, but system does not work properly afterwards
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.
Fn-Spacezoomthinkpad_acpiHALnoKnown Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
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.
Access IBMVendor keythinkpad_acpiHALpartialNo default action, but can be associated with gnome-keybinding-properties
NextTabBrowser Next tabstandard keyboard driverHALyes
PreviousTabBrowser Previous tabstandard keyboard driverHALyes
PowerPower buttonacpi buttonHALyesNeed to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
LidLid buttonacpi buttonHALyes
DockDock eject buttonacpi docknonoDoes not cause any event
UltrabayUltrabay eject switchacpi dockudevnoCauses udev event, but missing handler. See below.

Ultrabay

Ultrabay eject is not handled properly by default. Since there is no undock udev handler. This udev rule and eject script works for me: How to hotswap Ultrabay devices

Untested on Fedora 12

  • Atheros WiFi
  • Parallel port
  • TPM