Fedora Core 5 on Dell Latitude 510

Guess what? I just completed an install of Fedora Core 5 on my Dell Latitude 510. The installation when very well. FC5 comes with a lot of goodies that I need such as the Bluetooth Manager and X.org 7.0 (so our graphics card now has native support). To install follow the instructions in the old Fedora Core 4 on Dell Latitude 510 except for these sections.

Lid

1. Edit the /etc/acpi/events/video.conf. This file should contain:

event=video.*
action=/usr/sbin/vbetool dpms on

2. Restart the acpi daemon by typing:

/sbin/service acpid restart

Software Suspend 2

As usual, our friend Matthias Hensler saves the day with his FC5 RPMs with swsusp2, NTFS and other laptop goodies.

1. Install the mkinitrd creation script from the mhensler’s website. This allows us to easily create new initrd files. Download here.

2. Install the following swsusp2 kernel from mhensler’s website. You also need to install the devel RPM in order to build the new ipw2200 firmware later on. Take note that we are using the FC-testing kernels instead of the FC-update kernels. This is because the SATA patch necessary to get this working was only integrated into the FC-testing kernels (as of 2006-01-04). Install the following RPMS:

Download Kernel RPM
Download Kernel Devel RPM

3. Then we need to install the hibernate script and the userui interfaces.

Download Hibernate
Download the FC5 pm-utils here.
Download swsusp2-userui Script

4. You might also want to have nice suspend screens. You can try out:

Download Files Here, Here and Here.

5. Edit the /etc/hibernate/hibernate.conf file to suite your needs. The one below is my file:

# Example hibernate.conf file. Adapt to your own tastes.
# Options are not case sensitive.
#
# Run "hibernate -h" for help on the configuration items.

##############################################################################
### Choose your Suspend method. You currently have 3 choices:
###
###    suspend2            Software Suspend 2 (requires kernel patches from
###                        http://www.suspend2.net/)
###
###    sysfs_power_state   Uses /sys/power/state to suspend (activates pmdisk
###                        on kernels < 2.6.8, or vanilla swsusp otherwise).
###
###    acpi_sleep          Uses /proc/acpi/sleep to activate swsusp, or other
###                        ACPI sleep state supported by your machine.
###
##############################################################################

### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
#EnableEscape yes
#DefaultConsoleLevel 1
Compressor lzf
Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
# SuspendDevice swap:/dev/hda2
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
# PowerdownMethod 5
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes
#ProcSetting disable_textmode_support 1
ProcSetting userui_program /sbin/suspend2ui_text
#ProcSetting userui_program /sbin/suspend2ui_fbsplash
#ProcSetting compressor lzf
#ProcSetting disable_encryption 1

### sysfs_power_state
## To use /sys/power/state to suspend your machine (which may offer
## suspend-to-RAM, suspend-to-disk, standby, etc) comment out all the options
## above for Software Suspend 2, below for acpi_sleep, and uncomment this line.
## You may replace mem with any one of the states from "cat /sys/power/state"
# UseSysfsPowerState mem
# PowerdownMethod shutdown

### acpi_sleep
## To use ACPI to suspend your machine (via /proc/acpi/sleep), comment out
## all the options above for Software Suspend 2 and sysfs, and uncomment this
## line. The number refers to the ACPI sleep state - 3 is suspend-to-RAM and
## 4 is suspend-to-disk.
# UseACPISleep 4

##############################################################################
### Some global settings
##############################################################################

Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
# AlwaysForce yes
# AlwaysKill yes
# HibernateVT 15
# Distribution debian (or fedora/gentoo/mandrake/redhat/slackware/suse)
Distribution fedora
# XDisplay :0

##############################################################################
### Scriptlets
###   Scriptlets provide support for doing all sorts of things before and after
###   suspending. The defaults settings here should work for most people, but
###   you may wish to edit these to taste. Consult "hibernate -h" for help on
###   the configuration settings.
##############################################################################

### bootsplash
## If you use bootsplash, also enabling SwitchToTextMode is recommended if
## you use X, otherwise you may end up with a garbled X display.
# Bootsplash on
# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg

### clock
SaveClock restore-only

### devices
# IncompatibleDevices /dev/dsp /dev/video*

### diskcache
# DisableWriteCacheOn /dev/hda

### fbsplash (enable SwitchToTextMode if you use this)
# FBSplash on
# FBSplashTheme suspend2

### filesystems
# Unmount /nfsshare /windows /mnt/sambaserver
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
# Mount /windows

### grub
# ChangeGrubMenu yes
# GrubMenuFile /boot/grub/menu.lst
# AlternateGrubMenuFile /boot/grub/menu-suspended.lst
# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak

### hardware_tweaks
# IbmAcpi yes
# RadeonTool yes

### lilo
# EnsureLILOResumes yes

### lock (generally you only want one of the following options)
# LockConsoleAs root
# LockXScreenSaver yes
# LockKDE yes
# LockXLock yes
# LockXAutoLock yes

### misclaunch
OnSuspend 20 echo "Good night!"
OnResume 20 echo "Good morning!"

### modules
# UnloadModules snd_via82cxxx usb-ohci
# UnloadAllModules yes
UnloadBlacklistedModules yes
LoadModules auto
# LoadModulesFromFile /etc/modules

### modules-gentoo
# GentooModulesAutoload yes

### network
# DownInterfaces eth0
# UpInterfaces auto

### pcmcia
# EjectCards yes

### programs
# IncompatiblePrograms xmms

### services
# RestartServices postfix
# StopServices alsasound
# StartServices aumix

### vbetool
# EnableVbetool yes
# RestoreVbeStateFrom /var/lib/vbetool/vbestate
# VbetoolPost yes
# RestoreVCSAData yes

### xhacks
SwitchToTextMode yes
# UseDummyXServer yes

### xstatus
## This can be set to gnome, kde or x:
XStatus x
XSuspendText Preparing to suspend...
XResumeText Resuming from suspend...
## When using XStatus x, and you have xosd installed

6. Create a file named /etc/acpi/events/sleep.conf to override the default sleep configuration. this is the contents of my sleep.conf file:

event=button/sleep.*
action=/usr/sbin/hibernate

7. Restart the acpi daemon by typing:

/sbin/service acpid restart

But wait! Our dear friend Matthias has created a nice Yum repository for FC5 packages. This way you can install the packages according to his instructions here. These packages are pre-configured for FC5 with their logical values already set. No need for manual configuration! Yipee!

CRT, bluetooth, WiFi

Works out of the box. Nothing to fix!