Re: S4 sleep woes
From: Nigel Cunningham <hidden>
Date: 2004-08-01 23:32:13
Howdy. On Sun, 2004-08-01 at 04:46, Bernard Blackham wrote:
Ah, there appears to be one, yes (disk_show and disk_store in kernel/power/disk.c). Looking again, pmdisk appears to handle it correctly (just a little jump of logic). Guess that means it's a bug in software suspend 2. :)
I wasn't setting pm_disk_mode from suspend 2, but leaving it at it's default. It looks to me (without testing it yet) like the fix is to explicitly set pm_disk_mode to PM_DISK_PLATFORM when suspending and restore the original value afterwards. Sound right, Patrick? Regards, Nigel ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com