Difference between revisions of "Installing Fedora 11 on a ThinkPad T41"
(→ThinkPad keys) |
(→ThinkPad keys) |
||
(38 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 | ||
Line 28: | Line 33: | ||
|colspan=2| Audio || {{Cyes}} || | |colspan=2| Audio || {{Cyes}} || | ||
|- | |- | ||
− | |rowspan=3| Wireless || | + | |rowspan=3| Wireless || WiFi - Atheros|| {{Cyes}} || But WiFi LED remains off |
|- | |- | ||
− | | | + | | WiFi - Intel|| {{Cunk}} (should work)|| |
|- | |- | ||
| Bluetooth || {{Cyes}} || | | Bluetooth || {{Cyes}} || | ||
|- | |- | ||
− | | Extra Buttons || Keyboard Section || | + | | Extra Buttons || Keyboard Section || {{Cpart}} || See ThinkPad keyboard section below |
|- | |- | ||
| rowspan=8|Ports | | rowspan=8|Ports | ||
Line 43: | Line 48: | ||
| Serial || {{Cyes}} || Requires port-replicator or dock | | Serial || {{Cyes}} || Requires port-replicator or dock | ||
|- | |- | ||
− | | IrDA || {{ | + | | IrDA || {{Cno}} || Device is detected, but does not work |
|- | |- | ||
− | | PS/2 Keyboard/Mouse || {{ | + | | 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 55: | Line 60: | ||
| colspan=2| Harddisk Active Protection || {{Cno}} || | | colspan=2| Harddisk Active Protection || {{Cno}} || | ||
|- | |- | ||
− | | colspan=2| Ultrabay device removal || {{ | + | | 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 65: | 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 === | === X Server === | ||
− | Basic X server functionality should work out of the box on the ThinkPad LCD (LVDS) | + | 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 | + | 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. | 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. | ||
− | + | 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 ==== | ==== Desktop Effects ==== | ||
− | Enabling 'Desktop Effects' (compiz) | + | Enabling 'Desktop Effects' (compiz) works. |
=== Wireless Network === | === Wireless Network === | ||
Line 85: | 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 | + | 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''' ||''' | + | | '''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}} || {{ | + | | 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}} || {{ | + | | 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 110: | 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 118: | 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}} || {{ | + | | 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}} || Need to press button for ~1 second to trigger event | + | | 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 || acpi dock || {{Cunk}} || {{Cunk}} || Should | + | | Dock || Dock eject button || acpi dock || {{Cunk}} || {{Cunk}} || Should cause udev event |
|- | |- | ||
− | | Ultrabay || Ultrabay eject switch || acpi dock || {{ | + | | Ultrabay || Ultrabay eject switch || acpi dock || {{Cyes|text=}} udev|| {{Cno}} || 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 {{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. | ||
= 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.