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

From ThinkWiki
Jump to: navigation, search
(DPI)
m (ThinkPad Extra keys)
 
(20 intermediate revisions by 2 users 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 '''Alpha''' x86-64 version of Fedora 13 with the default GNOME desktop. Your experience with the 32bit version and/or KDE may be different.}}
+
{{NOTE|This is based on the x86-64 version of Fedora 13 with the default GNOME desktop. Your experience with the 32bit version and/or KDE may be different.}}
 +
{{NOTE|These instructions will no longer be updated by the original author, as he no longer has this particular ThinkPad.}}
 +
{{HELP|Not all models of this ThinkPad are equal, you may have a different Video or WiFi adapter, or some options I did not have. If you tested them, please add their status down below.}}
 
|}
 
|}
 +
 +
== 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
 +
* Intel graphics + Compiz + Extended desktop no longer freezes the system, but it still causes Compiz to crash
  
 
== Success Chart - Out of the box experience ==
 
== Success Chart - Out of the box experience ==
Line 33: Line 41:
 
|-
 
|-
 
|rowspan=2|Power Management
 
|rowspan=2|Power Management
| Software Suspend (hibernate) || {{Cpart}} || Seems a bit hit or miss for now
+
| Software Suspend (hibernate) || {{Cyes}} ||
 
|-
 
|-
| Suspend to Memory (ACPI sleep) || {{Cpart}} || Seems a bit hit or miss for now
+
| Suspend to Memory (ACPI sleep) || {{Cyes}} ||
 
|-
 
|-
 
|colspan=2| [[AD1981HD|Audio]] || {{Cyes}} ||
 
|colspan=2| [[AD1981HD|Audio]] || {{Cyes}} ||
Line 41: Line 49:
 
|rowspan=5| Wireless || WiFi - [[ThinkPad 11a/b/g Wireless LAN Mini Express Adapter|Atheros AR5414]]|| {{Cyes}} ||
 
|rowspan=5| Wireless || WiFi - [[ThinkPad 11a/b/g Wireless LAN Mini Express Adapter|Atheros AR5414]]|| {{Cyes}} ||
 
|-
 
|-
| WiFi - [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter|Intel 3945ABG]]|| {{Cunk}} ||
+
| WiFi - [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter|Intel 3945ABG]]|| {{Cyes}} ||
 
|-
 
|-
 
| [[ThinkPad Bluetooth with Enhanced Data Rate (BDC-2)|Bluetooth]] || {{Cyes}} ||
 
| [[ThinkPad Bluetooth with Enhanced Data Rate (BDC-2)|Bluetooth]] || {{Cyes}} ||
Line 75: Line 83:
 
| PCMCIA/Cardbus || {{Cyes}} ||  
 
| PCMCIA/Cardbus || {{Cyes}} ||  
 
|-
 
|-
| colspan=2| [[Active Protection System|Harddisk Active Protection]] || {{Cno}} || 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), does not seem to work, as hdapsd complains it cannot find the input device. [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|Ultrabay]] device hotswap || {{Cpart}} || see below, use with caution out of the box
 
| colspan=2| [[Ultrabay|Ultrabay]] device hotswap || {{Cpart}} || see below, use with caution out of the box
 
|-
 
|-
| colspan=2| [[Integrated Fingerprint Reader|Fingerprint reader]] || {{Cunk}} ||
+
| colspan=2| [[Integrated Fingerprint Reader|Fingerprint reader]] || {{Cyes}} ||
 
|-
 
|-
| colspan=2| [[Embedded Security Subsystem|TPM]] || {{Cunk}} || tpm_tis is automatically loaded. Try the tpm-tools rpm.  
+
| colspan=2| [[Embedded Security Subsystem|TPM]] || {{Cyes}} || tpm_tis is automatically loaded. After installing the tpm-tools rpm, and starting the tcsd service, the tpm_* commands seem to work.
 
|-
 
|-
 
|}
 
|}
Line 101: Line 109:
  
 
What does not work though is the following;
 
What does not work though is the following;
* combination of Compiz and extended desktop. Doing so crashes Compiz [https://bugzilla.redhat.com/show_bug.cgi?id=513736]
+
* combination of Compiz and extended desktop when virtual desktop size >2048. Doing so crashes Compiz [https://bugzilla.redhat.com/show_bug.cgi?id=513736]
* xvideo with a virtual desktop size >2048 resulting in a black window (easily reproduced with a webcam and Cheese). [https://bugzilla.redhat.com/show_bug.cgi?id=497069 bugzilla]
+
* xvideo with a virtual desktop size >2048 resulting in a black video window. [https://bugzilla.redhat.com/show_bug.cgi?id=497069 bugzilla].  Workarounds are documented [[Intel_Graphics_Media_Accelerator_950#Issues|here]].
  
 
=== X Server - ATI===
 
=== X Server - ATI===
Line 110: Line 118:
 
If you do not like the default size of desktop components (icons, tool bars), you can change the default DPI from 96 to something else by going to System -> Preferences -> Appearance. Now in Appearance Preferences select the Fonts tab and press the "Details ..." button. Here you can change the dots per inch.  A lower number will cause desktop components to shrink while a larger number will cause them to get larger.
 
If you do not like the default size of desktop components (icons, tool bars), you can change the default DPI from 96 to something else by going to System -> Preferences -> Appearance. Now in Appearance Preferences select the Fonts tab and press the "Details ..." button. Here you can change the dots per inch.  A lower number will cause desktop components to shrink while a larger number will cause them to get larger.
  
The correct DPI for a 14" 1400x1050 display is 124
+
The correct DPI for a 14.1" 1400x1050 display is 124
  
 
Fedora defaults to 96 DPI as that is the accepted norm, and used by Windows.
 
Fedora defaults to 96 DPI as that is the accepted norm, and used by Windows.
Line 127: Line 135:
  
 
Otherwise you will get two OSDs when using the brightness keys, one from gnome-power-manager and the other from tpb.
 
Otherwise you will get two OSDs when using the brightness keys, one from gnome-power-manager and the other from tpb.
 
===Atheros AR5414 WiFi===
 
Atheros was tested and works, but it seems that there are some problems connecting when the distance between ThinkPad and WiFi AP/Router increases (low signal strength).
 
 
===Intel WiFi===
 
?
 
  
 
===Audio===
 
===Audio===
Line 146: Line 148:
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
| '''Key''' || '''Function''' || '''Handled by''' ||'''Event''' || '''Works''' || '''Notes'''
 
|-
 
|-
| Fn-F2 || lock screen || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F2}} || lock screen || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-F3 || battery || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F3}} || battery || 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}} || 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 || {{Cyes}} || Cycles through LCD only, external only, both (mirrored), and both (extended desktop)
+
| {{key|Fn}}{{key|F7}} || videomode || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} || Cycles through LCD only, external only, both (mirrored), and both (extended desktop)
 
|-
 
|-
| Fn-F8 || mouse input select || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
+
| {{key|Fn}}{{key|F8}} || mouse input select || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cyes}} || Switches touchpad on and off, including OSD
 
|-
 
|-
| Fn-F9 || undock || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
+
| {{key|Fn}}{{key|F9}} || undock || thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
 
|-
 
|-
| Fn-F12 || hibernate || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}}{{key|F12}} || hibernate || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-Home || brightness up || acpi video || {{Cyes|text=}} HAL || {{Cyes}} || includes on-screen display of brightness level
+
| {{key|Fn}}{{key|Home}} || brightness up || acpi video || {{Cyes|text=}} HAL || {{Cyes}} || includes on-screen display of brightness level
 
|-
 
|-
| Fn-End || brightness down || acpi video || {{Cyes|text=}} HAL || {{Cyes}} || includes on-screen display of brightness level
+
| {{key|Fn}}{{key|End}} || brightness down || acpi video || {{Cyes|text=}} HAL || {{Cyes}} || includes on-screen display of brightness level
 
|-
 
|-
| 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.  
 
|-
 
|-
| ThinkVantage || Vendor key ||thinkpad_acpi || {{Cyes|text=}} HAL || {{Cpart}} || No default action, but can be associated with gnome-keybinding-properties
+
| {{ibmkey|ThinkVantage|#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 182: Line 184:
 
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
| PreviousTab || Browser Previous tab || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-Up || Stop || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Up || Stop || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-Left || reverse || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Left || reverse || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-Right || forward || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Right || forward || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
| Fn-Down || play/pause || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
+
| {{key|Fn}} Down || play/pause || standard keyboard driver || {{Cyes|text=}} HAL || {{Cyes}} ||
 
|-
 
|-
 
| Power || Power button || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} || Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
 
| Power || Power button || acpi button|| {{Cyes|text=}} HAL || {{Cyes}} || Need to press button for ~1 second to trigger event. Causes a dialog asking you what to do.
Line 203: Line 205:
  
 
=== Ultrabay ===
 
=== Ultrabay ===
 
 
The Ultrabay has some glitches out of the box with respect to hotswapping.  It is possible to lock the machine when pulling out devices, even the CD/DVD device.
 
The Ultrabay has some glitches out of the box with respect to hotswapping.  It is possible to lock the machine when pulling out devices, even the CD/DVD device.
  
Line 218: Line 219:
  
 
== Untested on Fedora 13 ==
 
== Untested on Fedora 13 ==
 
 
The following options have not been tested yet. If you try it with Fedora 13, please update the table.
 
The following options have not been tested yet. If you try it with Fedora 13, please update the table.
 
* ATI Graphics
 
* ATI Graphics
* Intel WiFi
 
 
* WWAN
 
* WWAN
 
* parallel port
 
* parallel port
* Fingerprint reader
 
* TPM security system
 
  
 
[[Category:T60]][[Category:Fedora]]
 
[[Category:T60]][[Category:Fedora]]

Latest revision as of 08:55, 12 October 2010

NOTE!
This is based on the x86-64 version of Fedora 13 with the default GNOME desktop. Your experience with the 32bit version and/or KDE may be different.
NOTE!
These instructions will no longer be updated by the original author, as he no longer has this particular ThinkPad.
Help needed
Not all models of this ThinkPad are equal, you may have a different Video or WiFi adapter, or some options I did not have. If you tested them, please add their status down below.

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
  • Intel graphics + Compiz + Extended desktop no longer freezes the system, but it still causes Compiz to crash

Success Chart - Out of the box experience

The SMOLT profile for the T60 used for testing Fedora 13 is here.

Item Working Notes
Installation Local CD/DVD install yes
Network Installation yes
USB Installation yes
Display - Intel 945GM Laptop Screen yes
VGA yes
DVI yes Requires a dock
Display - ATI Laptop Screen unknown
VGA unknown
DVI unknown Requires a dock
Power Management Software Suspend (hibernate) yes
Suspend to Memory (ACPI sleep) yes
Audio yes
Wireless WiFi - Atheros AR5414 yes
WiFi - Intel 3945ABG yes
Bluetooth yes
WWAN - Verizon unknown
WWAN - GSM/HSDPA unknown
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. Should work with the Linuxant HSF driver
Serial yes Requires port-replicator or dock
IrDA no Device is detected, but does not work.
PS/2 Keyboard/Mouse yes Mouse tested, Requires port-replicator or dock
Parallel unknown (should work) Requires port-replicator or dock
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 hotswap partial see below, use with caution out of the box
Fingerprint reader yes
TPM yes tpm_tis is automatically loaded. After installing the tpm-tools rpm, and starting the tcsd service, the tpm_* commands seem to work.

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

X Server - Intel 945GM

Works out of the box, including Compiz and external displays (VGA and DVI). Can switch between displays with Fn-F7.

One of the new Features of Fedora 13 is support for Colour Profiles (found under System > Preferences > Color Profiles). Instructions for locating the correct colour profile for your ThinkPad can be found on the Colour profile page.

What does not work though is the following;

  • combination of Compiz and extended desktop when virtual desktop size >2048. Doing so crashes Compiz [1]
  • xvideo with a virtual desktop size >2048 resulting in a black video window. bugzilla. Workarounds are documented here.

X Server - ATI

?

DPI

If you do not like the default size of desktop components (icons, tool bars), you can change the default DPI from 96 to something else by going to System -> Preferences -> Appearance. Now in Appearance Preferences select the Fonts tab and press the "Details ..." button. Here you can change the dots per inch. A lower number will cause desktop components to shrink while a larger number will cause them to get larger.

The correct DPI for a 14.1" 1400x1050 display is 124

Fedora defaults to 96 DPI as that is the accepted norm, and used by Windows.

OSD

By default OSD (On-Screen-Display) will only function for the brightness keys, not for other functions such as Volume.

For this you can install the 'tpb' package from the standard Fedora repository

yum install tpb

But afterwards, you need to edit /etc/tpbrc and change

#OSDBRIGHTNESS OFF

to (remove the #)

OSDBRIGHTNESS OFF

Otherwise you will get two OSDs when using the brightness keys, one from gnome-power-manager and the other from tpb.

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, acpi dock and acpi video drivers.

Key Function Handled by Event Works Notes
FnF2 lock screen thinkpad_acpi HAL yes
FnF3 battery thinkpad_acpi HAL yes
FnF4 suspend acpi button HAL yes
FnF5 wireless thinkpad_acpi HAL partial Works as a radio kill switch, kills WiFi but not Bluetooth
FnF7 videomode thinkpad_acpi HAL yes Cycles through LCD only, external only, both (mirrored), and both (extended desktop)
FnF8 mouse input select thinkpad_acpi HAL yes Switches touchpad on and off, including OSD
FnF9 undock thinkpad_acpi HAL partial No default action, but can be associated with gnome-keybinding-properties
FnF12 hibernate acpi button HAL yes
FnHome brightness up acpi video HAL yes includes on-screen display of brightness level
FnEnd brightness down acpi video HAL yes includes on-screen display of brightness level
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.
ThinkVantage 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
Fn Up Stop standard keyboard driver HAL yes
Fn Left reverse standard keyboard driver HAL yes
Fn Right forward standard keyboard driver HAL yes
Fn Down play/pause 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 Works, but check out this page for some potential issues and workarounds
Ultrabay Ultrabay eject switch acpi dock udev no Missing handler, see Ultrabay instructions below
Radio switch Radio kill switch thinkpad_acpi udev yes

Ultrabay

The Ultrabay has some glitches out of the box with respect to hotswapping. It is possible to lock the machine when pulling out devices, even the CD/DVD device.

The culprit is that the Ultrabay pre-eject switch is not hooked into anything useful. It does cause udev events, but nothing is listening for them. When a device that has a mounted partition or CD is actually pulled out it is too late to do the right thing. Fedora 11 will usually just complain, sometimes bitterly, but may also lock up for some unknown reason, even if just pulling out a CD/DVD device with a mounted CD.

Manually unmounting before removal will help. Manual powering down may also be required for correct performance.

A better solution is to set up a udev rule and script to handle the pre-eject switch event for Ultrabay devices that have mountable things in them as in 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 options have not been tested yet. If you try it with Fedora 13, please update the table.

  • ATI Graphics
  • WWAN
  • parallel port