Re: [linux-2.4.0-test5] swsusp w/o swap fail...

From: Patrick Mochel
Date: Mon Sep 15 2003 - 10:47:04 EST



> I don't really know what's the problem, but CONFIG_ACPI_SLEEP=y selects
> CONFIG_SOFTWARE_SUSPEND independent if it or CONFIG_SWAP is selected.
> And it's somewhat confusing if one cannot turn off
> CONFIG_SOFTWARE_SUSPEND (after enabling CONFIG_SWAP) via `make
> menuconfig` even it is bool.
> So the workaroung was to simply disable CONFIG_SLEEP.

Ah, I see. ACPI_SLEEP definitely does not imply SOFTWARE_SUSPEND. Thanks
for pointing that out. The patch below should fix it.


Pat


===== drivers/acpi/Kconfig 1.20 vs edited =====
--- 1.20/drivers/acpi/Kconfig Sat Aug 23 04:07:34 2003
+++ edited/drivers/acpi/Kconfig Mon Sep 15 08:37:24 2003
@@ -69,7 +69,6 @@
bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI
depends on EXPERIMENTAL && PM
- select SOFTWARE_SUSPEND
default y
---help---
This option adds support for ACPI suspend states.

-
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/