Skip to contentSkip to conversation

2.6.9-rc3 software suspend (pmdisk) stopped working

DISCUSSION Mitch 3 participants 3 messages Oct 3, 2004 – Oct 4, 2004

lore
Share & tools
lore

Mitch

author
#0 lore raw

Well it appears that Jesse and Kevin are right and irrespective of the setting of /sys/power/disk, i can get the machine to suspend by first writing 'platform' into the 'disk' file. And it resumes fine ok. Seems to be a false alarm on my part Pavel, although the doc's need updating and /sys/power/disk made to show the correct supported suspension methods ?

Thanks for the tips guys (i didn't need the c code Jesse) M

-------- Original Message --------
Subject: Re: 2.6.9-rc3 software suspend (pmdisk) stopped working
Date: Sat, 02 Oct 2004 16:32:33 -0400
From: Jesse <[email protected]>
To: Mitch <[email protected]>
CC: [email protected], [email protected]
References: <[email protected]>

Quoted 7 lines · Mitch

Hi Jesse,

as shown below, that is not one of the options presented to me in my 'disk' file

% cat /sys/power/disk
shutdown

My machine shows the same thing. Only shutdown in /sys/power/disk

Grab the code from Documentation/power/swsusp.txt (starts at line 151)

I compiled it to an executable called swsusp and I then run 'swsusp' to start the suspend process.

2.6.9-rc3 was my first attempt at suspend, and it worked as designed on the first try.

Jesse

#1 lore raw

Hi!

Quoted 6 lines

Well it appears that Jesse and Kevin are right and irrespective of the setting of /sys/power/disk, i can get the machine to suspend by first writing 'platform' into the 'disk' file. And it resumes fine ok. Seems to be a false alarm on my part Pavel, although the doc's need updating and /sys/power/disk made to show the correct supported suspension methods ?

It seemed to me that some driver is blocking suspend (USB?). I do not know what is wrong with that disk file, it looks like a bug.

Signature · 1 line
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         
#2 lore raw

Hello,

Quoted 4 lines · Pavel Machek

Hi!

I do not
know what is wrong with that disk file, it looks like a bug.

reading /sys/power/disk gives you the _active_ state, not the available states.

HTH,
Stefan