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

From ThinkWiki
Jump to: navigation, search
(hibernate works again with latest update)
 
(38 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 12. I will try to update the results when the final version is available.}}
+
{{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 [[Installing Fedora_13 on a ThinkPad T41|Fedora 13]]}}
 
|}
 
|}
 
== Success Chart - Out of the box experience ==
 
== Success Chart - Out of the box experience ==
Line 18: Line 19:
 
|-  
 
|-  
 
|rowspan=4|Display
 
|rowspan=4|Display
| Laptop Screen  || {{Cyes}} || Occasional minor corruption. Compiz works, but rotating cube causes the colour palette to be messed up during rotation.
+
| Laptop Screen  || {{Cyes}} || Occasional minor corruption.
 
|-
 
|-
| VGA || {{Cpart}} || see below
+
| VGA || {{Cpart}} || see below, fixed by installing updates
 
|-
 
|-
| DVI || {{Cpart}} || see below. Requires port-replicator or dock with DVI
+
| DVI || {{Cpart}} || see below, fixed by installing updates. Requires port-replicator or dock with DVI
 
|-
 
|-
 
| S-Video || {{Cpart}} || see below
 
| S-Video || {{Cpart}} || see below
 
|-
 
|-
 
|rowspan=2|Power Management
 
|rowspan=2|Power Management
| Software Suspend (hibernate) || {{Cyes}} || Fixed by installing latest DeviceKit-power-012-2 update
+
| Software Suspend (hibernate) || {{Cyes}} ||  
 
|-
 
|-
| Suspend to Memory (ACPI sleep) || {{Cno}} || Broken. corrupted display on resume. can switch to text mode.
+
| 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.
 
|-
 
|-
 
|colspan=2| Audio || {{Cyes}} || crackling on startup, afterwards seems to work fine
 
|colspan=2| Audio || {{Cyes}} || crackling on startup, afterwards seems to work fine
 
|-
 
|-
|rowspan=3| Wireless || WiFi - Atheros AR5212|| {{Cyes}} ||  
+
|rowspan=3| Wireless || WiFi - Atheros AR5212|| {{Cyes}} || See below - There are some issues with range.
 
|-
 
|-
 
| WiFi - Intel|| {{Cunk}} (should work)||
 
| WiFi - Intel|| {{Cunk}} (should work)||
Line 51: Line 52:
 
| Ethernet || {{Cyes}} ||
 
| Ethernet || {{Cyes}} ||
 
|-
 
|-
| Modem || {{Cno}} || Requires closed-source driver
+
| 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.
 
|-
 
|-
 
| Serial || {{Cyes}} || Requires port-replicator or dock
 
| Serial || {{Cyes}} || Requires port-replicator or dock
Line 65: Line 66:
 
| PCMCIA/Cardbus || {{Cyes}} ||
 
| PCMCIA/Cardbus || {{Cyes}} ||
 
|-
 
|-
| colspan=2| Harddisk Active Protection || {{Cpart}} || 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.
+
| colspan=2| Harddisk Active Protection || {{Cpart}} || 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. [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.
Line 71: Line 72:
 
| colspan=2| TPM (security subsystem) || {{Cunk}} || Not brave enough to mess around with it. You can try to install the tpm-tools rpm.
 
| colspan=2| TPM (security subsystem) || {{Cunk}} || Not brave enough to mess around with it. You can try to install the tpm-tools rpm.
 
|-
 
|-
| colspan=2| Dock removal || {{Cunk}} || Most likely not handled either
+
| colspan=2| Dock removal || {{Cunk}} ||  
 
|-
 
|-
 
|}
 
|}
Line 81: Line 82:
 
== Installation ==
 
== Installation ==
  
Installation is straight forward; you can follow the generic Fedora install instructions.
+
Installation is straight forward, but you should do so without any external displays attached; you can follow the generic Fedora install instructions.
  
 
== Configuration ==
 
== Configuration ==
 
=== 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.
=== X Server (ATI RV250)===
+
=== X Server - ATI RV250===
Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS), but there can be occasional glitches like a horizontal corrupted line, or a font where one letter has a horizontal line through it.
+
Out of the box external displays (VGA, DVI or S-Video) do not work properly. It is best to do the install without any external displays attached. After the install is finished you should install the available updates, in particular the available Xorg, libdrm, Mesa and Kernel updates.
  
Booting with an external display attached does not work properly. Plymouth Graphical boot works fine, but the moment the X server starts to display GDM the LVDS gets switched off and the picture on the external display is somewhat messed up (on partly re-drawn). Logging in causes the X server to crash and restart.
+
Unfortunately the latest ATI Radeon driver and kernel are not yet available in the Updates repository, so for the time being do the following;
  
Attaching an external display after the X server is started (hotplug) works better. After you manually trigger a display scan (for instance running xrandr or pressing the 'Detect Monitors' button in Gnome Display Properties) will cause extended desktop mode to get activated. You can also switch to mirror mode, and use the Fn-F5 key combination to switch between different modes. But each time you take such an action the display will get more and more corrupted.
+
yum update kernel\* libdrm mesa\* plymouth\* xorg\* --enablerepo=updates-testing
  
TV-Out (S-Video) defaults to NTSC and cannot be changed to anything else. No settings are available to adjust the output. Also the picture has a very annoying horizontal 'vibration' making it useless.
+
After the updates are installed, external VGA and DVI displays should work and you can switch display modes with the Fn-F7 key combination to switch between different modes.
 +
 
 +
The updates will also improve S-Video support, and give you the ability to select TV output mode (PAL, NTSC, etc) with {{cmd|xrandr|}}. Unfortunately the output is still distorted. See the [https://bugzilla.redhat.com/show_bug.cgi?id=497055 Bugzilla] report for more information.
  
 
In addition the following issues exist
 
In addition the following issues exist
 
* unknown physical LVDS display size (0mm x 0mm)
 
* unknown physical LVDS display size (0mm x 0mm)
 
* nasty LVDS 'flash' when hotplugging an external display and running xrandr
 
* nasty LVDS 'flash' when hotplugging an external display and running xrandr
* external displays do not show the physical size, until you run xrandr for the 2nd time
+
* <s>external displays do not show the physical size, until you run xrandr for the 2nd time [https://bugzilla.redhat.com/show_bug.cgi?id=537373]</s> - fixed in updates
 
+
* external ONLY does not work (both displays are black)
==== Desktop Effects ====
+
* <s>when an external display is attached, the shutdown/reboot plymouth screen on the LVDS will do a strange fade to white, like the screen is going</s> - fixed in updates
Enabling 'Desktop Effects' (compiz) works. But there is a colour palette problem when using the cube rotation.
+
* <s>Starting tuxkart, or anything that lowers the LVDS display resolution to less then native, causes the LVDS display to fade to white like it is burning out [https://bugzilla.redhat.com/show_bug.cgi?id=539936]</s> - fixed in updates
 +
* <s>Enabling 'Desktop Effects' (compiz) works. But there is a colour palette problem when using the cube rotation.</s> - fixed in updates
 +
* r200_run_tcl_render error with some OpenGL apps (e.g. Extreme TuxRacer) [https://bugzilla.redhat.com/show_bug.cgi?id=533591]
  
=== Wireless Network ===
+
=== WiFi ===
  
 
Both the Intel and Atheros AR5212 wireless should work out of the box.
 
Both the Intel and Atheros AR5212 wireless should work out of the box.
  
I did limited tested with Atheros and it seemed to worked, but it might take a few tries to connect. In addition it seems the further away you are from your WiFi AP/Router the more problems it has connecting.
+
I did limited tested with Atheros and it seemed to worked as long as your not too far from your WiFi AP/Router. The further away you are the more problems, ranging from several tries before it connects, to never connecting even though it reports 2 out of 4 bars in signal strength. Once connected you can move further away and keep connected, at least until it needs to re-negotiate at which time you loose your connection.
  
 
Intel WiFi was not tested.
 
Intel WiFi was not tested.
Line 120: Line 125:
 
| Fn-F3 || lock screen || thinkpad_acpi|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
| Fn-F3 || lock screen || thinkpad_acpi|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F4 || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
+
| Fn-F4 || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || button works, but suspend fails on resume with corrupted display
 
|-
 
|-
 
| Fn-F5 || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Works as a radio kill switch, kills WiFi but not Bluetooth
 
| Fn-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|| {{Cpart}} || Cycles through various modes (LVDS+External Extended, LVDS+External Mirror, LVDS only, External only). I get however a warning message that the display switch did not work, though it did work. The biggest problem is that it causes all the fonts to get corrupted.
+
| Fn-F7 || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cyes}} || Cycles through various modes (LVDS+External Extended, LVDS+External Mirror, LVDS only, External only).
 
|-
 
|-
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || It attempts to hibernate but fails
+
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
 
| Fn-Home || brightness up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
 
| Fn-Home || brightness up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
Line 134: Line 139:
 
| Fn-PgUp || thinklight || - || {{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.
 
|-
 
|-
| Fn-Space || zoom || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cno}} || Known Xorg limitation, scheduled to be fixed in Xorg 1.8 with the new XKB2 extension in 2Q 2010
+
| 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.
 
|-
 
|-
 
| VolumeUp || Volume Up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
 
| VolumeUp || Volume Up || - || {{Cno}} || {{Cyes}} || no default OSD. Install the tpb rpm as a workaround.
Line 167: Line 172:
  
 
= Untested on Fedora 12 =
 
= Untested on Fedora 12 =
Dock eject was not tested, as I only have a port replicator not a dock.
+
The following features where not tested with Fedora 12. If you have tested them, please update the table
 +
* Intel WiFi
 +
* Parallel port
 +
* Dock eject
 +
* TPM
  
 
[[Category:T41]][[Category:Fedora]]
 
[[Category:T41]][[Category:Fedora]]

Latest revision as of 15:42, 13 April 2010

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.

Item Working Notes
Installation Local CD/DVD install yes
Network Installation yes
USB Installation yes
Display Laptop Screen yes Occasional minor corruption.
VGA partial see below, fixed by installing updates
DVI partial see below, fixed by installing updates. Requires port-replicator or dock with DVI
S-Video partial see below
Power Management Software Suspend (hibernate) yes
Suspend to Memory (ACPI sleep) no Xserver hang on resume. bugzilla. boot with radeon.agpmode=-1 as a workaround.
Audio yes crackling on startup, afterwards seems to work fine
Wireless WiFi - Atheros AR5212 yes See below - There are some issues with range.
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.
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 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. 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) unknown Not brave enough to mess around with it. You can try to install the tpm-tools rpm.
Dock removal unknown

Tested and Verified on Fedora 12

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

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.

X Server - ATI RV250

Out of the box external displays (VGA, DVI or S-Video) do not work properly. It is best to do the install without any external displays attached. After the install is finished you should install the available updates, in particular the available Xorg, libdrm, Mesa and Kernel updates.

Unfortunately the latest ATI Radeon driver and kernel are not yet available in the Updates repository, so for the time being do the following;

yum update kernel\* libdrm mesa\* plymouth\* xorg\* --enablerepo=updates-testing

After the updates are installed, external VGA and DVI displays should work and you can switch display modes with the Fn-F7 key combination to switch between different modes.

The updates will also improve S-Video support, and give you the ability to select TV output mode (PAL, NTSC, etc) with xrandr. Unfortunately the output is still distorted. See the Bugzilla report for more information.

In addition the following issues exist

  • unknown physical LVDS display size (0mm x 0mm)
  • nasty LVDS 'flash' when hotplugging an external display and running xrandr
  • external displays do not show the physical size, until you run xrandr for the 2nd time [1] - fixed in updates
  • external ONLY does not work (both displays are black)
  • when an external display is attached, the shutdown/reboot plymouth screen on the LVDS will do a strange fade to white, like the screen is going - fixed in updates
  • Starting tuxkart, or anything that lowers the LVDS display resolution to less then native, causes the LVDS display to fade to white like it is burning out [2] - fixed in updates
  • Enabling 'Desktop Effects' (compiz) works. But there is a colour palette problem when using the cube rotation. - fixed in updates
  • r200_run_tcl_render error with some OpenGL apps (e.g. Extreme TuxRacer) [3]

WiFi

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

I did limited tested with Atheros and it seemed to worked as long as your not too far from your WiFi AP/Router. The further away you are the more problems, ranging from several tries before it connects, to never connecting even though it reports 2 out of 4 bars in signal strength. Once connected you can move further away and keep connected, at least until it needs to re-negotiate at which time you loose your connection.

Intel 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
Fn-F3 lock screen thinkpad_acpi HAL yes
Fn-F4 suspend acpi button HAL partial button works, but suspend fails on resume with corrupted display
Fn-F5 wireless thinkpad_acpi HAL partial Works as a radio kill switch, kills WiFi but not Bluetooth
Fn-F7 videomode thinkpad_acpi HAL yes Cycles through various modes (LVDS+External Extended, LVDS+External Mirror, LVDS only, External only).
Fn-F12 hibernate acpi button HAL yes
Fn-Home brightness up - no yes no default OSD. Install the tpb rpm as a workaround.
Fn-End brightness down - no yes no default OSD. Install the tpb rpm as a workaround.
Fn-PgUp thinklight - no yes no default OSD. Install the tpb rpm as a workaround.
Fn-Space zoom thinkpad_acpi HAL no Known Xorg limitation, scheduled to be fixed with the new XKB2 extension, whenever that may be.
VolumeUp Volume Up - no yes no default OSD. Install the tpb rpm as a workaround.
VolumeDown Volume Down - no yes no default OSD. Install the tpb rpm as a workaround.
Mute Mute - no yes no default OSD. Install the tpb rpm as a workaround.
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 12

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

  • Intel WiFi
  • Parallel port
  • Dock eject
  • TPM