Difference between revisions of "Installing Fedora Core 4 on a ThinkPad T43 (2668)"
(→X-Windows) |
(→IBM ACPI Module) |
||
Line 25: | Line 25: | ||
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]]. | 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: | + | After compilation, edit {{path|/etc/rc.local}}: |
#!/bin/sh | #!/bin/sh | ||
# | # | ||
Line 39: | Line 39: | ||
The last line enables hotkeys. To utilize supsend to RAM or to disk, the acpid has to be configured. | 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): | + | Alternatively, you can do the same thing by adding the following lines to {{path|/etc/modprobe.conf}} (2.6 kernels): |
install ibm_acpi /sbin/modprobe --ignore-install ibm_acpi; echo enable > /proc/acpi/ibm/hotkey | install ibm_acpi /sbin/modprobe --ignore-install ibm_acpi; echo enable > /proc/acpi/ibm/hotkey |
Revision as of 02:03, 28 September 2005
Installation is quite smooth, but requires some work by hand. I enlist only the changes
Contents
X-Windows
Add the dynamic clock option in /etc/X11/xorg.conf. It aims to provide a moderate boost in battery life. The device section should contain a videocard section like the following one:
Section "Device" Identifier "Videocard0" Driver "radeon" VendorName "Videocard vendor" BoardName "ATI Radeon Mobility M300" Option "DynamicClocks" "on" EndSection
Network Installation
Running # 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.