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

From ThinkWiki
Jump to: navigation, search
(←Created page with '== Success Chart == {| border="1" cellpadding="5" cellspacing="0" |- |colspan=2| '''Item''' || '''Working''' || '''Notes''' |- |rowspan=3|Installation | Local CD/DVD ins...')
 
(ThinkPad keys)
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Success Chart ==
+
{| width="100%"
 
+
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__
 +
|style="vertical-align:top" |
 +
{{NOTE|Some functions mentioned below might rely on available Fedora updates being installed. So if your having problems with something that is supposed to work, please ensure you have all available updates installed}}
 +
|}
 +
== Success Chart - Out of the box experience ==
 +
This machines SMOLT profile is available [http://www.smolts.org/client/show/pub_276b9cfe-6c93-4928-b3c0-1789cac90d0e here].
 
{| border="1" cellpadding="5" cellspacing="0"
 
{| border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
Line 13: Line 18:
 
|-  
 
|-  
 
|rowspan=4|Display
 
|rowspan=4|Display
| Laptop Screen  || {{Cyes}} || Occasional corruption may occur
+
| Laptop Screen  || {{Cyes}} || Occasional corruption may occur.
 
|-
 
|-
| VGA || {{Cno}} || currently broken
+
| VGA || {{Cno}} || currently broken.
 
|-
 
|-
 
| DVI || {{Cno}} || currently broken. Requires port-replicator or dock with DVI
 
| DVI || {{Cno}} || currently broken. Requires port-replicator or dock with DVI
 
|-
 
|-
| S-Video || {{Cno}} || No, this is currently broken with KMS
+
| S-Video || {{Cno}} || currently unsupported with KMS
 
|-
 
|-
 
|rowspan=2|Power Management
 
|rowspan=2|Power Management
Line 28: Line 33:
 
|colspan=2| Audio || {{Cyes}} ||
 
|colspan=2| Audio || {{Cyes}} ||
 
|-
 
|-
|rowspan=2| Wireless || 802.11 || {{Cyes}} ||
+
|rowspan=3| Wireless || WiFi - Atheros|| {{Cyes}} || But WiFi LED remains off
 +
|-
 +
| WiFi - Intel|| {{Cunk}} (should work)||
 
|-
 
|-
 
| Bluetooth || {{Cyes}} ||
 
| Bluetooth || {{Cyes}} ||
 
|-
 
|-
| Extra Buttons || Keyboard Section || {{Cyes}} || thinkpad_acpi driver
+
| Extra Buttons || Keyboard Section || {{Cpart}} || See ThinkPad keyboard section below
 
|-
 
|-
 
| rowspan=8|Ports
 
| rowspan=8|Ports
Line 41: Line 48:
 
| Serial || {{Cyes}} || Requires port-replicator or dock
 
| Serial || {{Cyes}} || Requires port-replicator or dock
 
|-
 
|-
| IrDA || {{Cunk}} || Device is detected
+
| IrDA || {{Cno}} || Device is detected, but does not work
 
|-
 
|-
| PS/2 Keyboard/Mouse || {{Cunk}} (should work)|| Requires port-replicator or dock
+
| PS/2 Keyboard/Mouse || {{Cyes}} || Mouse works, but disables Trackpoint/Touchpad
 
|-
 
|-
 
| Parallel || {{Cunk}} (should work)|| Device is detected
 
| Parallel || {{Cunk}} (should work)|| Device is detected
Line 53: Line 60:
 
| colspan=2| Harddisk Active Protection || {{Cno}} ||  
 
| colspan=2| Harddisk Active Protection || {{Cno}} ||  
 
|-
 
|-
| colspan=2| Ultrabay device removal || {{Cno}} || Does not work out of the box
+
| 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| TPM (security subsystem) || {{Cunk}} || Not brave enough to mess around with it
 +
|-
 +
| colspan=2| Dock removal || {{Cunk}} ||
 +
|-
 
|}
 
|}
  
Line 63: Line 75:
  
 
Installation is straight forward; you can follow the generic Fedora install instructions.
 
Installation is straight forward; you can follow the generic Fedora install instructions.
 +
 +
== Shutdown ==
 +
 +
Currently the system will hang most of the time during shutdown, with the last message on the console being
 +
ip6tables: Unloading modules:
 +
without [Ok] getting printed at the end of the line.
 +
 +
== Overheating ==
 +
 +
On a couple of occasions, such as when installing a very large YUM update with hundreds of updates the following occurred
 +
 +
kernel:Critical temperature reached (93 C), shutting down.
  
 
== Configuration ==
 
== Configuration ==
 +
=== 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.
 +
=== X Server ===
 +
Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS).
 +
 +
Fedora 11 uses KMS (Kernel Mode Setting) by default, and this causes problems for now with external displays. Neither VGA or DVI external displays work properly.
 +
 +
On the up side, with KMS the maximum virtual display size is now 4096x4096 (2048x2048 without KMS), which should allow extended desktop once the issues with external display support are sorted.
 +
 +
{| border="1" cellpadding="5" cellspacing="0"
 +
|-
 +
|colspan=2| '''Output''' || '''Mode''' || '''Result'''
 +
|-
 +
|rowspan=3|LVDS+VGA
 +
| Boot with display attached || Mirror mode || Plymouth Graphical boot<br>* LVDS shows normal boot at full resolution<br>* VGA no signal/out of range<br>GDM<br>* LVDS is switched off<br>* VGA shows out of range error.
 +
|-
 +
| Hotplug || Mirror mode || GDP is not able to activate VGA display<br>VGA display remains black
 +
|-
 +
| Hotplug || Extended desktop || Brief horizontal striped corruption on both displays, after which they both go black. VGA shows out of range error.
 +
|-
 +
|rowspan=3|LVDS+DVI
 +
| Boot with display attached || Mirror mode || Plymouth Graphical boot<br>* LVDS shows normal boot at full resolution<br>* DVI no signal<br>GDM<br>* LVDS is switched off<br>* DVI shows out of range error
 +
|-
 +
| Hotplug || Mirror mode || GDP is not able to activate DVI display<br>DVI display remains black
 +
|-
 +
| Hotplug || Extended desktop || Brief horizontal striped corruption on both displays, after which they both go black. DVI shows out check cable error.
 +
|-
 +
| S-Video || n/a || n/a || not currently supported in combination with KMS
 +
|}
 +
In none of the above cases the system actually hangs. You can get display back to the LVDS by unplugging the external monitor and restarting the Xserver.
  
=== X Server ===
+
In addition the following issues exist
Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS), as long as no external displays are attached at boot. Occasional screen corruption can occur, such as a corrupted background image or with the vertical scroll bars.
+
* ThinkPad tends to freeze at shutdown/reboot when an external display is attached. Requiring a hard shutdown.
 +
* Partly green vertical scroll bars (bottom part) in applications like gnome-terminal (just size the window larger to get the effect)
 +
* External displays list a bogus 0x0 resolution mode
 +
* unknown physical display size (0mm x 0mm) (mainly important for LVDS as it effects the DPI)
  
 +
Most of these issues have been reported to Red Hat bugzilla.
 
==== Desktop Effects ====
 
==== Desktop Effects ====
Enabling 'Desktop Effects' (compiz) cause the Xserver to restart
+
Enabling 'Desktop Effects' (compiz) works.
  
 
=== Wireless Network ===
 
=== Wireless Network ===
Line 76: Line 134:
 
Both the Intel and Atheros wireless should work out of the box.
 
Both the Intel and Atheros wireless should work out of the box.
  
I tested the Atheros and it worked. Intel was not tested.
+
I did limited tested with Atheros and it seemed to worked. WiFi LED remains off though (fixed in 2.6.31)
 +
 
 +
Intel WiFi was not tested.
  
 
=== ThinkPad keys ===
 
=== ThinkPad keys ===
 
ThinkPad keys are handled by a mixture of the thinkpad_acpi, acpi button and acpi dock drivers.
 
ThinkPad keys are handled by a mixture of the thinkpad_acpi, acpi button and acpi dock drivers.
 +
 
{| border="1" cellpadding="5" cellspacing="0"
 
{| border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
| '''Key''' || '''Function''' || '''Handled by''' ||'''Seen by HAL''' || '''Works''' || '''Notes'''
+
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
|-
 
|-
| Fn-F3 || lock screen || thinkpad_acpi|| {{Cyes}} || {{Cyes}} ||
+
| Fn-F3 || lock screen || thinkpad_acpi|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F4 || suspend || acpi button|| {{Cyes}} || {{Cyes}} ||
+
| Fn-F4 || suspend || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Fn-F5 || wireless || thinkpad_acpi || {{Cyes}} || {{Cno}} ||
+
| Fn-F5 || wireless || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cno}} ||
 
|-
 
|-
| Fn-F7 || videomode || thinkpad_acpi || {{Cyes}} || {{Cno}} || causes a brief flash of the display
+
| Fn-F7 || videomode || thinkpad_acpi || {{Cyes|text=}} HAL|| {{Cpart}} || Attempts to cycle through various modes (LVDS only, LVDS+External in mirror, External only, LVDS+External Extended), but causes corruption due to external display problems. Can be associated with gnome-keybinding-properties
 
|-
 
|-
| Fn-F12 || hibernate || acpi button|| {{Cyes}} || {{Cyes}} ||
+
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL|| {{Cpart}} || does the same as Fn-F4 (suspend), not hibernate
 
|-
 
|-
 
| Fn-Home || brightness up || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
 
| Fn-Home || brightness up || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
Line 100: Line 161:
 
| Fn-PgUp || thinklight || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. No OSD in any case.
 
| Fn-PgUp || thinklight || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. No OSD in any case.
 
|-
 
|-
| Fn-Space || zoom || thinkpad_acpi || {{Cyes}} || {{Cno}} ||
+
| 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
 
|-
 
|-
 
| VolumeUp || Volume Up || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
 
| VolumeUp || Volume Up || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
Line 108: Line 169:
 
| Mute || Mute || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events and OSD. works as a on/off toggle
 
| Mute || Mute || - || {{Cno}} || {{Cyes}} || changing thinkpad_acpi hotkey_mask, causes HAL events and OSD. works as a on/off toggle
 
|-
 
|-
| Access IBM || Vendor key ||thinkpad_acpi ||  {{Cyes}} || {{Cno}} ||
+
| Access IBM || 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}} || {{Cyes}} ||
+
| NextTab || Browser Next tab || standard keyboard driver || {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes}} || {{Cyes}} ||
+
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Power || Power button || acpi button|| {{Cyes}} || {{Cyes}} ||
+
| Power || Power button || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} || Need to press button for ~1 second to trigger event
 
|-
 
|-
| Lid || Lid button || acpi button|| {{Cyes}} || {{Cyes}} ||
+
| Lid || Lid button || acpi button|| {{Cyes|text=}} HAL|| {{Cyes}} ||
 
|-
 
|-
| Dock || Dock eject button || acpu dock  || {{Cunk}} || {{Cunk}} || Should be handled by ACPI dock driver
+
| Dock || Dock eject button || acpi dock  || {{Cunk}} || {{Cunk}} || Should cause udev event
 
|-
 
|-
| Ultrabay || Ultrabay eject switch || acpi dock || {{Cno}} || {{Cno}} || Handled by ACPI dock driver, but does not work
+
| Ultrabay || Ultrabay eject switch || acpi dock || {{Cyes|text=}} udev|| {{Cno}} || Causes udev event, but missing handler. See below.
 
|-
 
|-
 
|}
 
|}
  
By default the Fn-F4 (suspend) and Fn-F12 (hibernate) keys work. As do the brightness/thinklight and volume/mute keys but the key presses are not seen by HAL, so no nice onscreen display.
+
=== Ultrabay ===
 +
Ultrabay eject is not handled properly by default. Since there is no undock udev handler. This udev script works for me: [[Installing Fedora 11 on a ThinkPad T60#Ultrabay]]
 +
 
 +
===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 {{path|/etc/sysconfig/irda}} after which the irda service can be started ({{cmdroot|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.
  
Fn-F3, Fn-F5, Fn-F7 and Fn-Space have no effect as HAL
 
 
= Untested on Fedora 11 =
 
= Untested on Fedora 11 =
 +
Dock eject was not tested, as I only have a port replicator not a dock.
  
 
[[Category:T41]][[Category:Fedora]]
 
[[Category:T41]][[Category:Fedora]]

Latest revision as of 23:04, 26 October 2009

NOTE!
Some functions mentioned below might rely on available Fedora updates being installed. So if your having problems with something that is supposed to work, please ensure you have all available updates installed

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 corruption may occur.
VGA no currently broken.
DVI no currently broken. Requires port-replicator or dock with DVI
S-Video no currently unsupported with KMS
Power Management Software Suspend (hibernate) yes
Suspend to Memory (ACPI sleep) yes
Audio yes
Wireless WiFi - Atheros yes But WiFi LED remains off
WiFi - Intel unknown (should work)
Bluetooth yes
Extra Buttons Keyboard Section partial See ThinkPad keyboard section below
Ports Ethernet yes
Modem no Requires closed-source driver
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
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
Dock removal unknown

Tested and Verified on Fedora 11

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

Installation

Installation is straight forward; you can follow the generic Fedora install instructions.

Shutdown

Currently the system will hang most of the time during shutdown, with the last message on the console being

ip6tables: Unloading modules:

without [Ok] getting printed at the end of the line.

Overheating

On a couple of occasions, such as when installing a very large YUM update with hundreds of updates the following occurred

kernel:Critical temperature reached (93 C), shutting down.

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

Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS).

Fedora 11 uses KMS (Kernel Mode Setting) by default, and this causes problems for now with external displays. Neither VGA or DVI external displays work properly.

On the up side, with KMS the maximum virtual display size is now 4096x4096 (2048x2048 without KMS), which should allow extended desktop once the issues with external display support are sorted.

Output Mode Result
LVDS+VGA Boot with display attached Mirror mode Plymouth Graphical boot
* LVDS shows normal boot at full resolution
* VGA no signal/out of range
GDM
* LVDS is switched off
* VGA shows out of range error.
Hotplug Mirror mode GDP is not able to activate VGA display
VGA display remains black
Hotplug Extended desktop Brief horizontal striped corruption on both displays, after which they both go black. VGA shows out of range error.
LVDS+DVI Boot with display attached Mirror mode Plymouth Graphical boot
* LVDS shows normal boot at full resolution
* DVI no signal
GDM
* LVDS is switched off
* DVI shows out of range error
Hotplug Mirror mode GDP is not able to activate DVI display
DVI display remains black
Hotplug Extended desktop Brief horizontal striped corruption on both displays, after which they both go black. DVI shows out check cable error.
S-Video n/a n/a not currently supported in combination with KMS

In none of the above cases the system actually hangs. You can get display back to the LVDS by unplugging the external monitor and restarting the Xserver.

In addition the following issues exist

  • ThinkPad tends to freeze at shutdown/reboot when an external display is attached. Requiring a hard shutdown.
  • Partly green vertical scroll bars (bottom part) in applications like gnome-terminal (just size the window larger to get the effect)
  • External displays list a bogus 0x0 resolution mode
  • unknown physical display size (0mm x 0mm) (mainly important for LVDS as it effects the DPI)

Most of these issues have been reported to Red Hat bugzilla.

Desktop Effects

Enabling 'Desktop Effects' (compiz) works.

Wireless Network

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

I did limited tested with Atheros and it seemed to worked. WiFi LED remains off though (fixed in 2.6.31)

Intel WiFi was not tested.

ThinkPad 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 yes
Fn-F5 wireless thinkpad_acpi HAL no
Fn-F7 videomode thinkpad_acpi HAL partial Attempts to cycle through various modes (LVDS only, LVDS+External in mirror, External only, LVDS+External Extended), but causes corruption due to external display problems. Can be associated with gnome-keybinding-properties
Fn-F12 hibernate acpi button HAL partial does the same as Fn-F4 (suspend), not hibernate
Fn-Home brightness up - no yes changing thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
Fn-End brightness down - no yes changing thinkpad_acpi hotkey_mask, causes HAL events. But sysfs backlight brightness value does not change, so OSD is wrong.
Fn-PgUp thinklight - no yes changing thinkpad_acpi hotkey_mask, causes HAL events. No OSD in any case.
Fn-Space zoom thinkpad_acpi HAL no Known Xorg limitation, scheduled to be fixed in Xorg 1.8 with the new XKB2 extension in 2Q 2010
VolumeUp Volume Up - no yes changing thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
VolumeDown Volume Down - no yes changing thinkpad_acpi hotkey_mask, causes HAL events. But OSD is wrong
Mute Mute - no yes changing thinkpad_acpi hotkey_mask, causes HAL events and OSD. works as a on/off toggle
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
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 script works for me: Installing Fedora 11 on a ThinkPad T60#Ultrabay

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 11

Dock eject was not tested, as I only have a port replicator not a dock.