Installing Fedora 16 on a ThinkPad X40

From ThinkWiki
Jump to navigation Jump to search
NOTE!
This is based on Fedora 16 with the default GNOME desktop. Your experience with KDE may be different. Since the video adapter in this ThinkPad is rather dated, Gnome 3 will run in Fallback/Classic mode.
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

Fixed or new in this Fedora release, with regards to this model ThinkPad is the following;

  • ..

Regressions;

  • ..

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)yes
Suspend to Memory (ACPI sleep)yes
Audioyes
WirelessWiFi - Atherosyes
WiFi - Intel 2200BGyes
Bluetoothyes
Input Keyboardyes
TrackPointyes
Extra keyspartialsee ThinkPad Extra keys section below
Ports Ethernetyes
ModemnoRequires closed-source driver. May work by installing 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. Then run "chkconfig slmodem on; service slmodem start" and point your dialer to /dev/ttySL0
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".
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 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)yesEnable security chip in BIOS, then "yum install tpm-tools", then "modprobe tpm_atmel; service tcsd start; tpm_version" works.
Dock removalyes

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

It is recommended to edit /etc/default/grub and add hpet=force to the GRUB_CMDLINE_LINUX line, and running # grub2-mkconfig. 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

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.

Issues

  • Unknown physical LVDS display size (reported as 0mm x 0mm)
  • Cycling through external display modes with Fn-F7 only works, if the combined horizontal resolutions of the LVDS and external display combined does not exceed 2048 pixels. Since the LVDS (ThinkPad LCD) is 1024 pixels horizontal on a X40, that means the external display cannot have more then 1024 pixels either or otherwise Fn-F7 will fail.
  • Xv (Xvideo) when in mirror mode works on the external display, but not the LVDS

ThinkPad Extra keys

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

KeyFunctionHandled byEventWorksNotes
FnF3lock screenthinkpad_acpiyesyes
FnF4suspendacpi buttonyesyes
FnF5wirelessthinkpad_acpiyespartialSwitches WiFi on and off, has no effect on Bluetooth
FnF7videomodethinkpad_acpiyespartialFails if external monitor >1024 horizontal
FnF9undockacpi buttonyesnocauses event, but does not actually undock
FnF12hibernateacpi buttonyesyes
FnHomebrightness up-noyesno OSD
FnEndbrightness down-noyesno OSD
FnPgUpthinklight-noyesno OSD
FnSpacezoomthinkpad_acpiyesnoKnown Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
VolumeUpVolume Upthinkpad_acpinoyesno OSD. Hardware and Software volume controls are independent from each other.
VolumeDownVolume Downthinkpad_acpinoyesno OSD. Hardware and Software volume controls are independent from each other.
MuteMutethinkpad_acpinoyesno OSD. Hardware and Software mute controls are independent from each other.
Access IBMVendor keythinkpad_acpiyespartialNo default action, but can be associated in the Gnome3 keyboard settings
NextTabBrowser Next tabstandard keyboard driveryesyes
PreviousTabBrowser Previous tabstandard keyboard driveryesyes
PowerPower buttonacpi buttonyesyesNeed to press button for ~1 second to trigger a suspend event.
LidLid buttonacpi buttonyesyesTriggers a suspend event
DockDock eject buttonacpi dockudevyes
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

  • Parallel port