swsusp + APM in 2.6.6
From: Plaz McMan
Date: Wed May 12 2004 - 20:16:43 EST
Upgrading older IBM ThinkPad from 2.6.1 to 2.6.6.
In 2.6.1, I had ACPI + APM support compiled in, and I disabled ACPI at
boot (acpi=off). With this setup, I could sleep, shutdown, and use swap
suspend with "echo 4 > /proc/sleep" (_not_ /proc/acpi/sleep, as there
was no /proc/acpi). I slept the computer with "apm -[s,S]". I had ACPI
support because for some reason the computer wouldn't shutdown without
it, even though I have it disabled at boot. Note that ACPI wouldn't
properly sleep my computer (display stayed on, even with lid closed),
which is why I used APM. In any event, 2.6.1 worked _great_ as far as PM
stuff was concerned.
In 2.6.6, however, using the same kernel configuration, neither
/proc/sleep or /proc/acpi/sleep exist! I _do_ have swsusp enabled in the
kernel, as well as ACPI sleep states (do they do anything if you disable
ACPI at boot?). ACPI sleep doesn't turn off the screen, so I want to use
APM. However, I also want swsusp to work. So, I will continue to use
2.6.1 until everything pans out.
Other kernels (maybe only 2.6.5) wouldn't support my mobo's DMA, so I
haven't tested this out on them. I will, however, at request.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/