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

From ThinkWiki
Jump to: navigation, search
(more on ACPI vs. APM)
Line 1: Line 1:
===Preface===
+
==Preface==
 +
 
 
I installed hoary ([[:Category:Ubuntu | Ubuntu]] "unstable") because of some specific needs. Netherless,
 
I installed hoary ([[:Category:Ubuntu | Ubuntu]] "unstable") because of some specific needs. Netherless,
 
this article should apply to Ubuntu 4.10 "The Warty Warthog" too.
 
this article should apply to Ubuntu 4.10 "The Warty Warthog" too.
Line 7: Line 8:
 
See [http://dev.gentoo.org/~brix/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful information.
 
See [http://dev.gentoo.org/~brix/papers/X31/X31.html Henrik Brix Andersens] page for a lot of useful information.
  
===Choosing between APM and ACPI===
+
==Installing without cdrom or floppy==
 +
 
 +
Follow the instructions at [http://www.ubuntulinux.org/support UbuntuSupport]: [http://www.ubuntulinux.org/support/documentation/howto/helpcenterhowto.2004-11-26.2137127791/howto_view Netboot remarks ]
 +
 
 +
==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.
 
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.
Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. In effect suspend is not working out of the box.
+
Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. In effect neither suspend mode is working out of the box.
 
 
(maybe ACPI works better with acpi_sleep=s3_bios)
 
  
 
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.
  
APM based suspend to disk needs a save2disk.img hibernation file on FAT16. See below.
+
On the other hand: having ACPI disabled will make your system use about 10% more power which reduces my battery
===Installing without cdrom or floppy===
+
runtime from ~4:00h to 3:40h.
 
 
Follow the instructions at [http://www.ubuntulinux.org/support UbuntuSupport]: [http://www.ubuntulinux.org/support/documentation/howto/helpcenterhowto.2004-11-26.2137127791/howto_view Netboot remarks ]
 
  
===Disableing ACPI===
+
===Disableing ACPI and using APM===
  
To disable ACPI an activate APM boot your kernel with acpi=off
+
To disable ACPI and activate APM boot your kernel with acpi=off
  
 
  ...describe how to edit /boot/grub/menu.lst...
 
  ...describe how to edit /boot/grub/menu.lst...
  
===Creating a APM hibernation file===
+
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.
  
Use [[tphdisk]] utility to create a save2disk.img file on a hidden FAT16 partition,
+
===Using ACPI===
 +
  
 
[[Category:X31]] [[Category:Ubuntu]]
 
[[Category:X31]] [[Category:Ubuntu]]

Revision as of 15:23, 7 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

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. Ubuntu ships with ACPI enabled, but without ACPI suspend-to-disk being configured. In effect neither suspend mode is working out of the box.

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.

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