Table of Contents
This report is listed at TuxMobil - Linux on laptops, notebooks, PDAs and mobile phones
This article describes installation of Fedora Core Family on IBM Thinkpad R50e laptop. Installation of linux is quite usual process, mostly everything should work out-of-box, but some moments should be cleared.
First you can repartition Windows with Partition Magic or any other program. You can even just delete it. There is litte problem, PQ Magic 8.0 doesn't start after using Disk Druid, but I hope, it's not important problem.
Then, you can just insert DVD or CDROM with Fedora Core and follow the instructions. After reload you'll probably see working system. Of course, there are problems, let's solve them step-by-step.
On Fedora Core 3 to make hardware work better you need to install latest Fedora kernel. It is simple, just download rpm from fedora updates and install it with rpm -i. I am now successfully using kernel-2.6.11-1.14_FC3.i686.rpm
On Fedora Core 4 I've meet a lot of problem with selinux. The only solution I've found is to disable selinux at all in /etc/selinux/config I've just disabled it. For futher info see Fedora bug. Alternatively, you can update selinux-policy-targetted.
Latest Fedoras works flawlessly, so there is no need to upgrade the kernel.
After reload, monitor is not correctly detected. You should start display configuration util from "System Settings" menu and set display type to "LCD panel 1024x768". After that you can set normal resolution
There is special program called tpscroll with is used to handle scrolling with middle button and trackpoint. But it's easier just to add options to xorg.conf mouse section. That will disable middle button, but it's still available but pressing left and right button simultaniously. And scroll with trackpoing and middle button pressed will work. Mouse section should look like this:
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" Option "EmulateWheel" "yes" Option "EmulateWheelButton" "2" EndSection
There is http://ipw2200.sf.net project for supporting it. Wifi should work fine with it. If you've installed latest kernel, you should already have kernel drivers, just add line
alias eth1 ipw2200
and download and install firmware from the site above. (I am using version 0.19) in /lib/firmware dir. Don't forget to install wireless-tools package. After that you can reboot then run system-config-network and setup new wireless connection.
This driver is included in latest kernels, so you only need to put a firmware.
ACPI mostly works. Moreover, with recent kernel ibm-acpi driver is automatically loaded and provide access to light and some buttons. I am not using them though :)
Much more improtant function is suspend to RAM. To get it working you need to do the following (make sure that you have acpid running)
Add vberestore option to i810 config section, note that there is no need to disable 3d with DRI.
Section "Device" Identifier "Videocard0" Driver "i810" VendorName "Videocard vendor" BoardName "Intel 852" Option "VBERestore" "true" EndSection
Create /etc/acpi/events/lid.conf
event=button[/]lid action=/etc/acpi/actions/sleep.sh
Create /etc/acpi/events/sleep.conf
event=button[/]sleep action=/etc/acpi/actions/sleep.sh
Create /etc/acpi/actions/sleep.sh and give execution access rights to it.
#!/bin/bash /usr/bin/chvt 1 /bin/sync #logger "s3test: saving video state and PCI config space." cat /proc/bus/pci/00/02.0 > /var/cache/video.config #logger "s3test: entering state" echo -n mem > /sys/power/state #logger "s3test: back from state" #logger "s3test: restoring PCI config space and video state." cat /var/cache/video.config > /proc/bus/pci/00/02.0 #logger "s3test: removing temporary files." rm -rf /var/cache/video.config /usr/bin/chvt 7 #logger "s3test: success!"
After that you can reboot and try to press Fn + F4 to test sleep mode.
Software Suspend 2 works fine. The HowTo on www.suspend2.net is excellent. You just need to install and setup hibernate script.
To use embedded modem you'll need to install hsf drivers, from http://www.linuxant.com/drivers/hsf/full/downloads.php. They are restricted for free use, but there nothing better yet. Neither slmodem with it's own slamr module or with alsa snd_intel8x0m wont work at all.
CPU frequency scale should work out-of-box. You just need to enable cpuspeed service and edit /etc/cpuspeed.conf. Uncomment the following lines there:
# uncomment this and set to the name of your CPUFreq module DRIVER="p4-clockmod" # Let background (nice) processes speed up the cpu OPTS="$OPTS -n"
The hardest part is over. Now you can customize your system as you wish. I would recommend you to run fc-cache from root and remove unneeded services with chkconfig --del. Also you can install various thinkpad utils like tpbuttons and tpcontrol, but I've just leaved them, they are not so needed. With them you can get OSD display of volume change and similar features.
Pawel Topa < topa at agh dot edu dot pl > for clearing most important question with suspend to RAM.
Simon Andreas Langen < simon-andreas dot langen at uni-rostock dot de > for clearing issue with dri and suspend.
Another very precise description of setting up by Michael Kupsch.
For any question feel free to ask me
Nickolay V. Shmyrev < nshmyrev at yandex dot ru >