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

Stefan Richter
2007-05-19T23:18:49Z

I 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.

As a first step, I enabled HOTPLUG_CPU and SUSPEND_SMP, i.e. did not
enable SOFTWARE_SUSPEND yet.

# cat /sys/power/state
mem
# echo m >/sys/power/state
PC goes to sleep.

Thanks so far.

(Alas it doesn't wake up anymore. But that's another issue for another
day. I had all drivers loaded when I did this.)
--
Stefan Richter
-=====-=-=== -=-= =-=--