Re: ACPI power off regression in 2.6.23-rc8 (NOT in rc7)
From: Torsten Kaiser
Date: Tue Sep 25 2007 - 12:30:26 EST
On 9/25/07, Alexey Starikovskiy <aystarik@xxxxxxxxx> wrote:
> Torsten Kaiser wrote:
> > No, I do not have CONFIG_ACPI_SLEEP set,
> > because I do not have CONFIG_PM_SLEEP set,
> > because I do not want SUSPEND and/or HIBERNATION.
> This is not the reason. SUSPEND is controlled with CONFIG_SUSPEND and
> HIBERNATION is controlled with CONFIG_HIBERNATION.
> But if you want S5 ACPI sleep state you might want to enable ACPI_SLEEP...
What I meant with SUSPEND and/or HIBERNATION was CONFIG_SUSPEND /
And the relations where from Kconfig:
depends on PM_SLEEP
-> no PM_SLEEP means no ACPI_SLEEP
depends on SUSPEND || HIBERNATION
-> No SUSPEND and/or HIBERNATION means no PM_SLEEP
And if I select SUSPEND and/or HIBERNATION I will not only build this
feature into the kernel, but also HOTPLUG_CPU and I want to avoid
It's exactly as Linus said in his mail: Not everybody wants SUSPEND...
I should have formulated that better in my mail, but that was what I
wanted to say.
Back to debugging this:
fails to apply against 2.6.23-rc7-mm1, but moving that function by
hand was not to difficult. ;)
(With only the second patch I got a link error...)
applied, and a test showed that my system now powers off again.
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/