[ltp] Suspend to Disk - Kenrel 2.6.4 vs. r50p
hamish
linux-thinkpad@linux-thinkpad.org
Thu, 29 Apr 2004 07:41:44 +0100
Stephan Herhut wrote:
>Am Do, den 29.04.2004 schrieb hamish um 08:07:
>
>
>>I have an r50p and runnign debian unstable with kernel 2.6.4, compiled
>>from scratch using the source from kernel.org, no patching (i.e. for
>>swsusp etc).
>>
>>Most things work fine (2.6.5 broke USB for me, so I'm still at 2.6.4),
>>but I want suspend to disk (or suspend to RAM for that matter) to work.
>>
>>But.
>>
>>echo -n disk > /proc/power/state
>>
>>results in the (Correct?) text screen that says it's going to do the
>>suspend etc... But then just wakes straight up. here's the logs from
>>kern.log
>>
>>[...]
>>
>>Anyone know why it doesn't actually power off? Info on this phenomenon
>>seems to be a bit sparse, but there seems to be a few people reporting
>>it on various laptops...
>>
>>
>
>As far as I know, the kernel support everything (shutting down hardware,
>suspending processes, etc.) except the actual write to disk. So it just
>wakes up again.
>
>
>
>>What is the story on suspend to disk anyway? Should we use the kernel
>>code? swsusp patches & resume2? pmdisk patches? Damnit I just want it
>>to work... I'd even use straight FN-F4 except my video won't wake up
>>afterwards... Currently I have to reboot several times a day (i.e.
>>whenever I want to move my thinkpad from one place to another). very
>>frustrating...
>>
>>
>
>Well, I am using swsusp2, as it works best for me (TP R32). I just
>downloaded the patches and the suspend script and now everything works
>fine (>20 resumes without a problem).
>
>
>
Is that from swsusp.sourceforge.net? I can only find patches for up to
2.6.2 on there. And the site seems to have not had many updates since
late last year...
TIA
hamish.
>>TIA
>> hamish.
>>
>>