Difference between revisions of "Installing Fedora 8 on a ThinkPad T61p"

From ThinkWiki
Jump to: navigation, search
(Audio)
(PAE linked)
 
(17 intermediate revisions by 6 users not shown)
Line 11: Line 11:
  
 
Booting from the installation CD/DVD is only working in text mode due to the nVidia cards, you can use later vesa mode or nVidia drivers or livna nVidia drivers for X
 
Booting from the installation CD/DVD is only working in text mode due to the nVidia cards, you can use later vesa mode or nVidia drivers or livna nVidia drivers for X
 +
 +
Note: The for the initial install of older Windows (XP/Server 2k3 Gold & SP1) disks you need the SATA interface to operate in ''Compatibility'' mode; however, Fedora 8 needs it in ''AHCI'' mode.  If T61p is set to ''Compatibility'' mode in BIOS, install will likely hang or display giberish.
  
 
== Display/Video ==
 
== Display/Video ==
Line 22: Line 24:
  
 
The last options is provided by following packages: kmod-nvidia, xorg-x11-drv-nvidia.
 
The last options is provided by following packages: kmod-nvidia, xorg-x11-drv-nvidia.
 +
To enable full support of your display add vga=893 as bootloader option for your kernel.
 +
 +
=== Brightness ===
 +
As of kernel update: 2.6.23.9-85 and its linked drivers from livna funtion keys are working even in X and the nvidia driver.
 +
  
 
== Mouse ==
 
== Mouse ==
  
Important note: the synaptics driver, which is detected by default does not give the acceleration setting to a attached mouse or the trackpoint. Please replace the section for the synaptics driver with the following one:
+
Important note: the [[Synaptics TouchPad driver for X]], which is detected by default, does not give the acceleration setting to a attached mouse or the trackpoint. Please replace the section for the synaptics driver with the following one:
  
 
<code>
 
<code>
Line 37: Line 44:
 
</code>
 
</code>
  
== Brightness ==
 
source: [[ Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61  ]]
 
====Nvidia Quadro N140 and 570M:====
 
The brightness controls do not work, however you can switch to a virtual terminal (ctrl+alt+F1) increase or decrease the brightness and then switch back to X (ctrl+alt+F7) without disrupting the running applications.  In a few rare cases switching back to X (ctrl+alt+7) may freeze your computer with a black screen so save any open documents before switching out.
 
  
When using the '''vesa''' driver the brightness controls do work. So this problem seems to be related to the '''nvidia''' driver.
+
To get further button support of more than three buttons of your super mouse you should have a look at following software:
 +
[http://www.ollisalonen.com/btnx http://www.ollisalonen.com/btnx]
  
 
== Audio ==
 
== Audio ==
Working, but volume keys do not work with the nVidia card at least. If you want to use KDE, make sure you install the kde-desktop group: yum install kde-desktop. This will install among others kde-settings-pulseaudio.
+
Is fully working now. Muting is working and unmuting with the volume keys as well. If you are using KDE then you have to choose "Threaded Open Sound System" as audio system in the control center. I could not use PulseAudio (make sure you do not install kde-settings-pulseaudio or pulseaudio). With PulseAudio the sound was always delayed and the cpu usage was very high.
 +
 
 +
The volume keys are only standard keys with the keycodes 174 and 176. So you have to assign them to mixer control actions. For that KDE needs a keysymname to be able to assign it in its mixer controls. So you can add following lines to the file /etc/X11/Xmodmap:
 +
<code>
 +
    keycode 174 = 0xffd2
 +
    keycode 176 = 0xffd3
 +
</code>
 +
KDE users should put these codes in ~/.Xmodmap and use following script "xmodmap.sh" in the ~/.kde/Autostart folder (KDE uses not the standard xinit files):
 +
<code>
 +
    #!/bin/sh
 +
    [ -e "$HOME/.Xmodmap" ] && xmodmap $HOME/.Xmodmap
 +
</code>
 +
 
 +
Now the volume keys are sending F21 and F22 which I assigned to the global shortcut in the kmix configuration for volume up and down. Furthermore I added a link in the ~/.kde/Autostart folder to kmix to make sure it is always started (somehow it will not restart itself).
  
=== Todo ===  
+
=== Issues ===
*Volume keys.  
+
Sound driver seems to crash sometimes before or after suspend. Please share you experiences, do you know of any relating bugs?
*The sound is a bit delayed for signals like warnings, console bells, is this is a KDE problem?
 
  
 
== Network ==
 
== Network ==
Line 61: Line 77:
  
 
== Fingerprint Reader ==
 
== Fingerprint Reader ==
 +
The integrated fingerprint reader supported by the thinkfinger package. Gnome and KDM (kde login manager) seem to be working quite well, KDE is not fully supported yet.  See "[[How to enable the integrated fingerprint reader with ThinkFinger]]" for configuration information and tips.
  
Is supported by the thinkfinger package. Gnome and KDM (kde login manager) seem to be working quite well, KDE is not fully supported yet.
+
Update: see [[How to enable the integrated fingerprint reader]] for alternatives.
 
 
Install thinkfiner package and edit ''/etc/pam.d/system-auth'' and add the ''pam_thinkfinger.so'' module right before ''pam_unix.so''. So your ''system-auth'' should start like this:
 
 
 
<code>
 
  #%PAM-1.0
 
  # This file is auto-generated.
 
  # User changes will be destroyed the next time authconfig is run.
 
  auth        required      pam_env.so
 
  auth        sufficient    pam_thinkfinger.so
 
  auth        sufficient    pam_unix.so nullok try_first_pass
 
  auth        requisite    pam_succeed_if.so uid >= 500 quiet
 
  auth        required      pam_deny.so
 
  ...
 
</code>
 
 
 
Then save a fingerprint for each user that is allowed to log in via fingerprint. For example, for the account ''auser'' this is done with
 
<code>
 
    tf-tool --add-user auser
 
</code>
 
Now whenever you are asked to enter the password for ''auser'', you can also swipe your finger:
 
<code>
 
    [anotheruser@thinkpad ~]$ su auser
 
    Password or swipe finger:
 
    [auser@thinkpad ~]$
 
</code>
 
You probably want to enroll the ''root'' account so you can just ''su'' to the superuser without entering the root password.
 
  
 
== Memory ==
 
== Memory ==
  
I had to use the PAE kernel to be able to use all 4GB, otherwise a maximum of 3GB is only seen.
+
Using the 32bit version of Fedora, I had to use the [[PAE]] kernel to be able to use all 4GB, otherwise a maximum of 3GB is only seen. With the 64bit (x86_64) all memory is seen perfectly.
  
 
[[Category:T61p]]
 
[[Category:T61p]]
 
[[Category:Fedora]]
 
[[Category:Fedora]]

Latest revision as of 17:12, 12 March 2017

Introduction

This document outlines configuring Fedora 8 on your Thinkpad T61p. Most items will work out of the box and a base install will provide you with an almost completely working system. Due to the modular nature of the T61 there are many different configuration, please read carefully and only make the changes specific to your system.

Feel free to update this Wiki with your information however please ask questions on the Talk page.

Please look here for further informations as well:

Installation Notes

Booting from the installation CD/DVD is only working in text mode due to the nVidia cards, you can use later vesa mode or nVidia drivers or livna nVidia drivers for X

Note: The for the initial install of older Windows (XP/Server 2k3 Gold & SP1) disks you need the SATA interface to operate in Compatibility mode; however, Fedora 8 needs it in AHCI mode. If T61p is set to Compatibility mode in BIOS, install will likely hang or display giberish.

Display/Video

You have following alternatives for your graphics in X:

  1. vesa mode, no 3D support
  2. nVidia drivers, download from the vendor
  3. nVidia drivers by livna (prefered)

The last options is provided by following packages: kmod-nvidia, xorg-x11-drv-nvidia. To enable full support of your display add vga=893 as bootloader option for your kernel.

Brightness

As of kernel update: 2.6.23.9-85 and its linked drivers from livna funtion keys are working even in X and the nvidia driver.


Mouse

Important note: the Synaptics TouchPad driver for X, which is detected by default, does not give the acceleration setting to a attached mouse or the trackpoint. Please replace the section for the synaptics driver with the following one:

   Section "InputDevice"
       Identifier "Logitech"
       Driver "mouse"
       Option "Device" "/dev/input/mice"
       Option "ZAxisMapping" "4 5 6 7"
       Option "Protocol" "auto"
   EndSection


To get further button support of more than three buttons of your super mouse you should have a look at following software: http://www.ollisalonen.com/btnx

Audio

Is fully working now. Muting is working and unmuting with the volume keys as well. If you are using KDE then you have to choose "Threaded Open Sound System" as audio system in the control center. I could not use PulseAudio (make sure you do not install kde-settings-pulseaudio or pulseaudio). With PulseAudio the sound was always delayed and the cpu usage was very high.

The volume keys are only standard keys with the keycodes 174 and 176. So you have to assign them to mixer control actions. For that KDE needs a keysymname to be able to assign it in its mixer controls. So you can add following lines to the file /etc/X11/Xmodmap:

   keycode 174 = 0xffd2
   keycode 176 = 0xffd3

KDE users should put these codes in ~/.Xmodmap and use following script "xmodmap.sh" in the ~/.kde/Autostart folder (KDE uses not the standard xinit files):

   #!/bin/sh
   [ -e "$HOME/.Xmodmap" ] && xmodmap $HOME/.Xmodmap

Now the volume keys are sending F21 and F22 which I assigned to the global shortcut in the kmix configuration for volume up and down. Furthermore I added a link in the ~/.kde/Autostart folder to kmix to make sure it is always started (somehow it will not restart itself).

Issues

Sound driver seems to crash sometimes before or after suspend. Please share you experiences, do you know of any relating bugs?

Network

Ethernet and Wlan is fully supported. Wlan will be detected as wlan0.

Suspend to RAM

Working.

Suspend to Disk / Hibernate

Has display problems (black after resume until hard reset), perhaps tuxonice should give a try.

Fingerprint Reader

The integrated fingerprint reader supported by the thinkfinger package. Gnome and KDM (kde login manager) seem to be working quite well, KDE is not fully supported yet. See "How to enable the integrated fingerprint reader with ThinkFinger" for configuration information and tips.

Update: see How to enable the integrated fingerprint reader for alternatives.

Memory

Using the 32bit version of Fedora, I had to use the PAE kernel to be able to use all 4GB, otherwise a maximum of 3GB is only seen. With the 64bit (x86_64) all memory is seen perfectly.