Installing Fedora Core 4 on a ThinkPad T43 (2668)

From ThinkWiki
Revision as of 00:56, 28 September 2005 by Wyrfel (Talk | contribs) (Suspend to disk)
Jump to: navigation, search

Installation is quite smooth, but requires some work by hand. I enlist only the changes

X-Windows

Add the dynamic clock option in the xorg.conf. It aims to provide a moderate boost in battery life. You find the file at

/etc/X11/xorg.conf

The device section should contain a videocard section like the folowing one:

Section "Device"
       Identifier  "Videocard0"
       Driver      "radeon"
       VendorName  "Videocard vendor"
       BoardName   "ATI Radeon Mobility M300"
       Option      "DynamicClocks" "on"
EndSection

Network Installation

lspci shows

04:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

I got the madwifi source code from MadWifi Home Page. Compile after downloading

tar xzf madwifi-cvs-current.tar.gz
cd madwifi
make
su 
make install

IBM ACPI Module

The module version included in current kernels (2.6.12) is 0.8, but the current version of the module is 0.11. It has some advantages. For directions on how to install this driver, please refer to Ibm-acpi. After compilation, edit /etc/rc.local:

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

modprobe ibm_acpi experimental=1
echo enable > /proc/acpi/ibm/hotkey

The last line enables hotkeys. To utilize supsend to RAM or to disk, the acpid has to be configured.

Alternatively, you can do the same thing by adding the following lines to /etc/modprobe.conf (2.6 kernels):

 install ibm_acpi /sbin/modprobe --ignore-install ibm_acpi; echo enable > /proc/acpi/ibm/hotkey
 options ibm_acpi experimental=1

Suspend to disk

To get suspend to disk working, fetch a recent kernel and recompile. For further instructions, take a look at the swsusp-Section in How to make ACPI work. Especially configure the kernel to suspend to the swap partition. If you're not sure, take a look at the partitition list output by issuing in command line

# fdisk -l

Don't forget to compile SCSI and the Intel SATA into the kernel. Do a

# make && make install

Check the boot loader (ususally grub) to include the new kernel.

Reboot and do a

# echo -n 4 > /proc/acpi/sleep

If everything works, the system will be shut down to disk.

Suspend to RAM, DMA for DVD drive

See Problems with SATA and Linux.