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

From ThinkWiki
Jump to: navigation, search
(ThinkPad Extra keys)
 
(14 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 Fedora 13 '''Beta''' 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.}}
{{WARN|Kernels between 2.6.33.1-24 and 2.6.33.2-43 panic on boot in acpi_ex_read_data_from_field. temporarily boot with {{Bootparm|acpi|off}} and install the new 2.6.33.2-46 kernel out of [http://koji.fedoraproject.org/ Koji] until the fix is available through updates}}
+
{{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 T41|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
 +
* external displays no longer need a second xrandr run to get their physical size.
 +
* shutdown with external display attached, no longer causes the LVDS to do a strange fade to white
 +
* lower then default LVDS resolutions now work correct
 +
* compiz cube rotation colour palette problem is fixed
 +
* r200_run_tcl_render error is fixed with apps like Extreme TuxRacer
 +
* S-Video support has improved but the output quality is still pretty bad
 +
 
== 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_ea784dcd-9473-4738-9bbc-5ab190bf35b9 here].
 
This machines SMOLT profile is available [http://www.smolts.org/client/show/pub_ea784dcd-9473-4738-9bbc-5ab190bf35b9 here].
Line 28: Line 40:
 
|-
 
|-
 
|rowspan=2|Power Management
 
|rowspan=2|Power Management
| Software Suspend (hibernate) || {{Cyes}} ||  
+
| Software Suspend (hibernate) || {{Cno}} || Seems like it works (saves image), but does not resume image on boot. Instead it does a regular boot.
 
|-
 
|-
 
| Suspend to Memory (ACPI sleep) || {{Cno}} || Xserver hang on resume. [https://bugzilla.redhat.com/show_bug.cgi?id=531825 bugzilla]. boot with {{bootparm|radeon.agpmode|-1}} as a workaround.
 
| Suspend to Memory (ACPI sleep) || {{Cno}} || Xserver hang on resume. [https://bugzilla.redhat.com/show_bug.cgi?id=531825 bugzilla]. boot with {{bootparm|radeon.agpmode|-1}} as a workaround.
Line 52: Line 64:
 
| [[Intel Gigabit Ethernet (10/100/1000)|Ethernet]] || {{Cyes}} ||
 
| [[Intel Gigabit Ethernet (10/100/1000)|Ethernet]] || {{Cyes}} ||
 
|-
 
|-
| [[IBM Integrated Bluetooth II with 56K Modem (BMDC)|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 II with 56K Modem (BMDC)|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 Port|Serial]] || {{Cyes}} || Requires port-replicator or dock
 
| [[Serial Port|Serial]] || {{Cyes}} || Requires port-replicator or dock
Line 66: Line 78:
 
| PCMCIA/Cardbus || {{Cyes}} ||
 
| PCMCIA/Cardbus || {{Cyes}} ||
 
|-
 
|-
| colspan=2| [[Active Protection System|Harddisk Active Protection]] || {{Cpart}} || There 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. [https://bugzilla.redhat.com/show_bug.cgi?id=555298 bugzilla]
+
| colspan=2| [[Active Protection System|Harddisk Active Protection]] || {{Cno}} || Fedora ships the hdapsd rpm, but not the tp_smapi kernel module, which is required to read the motion sensor [https://bugzilla.redhat.com/show_bug.cgi?id=555298 bugzilla]
 
|-
 
|-
 
| 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}} || tpm-atmel kernel module loads without errors, and creates /dev/tpm0. Should work with 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 || {{Cunk}} ||  
 
| colspan=2| Dock removal || {{Cunk}} ||  
Line 87: Line 99:
 
=== Kernel ===
 
=== Kernel ===
 
It is recommended to edit {{path|/boot/grub/grub.conf}} and add {{bootparm|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.
 
It is recommended to edit {{path|/boot/grub/grub.conf}} and add {{bootparm|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.
 +
 +
You may also want to add {{bootparm|radeon.agpmode|-1}} to work around a suspend/resume bug by disabling AGP support.
 +
 
=== X Server - ATI RV250===
 
=== X Server - ATI RV250===
 
Out of the box external displays (VGA or DVI) should work, and you can switch display modes with the Fn-F7 key combination.
 
Out of the box external displays (VGA or DVI) should work, and you can switch display modes with the Fn-F7 key combination.
Line 119: Line 134:
 
| '''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|| {{Cpart}} || button works, but suspend fails on resume with corrupted display
+
| {{key|Fn}}{{key|F4}} || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || button works, but suspend fails on resume
 
|-
 
|-
| Fn-F5 || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Works as a radio kill switch, kills WiFi but not Bluetooth
+
| {{key|Fn}}{{key|F5}} || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Works as a radio kill switch, kills WiFi but not Bluetooth
 
|-
 
|-
| Fn-F7 || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cno}} || No longer has any effect! Regression.
+
| {{key|Fn}}{{key|F7}} || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
+
| {{key|Fn}}{{key|F12}} || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || button works, but hibernate fails
 
|-
 
|-
| 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 || thinkpad_acpi || {{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 || thinkpad_acpi || {{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 || thinkpad_acpi || {{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
+
| {{ibmkey|Access IBM|#495988}} || Vendor key ||thinkpad_acpi ||  {{Cyes|text=}} HAL|| {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
 
|-
 
|-
 
| NextTab || Browser Next tab || standard keyboard driver || {{Cyes|text=}} HAL|| {{Cyes}} ||
 
| NextTab || Browser Next tab || standard keyboard driver || {{Cyes|text=}} HAL|| {{Cyes}} ||
Line 172: Line 187:
 
* Parallel port
 
* Parallel port
 
* Dock eject
 
* Dock eject
* TPM
 
  
 
[[Category:T41]][[Category:Fedora]]
 
[[Category:T41]][[Category:Fedora]]

Latest revision as of 08:51, 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
  • external displays no longer need a second xrandr run to get their physical size.
  • shutdown with external display attached, no longer causes the LVDS to do a strange fade to white
  • lower then default LVDS resolutions now work correct
  • compiz cube rotation colour palette problem is fixed
  • r200_run_tcl_render error is fixed with apps like Extreme TuxRacer
  • S-Video support has improved but the output quality is still pretty bad

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 - ATI RV250 Laptop Screen yes
VGA yes
DVI yes Requires port-replicator or dock with DVI
S-Video partial see below
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) no Xserver hang on resume. bugzilla. boot with radeon.agpmode=-1 as a workaround.
Audio yes
Wireless WiFi - Atheros AR5212 yes
WiFi - Intel unknown (should work)
Bluetooth yes
Input Keyboard yes
TrackPoint yes Install gpointing-device-settings rpm for full configuration capabilities
TouchPad 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 port-replicator or dock
IrDA no Device is detected, but does not work
PS/2 Keyboard/Mouse yes Mouse works, but disables Trackpoint/Touchpad
Parallel unknown (should work) Device is detected
USB yes
PCMCIA/Cardbus yes
Harddisk Active Protection no Fedora ships the hdapsd rpm, but not the tp_smapi kernel module, which is required to read the motion sensor bugzilla
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 unknown

Tested and Verified on Fedora 13

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

Installation

Installation is straight forward, but you should do so without any external displays attached; 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.

You may also want to add radeon.agpmode=-1 to work around a suspend/resume bug by disabling AGP support.

X Server - ATI RV250

Out of the box external displays (VGA or DVI) should work, and you can switch display modes with the Fn-F7 key combination.

The following issues still exist for single-head (LVDS only) setups

  • unknown physical LVDS display size (0mm x 0mm) reported by RandR

And for Multihead or External displays. Some of these issues are likely caused by the limited amount of VRAM available (32MB)

  • S-Video output is distorted Bugzilla
  • Multihead causes the desktop to become very slow
  • Screen rotation does not work in combination with Multihead
  • Compiz does not work in combination with Multihead Bugzilla
  • external ONLY does not work (both displays are black)
  • Metacity Compositing does not work with Multihead
  • Strangely enough, plymouth gives a high-res text mode during boot with single-head, but graphical mode with Multihead boot

WiFi

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

Intel WiFi was not tested.

Audio

Starting with the 2.6.33 kernel, as included with Fedora 13, the thinkpad_acpi driver now exports a volume control to ALSA, which represents the volume and mute buttons on the ThinkPad keyboard. Unfortunately for ALSA/PulseAudio this is just another volume control (one without actual inputs/outputs), and as such there is no effective end-user change from what you had with previous kernels.

This volume control can be seen by running alsamixer, pressing F6 and selecting ThinkPad Console Audio Control

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 partial button works, but suspend fails on resume
FnF5 wireless thinkpad_acpi HAL partial Works as a radio kill switch, kills WiFi but not Bluetooth
FnF7 videomode thinkpad_acpi HAL yes
FnF12 hibernate acpi button HAL partial button works, but hibernate fails
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 unknown unknown Should cause udev event
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

IrDA

IrDA is detected, but does not work. Part of the problem is that the default Fedora configuration expects to find the IrDA port at /dev/ttyS2, while it should use /dev/ircomm0 instead. This can be fixed in /etc/sysconfig/irda after which the irda service can be started (# service irda start).

However, even after this communication with other devices fails. irdadump does not show any output when something like a mobile phone with IrDA is sending data.

Untested on Fedora 13

The following features where not tested with Fedora 13. If you have tested them, please update the table

  • Intel WiFi
  • Parallel port
  • Dock eject