From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Richter Subject: Re: (fwd) empty /sys/power/state? Date: Sun, 20 May 2007 01:18:49 +0200 Message-ID: <464F85D9.30707@s5r6.in-berlin.de> References: <464F6E74.1040607@s5r6.in-berlin.de> <200705200053.58388.rjw@sisk.pl> <464F8395.4080300@s5r6.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <464F8395.4080300@s5r6.in-berlin.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org 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 -=====-=-=== -=-= =-=-- http://arcgraph.de/sr/