Success with Suspend2

It worked, it really worked …

I’m considering buying or building a new PC. Something with Intel Core 2 Duo. While these CPU’s require less power under load than their AMD equivalents, they consume more power in idle situations. It frequently happens, that the PC at home is idling for extended periods. So, I thought, I should give the “Suspend2” patch set for the Linux kernel a try. This is, what I did today with my company PC and as fas as I can tell, I worked flawless.

This are the steps for my Gentoo system.

Include these line in /etc/portage/package.keywords

sys-apps/suspend2-userui
sys-kernel/suspend2-sources
sys-power/hibernate-script

and emerge the most recent versions of these packages (actually I went for the suspend2-sources-2.6.20-r6 kernel sources instead of 2.6.21). Configure and compile the kernel according to the HOWTO documentation. Additionally I blacklisted intel_agp and agpgart in the file /etc/modprobe.d/blacklist to rely on the Nividia internal NvAGP driver.

/etc/modprobe.d/blacklist:

blacklist intel_agp
blacklist agpgart

and executed “update-modules force“. In /etc/hibernate/blacklisted-modules the nvidia module was listed. After suggestion from the net I commented it, since my Nvidia driver is recent enough.

After that, I rebooted the new “suspend2” kernel and tried it and I’m happy to report, that it really worked. Now it only need to work on my PC at home and then on the new PC. Anyway here is the lspci output from this configuration:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller (LOM)
03:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax