Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad R61

From ThinkWiki
Revision as of 18:18, 4 July 2008 by Andy987s (Talk | contribs) (To Disc)
Jump to: navigation, search

Suspend with Nv140m

To Ram

Does not work by default.

I used the information from hereand here.


Open the file /etc/default/acpi-support in your favorite editor and change the following lines:

 # Should we save and restore state using the VESA BIOS Extensions?
 # Should we attempt to warm-boot the video hardware on resume?
 # Set the following to "platform" if you want to use ACPI to shut down
 # your machine on hibernation
 # Save and restore video state?

Create a new file /etc/hal/fdi/information/lenovo.fdi with the following contents:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
    <match key="system.hardware.vendor" string="LENOVO">
      <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
      <merge key="power_management.quirk.s3_bios" type="bool">false</merge>
      <merge key="power_management.quirk.save_pci" type="bool">true</merge>

To Disc

Suspend to Disk (and RAM) worked out of the box for me. However when resuming, the wireless network would not reconnect automatically.

Note: I have the iwl4965 driver. Check the driver for your host with:

 lsmod | grep 80211

The following changes will ensure wifi is available after resuming:

vi /etc/default/acpi-support
  # ACM 1-Jul-2008 Explicitly specify all the wifi modules to be shutdown
  MODULES="iwl4965 iwlwifi_mac80211 cfg80211"
  # ACM 1-Jul-2008 specify netapplet be restarted
vi /boot/grub/menu.lst
  # defoptions=quiet splash acpi_sleep=s3_mode