Re: (fwd) empty /sys/power/state?

Rafael J. Wysocki
2007-05-19T23:20:45Z

On Sunday, 20 May 2007 01:09, Stefan Richter wrote:
> Rafael J. Wysocki wrote:
> > Can you please try to set CONFIG_SOFTWARE_SUSPEND and see if that helps?
>
> I will do so. BTW,
>
> config SOFTWARE_SUSPEND
> bool "Software Suspend (Hibernation)"
> depends on PM && SWAP && (((X86 || PPC64_SWSUSP) && (!SMP ||
> SUSPEND_SMP)) || ((FRV || PPC32) && !SMP))
>
> and
>
> config SUSPEND_SMP
> bool
> depends on HOTPLUG_CPU && (X86 || PPC64) && PM
>
> So, no HOTPLUG_CPU -> no SOFTWARE_SUSPEND. I don't expect a
> single-processor, dual-core PC to require CPU hotplugging support.

We use the CPU hotplug code for disabling/enabling nonboot CPUs.

You need to enable it to be able to suspend (BTW, it's also necesary for
the suspend to RAM).

Greetings,
Rafael