Difference between revisions of "Installing Ubuntu on a ThinkPad X31"

From ThinkWiki
Jump to: navigation, search
(more on ACPI vs. APM)
Line 14: Line 14:
 
==Choosing between APM and ACPI==
 
==Choosing between APM and ACPI==
  
Right now there is a crucial feature not working with ACPI on linux (2.6.9): suspend to ram does not switch off the LCD backlight.
+
I tested both, APM and ACPI but settled with ACPI which now works like a charm.
Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. In effect neither suspend mode is working out of the box.
+
 
 +
Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. Since ACPI suspend to ram
 +
does not switch off the LCD backlight neither suspend mode is working out of the box. See below how to configure
 +
ACPI.
  
 
Simply disableing ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.
 
Simply disableing ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.
Line 21: Line 24:
 
On the other hand: having ACPI disabled will make your system use about 10% more power which reduces my battery
 
On the other hand: having ACPI disabled will make your system use about 10% more power which reduces my battery
 
runtime from ~4:00h to 3:40h.
 
runtime from ~4:00h to 3:40h.
 +
 +
Please read "[[How to make use of Power Management features]]" for more in depth information.
  
 
===Disableing ACPI and using APM===
 
===Disableing ACPI and using APM===

Revision as of 15:02, 22 December 2004

Preface

I installed hoary ( Ubuntu "unstable") because of some specific needs. Netherless, this article should apply to Ubuntu 4.10 "The Warty Warthog" too.

Everything seems to work very fine.

See Henrik Brix Andersens page for a lot of useful information.

Installing without cdrom or floppy

Follow the instructions at UbuntuSupport: Netboot remarks

Choosing between APM and ACPI

I tested both, APM and ACPI but settled with ACPI which now works like a charm.

Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. Since ACPI suspend to ram does not switch off the LCD backlight neither suspend mode is working out of the box. See below how to configure ACPI.

Simply disableing ACPI at boottime activates APM which works fine with suspend to ram and suspend to disk.

On the other hand: having ACPI disabled will make your system use about 10% more power which reduces my battery runtime from ~4:00h to 3:40h.

Please read "How to make use of Power Management features" for more in depth information.

Disableing ACPI and using APM

To disable ACPI and activate APM boot your kernel with acpi=off

...describe how to edit /boot/grub/menu.lst...

APM based suspend to disk needs a save2disk.img hibernation file on FAT16. Use the tphdisk utility to create this file.

Use Fn-F4 to suspend-to-ram and Fn-F12 to suspend-to-disk.

Using ACPI