Difference between revisions of "Installing Fedora 13 on a ThinkPad X40"

From ThinkWiki
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__
 
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
{{NOTE|This is based on the '''Beta''' version of Fedora 13 with the default GNOME desktop. Your experience with KDE may be different.}}
+
{{NOTE|This is based on Fedora 13 with the default GNOME desktop. Your experience with KDE may be different.}}
 +
{{HELP|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.}}
 +
{{NOTE|The original author of this page has updated his ThinkPad to [[Installing Fedora 14 on a ThinkPad X40|Fedora 14]], as such this page is no longer updated.}}
 
|}
 
|}
 +
== New in this release ==
 +
Fixed or new in this Fedora release, with regards to this model ThinkPad is the following;
 +
* New ThinkPad audio mixer (see below) for the volume keys, although userland support is missing so no effective user visable change
 +
* New gnome-color-manager (see below) now allows you to load colour profiles
 +
* Fn-F4 (suspend to ram) works out of the box
 +
 
== Success Chart - Out of the box experience ==
 
== Success Chart - Out of the box experience ==
 
This machines SMOLT profile is available [http://www.smolts.org/client/show/pub_1381d77b-e263-408f-87a2-a797d2872ba1 here].
 
This machines SMOLT profile is available [http://www.smolts.org/client/show/pub_1381d77b-e263-408f-87a2-a797d2872ba1 here].
Line 45: Line 53:
 
| Ethernet || {{Cyes}} ||
 
| Ethernet || {{Cyes}} ||
 
|-
 
|-
| [[IBM Integrated Bluetooth III with 56K Modem (BMDC-2)|Modem]] || {{Cno}} || Requires 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.
+
| [[IBM Integrated Bluetooth III with 56K Modem (BMDC-2)|Modem]] || {{Cno}} || Requires 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. Then run "chkconfig slmodem on; service slmodem start" and point your dialer to {{path|/dev/ttySL0}}
 
|-
 
|-
 
| Serial || {{Cyes}} || Requires dock
 
| Serial || {{Cyes}} || Requires dock
Line 65: Line 73:
 
| colspan=2| [[Ultrabay]] device removal || {{Cpart}} || Eject 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.
 
| colspan=2| [[Ultrabay]] device removal || {{Cpart}} || Eject 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.
 
|-
 
|-
| colspan=2| [[Embedded Security Subsystem|TPM (security subsystem)]] || {{Cunk}} || Not brave enough to mess around with it. You can try to install the tpm-tools rpm.
+
| colspan=2| [[Embedded Security Subsystem|TPM (security subsystem)]] || {{Cyes}} || Enable security chip in BIOS, then "yum install tpm-tools", then "modprobe tpm_atmel; service tcsd start; tpm_version" works.
 
|-
 
|-
| colspan=2| Dock removal || {{Cno}} || Dock removal is completely un-handled. doing so without first powering down is not recommended. [http://bugzilla.kernel.org/show_bug.cgi?id=15521 patches in bugzilla]
+
| colspan=2| Dock removal || {{Cyes}} || Dock removal is fixed with the 2.6.34 kernel from the updates repository.
 
|-
 
|-
 
|}
 
|}
Line 105: Line 113:
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
|-
 
|-
| Fn-F3 || lock screen || thinkpad_acpi|| {{Cyes|text=}} HAL|| {{Cyes}} ||
+
| {{key|Fn}}{{key|F3}} || lock screen || thinkpad_acpi|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F4 || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
+
| {{key|Fn}}{{key|F4}} || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F5 || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Switches WiFi on and off, has no effect on Bluetooth
+
| {{key|Fn}}{{key|F5}} || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Switches WiFi on and off, has no effect on Bluetooth
 
|-
 
|-
| Fn-F7 || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Fails if external monitor >1024 horizontal
+
| {{key|Fn}}{{key|F7}} || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Fails if external monitor >1024 horizontal
 
|-
 
|-
| Fn-F9 || undock || acpi button || {{Cyes|text=}} HAL || {{Cno}} || causes event, but does not actually undock
+
| {{key|Fn}}{{key|F9}} || undock || acpi button || {{Cyes|text=}} HAL || {{Cno}} || causes event, but does not actually undock
 
|-
 
|-
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || button works, but hibernate does not
+
| {{key|Fn}}{{key|F12}} || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || button works, but hibernate does not
 
|-
 
|-
| Fn-Home || brightness up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| {{key|Fn}}{{key|Home}} || brightness up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
 
|-
 
|-
| Fn-End || brightness down || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| {{key|Fn}}{{key|End}} || brightness down || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
 
|-
 
|-
| Fn-PgUp || thinklight || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| {{key|Fn}}{{key|PgUp}} || thinklight || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
 
|-
 
|-
| Fn-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=}} HAL || {{Cno}} || Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
 
|-
 
|-
| VolumeUp || Volume Up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| VolumeUp || Volume Up || thinkpad_acpi || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround. Hardware and Software volume controls are independent from each other.
 
|-
 
|-
| VolumeDown || Volume Down || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| VolumeDown || Volume Down || thinkpad_acpi || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround. Hardware and Software volume controls are independent from each other.
 
|-
 
|-
| Mute || Mute || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
+
| Mute || Mute || thinkpad_acpi || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround. Hardware and Software mute controls are independent from each other.
 
|-
 
|-
 
| Access IBM || Vendor key ||thinkpad_acpi ||  {{Cyes|text=}} HAL|| {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
 
| Access IBM || Vendor key ||thinkpad_acpi ||  {{Cyes|text=}} HAL|| {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
Line 141: Line 149:
 
| Lid || Lid button || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
| Lid || Lid button || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Dock || Dock eject button || acpi dock  || {{Cno}} || {{Cno}} || Does not cause any event
+
| Dock || Dock eject button || acpi dock  || {{Cyes|text=}} udev || {{Cyes}} || Fixed with 2.6.34 kernel update
 
|-
 
|-
 
| Ultrabay || Ultrabay eject switch || acpi dock || {{Cyes|text=}} udev|| {{Cno}} || Causes udev event, but missing handler. See below.
 
| Ultrabay || Ultrabay eject switch || acpi dock || {{Cyes|text=}} udev|| {{Cno}} || Causes udev event, but missing handler. See below.
Line 153: Line 161:
 
* Atheros WiFi
 
* Atheros WiFi
 
* Parallel port
 
* Parallel port
* TPM
+
 
 
[[Category:X40]][[Category:Fedora]]
 
[[Category:X40]][[Category:Fedora]]

Latest revision as of 08:54, 12 October 2010

NOTE!
This is based on Fedora 13 with the default GNOME desktop. Your experience with 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.
NOTE!
The original author of this page has updated his ThinkPad to Fedora 14, as such this page is no longer updated.

New in this release

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

  • New ThinkPad audio mixer (see below) for the volume keys, although userland support is missing so no effective user visable change
  • New gnome-color-manager (see below) now allows you to load colour profiles
  • Fn-F4 (suspend to ram) works out of the box

Success Chart - Out of the box experience

This machines SMOLT profile is available here.

Item Working Notes
Installation Local CD/DVD install yes
Network Installation yes
USB Installation yes
Display Laptop Screen (LVDS) yes
VGA yes
Power Management Software Suspend (hibernate) no Seems like it works (saves image), but does not resume image on boot. Instead it does a regular boot.
Suspend to Memory (ACPI sleep) yes
Audio yes
Wireless WiFi - Atheros unknown
WiFi - Intel 2200BG yes
Bluetooth yes
Input Keyboard yes
TrackPoint yes Install gpointing-device-settings rpm for full configuration capabilities
Extra keys partial see ThinkPad Extra keys section below
Ports Ethernet yes
Modem no Requires 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. Then run "chkconfig slmodem on; service slmodem start" and point your dialer to /dev/ttySL0
Serial yes Requires dock
IrDA no It 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/Mouse yes Requires dock. Mouse works, but disables Trackpoint.
Parallel unknown (should work) Requires dock
USB yes
PCMCIA/Cardbus yes
SD slot yes 4GB SDHC flash card automatically detected.
Harddisk Active Protection partial There 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 removal partial Eject 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) yes Enable security chip in BIOS, then "yum install tpm-tools", then "modprobe tpm_atmel; service tcsd start; tpm_version" works.
Dock removal yes Dock removal is fixed with the 2.6.34 kernel from the updates repository.

Tested and Verified on Fedora 13

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

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

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)
  • Compiz crashes when you try to activate it
  • 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 does not work in mirrored mode (but does with extended desktop)

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.

Key Function Handled by Event Works Notes
FnF3 lock screen thinkpad_acpi HAL yes
FnF4 suspend acpi button HAL yes
FnF5 wireless thinkpad_acpi HAL partial Switches WiFi on and off, has no effect on Bluetooth
FnF7 videomode thinkpad_acpi HAL partial Fails if external monitor >1024 horizontal
FnF9 undock acpi button HAL no causes event, but does not actually undock
FnF12 hibernate acpi button HAL partial button works, but hibernate does not
FnHome brightness up - no yes no default OSD. Install the tpb rpm as a workaround.
FnEnd brightness down - no yes no default OSD. Install the tpb rpm as a workaround.
FnPgUp thinklight - no yes no default OSD. Install the tpb rpm as a workaround.
FnSpace zoom thinkpad_acpi HAL no Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
VolumeUp Volume Up thinkpad_acpi no yes no default OSD. Install the tpb rpm as a workaround. Hardware and Software volume controls are independent from each other.
VolumeDown Volume Down thinkpad_acpi no yes no default OSD. Install the tpb rpm as a workaround. Hardware and Software volume controls are independent from each other.
Mute Mute thinkpad_acpi no yes no default OSD. Install the tpb rpm as a workaround. Hardware and Software mute controls are independent from each other.
Access IBM Vendor key thinkpad_acpi HAL partial No default action, but can be associated with gnome-keybinding-properties
NextTab Browser Next tab standard keyboard driver HAL yes
PreviousTab Browser Previous tab standard keyboard driver HAL yes
Power Power button acpi button HAL yes Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
Lid Lid button acpi button HAL yes
Dock Dock eject button acpi dock udev yes Fixed with 2.6.34 kernel update
Ultrabay Ultrabay eject switch acpi dock udev no Causes 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 13

  • Atheros WiFi
  • Parallel port