<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd overriding /sys/power/disk with "platform" on hibernate"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58679#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd overriding /sys/power/disk with "platform" on hibernate"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58679">bug 58679</a>
from <span class="vcard"><a class="email" href="mailto:tekrotzen+bugzilla@gmail.com" title="tekrotzen <tekrotzen+bugzilla@gmail.com>"> <span class="fn">tekrotzen</span></a>
</span></b>
<pre>I guess you're right.
I don't know what is visible with a DMI check, and saw the following in the
kernel docs, so I thought I was maybe not alone... ;)
___________
<a href="http://www.kernel.org/doc/Documentation/power/swsusp.txt">http://www.kernel.org/doc/Documentation/power/swsusp.txt</a> :
You need to append resume=/dev/your_swap_partition to kernel command
line. Then you suspend by
echo shutdown > /sys/power/disk; echo disk > /sys/power/state
. If you feel ACPI works pretty well on your system, you might try
echo platform > /sys/power/disk; echo disk > /sys/power/state
_______________________
Reason I filled this bug.
But I do completely understand your point.
I was just wondering: as some people seem to use other options, as "reboot"
(see attached bug), maybe a solution could be to grep /sys/power/disk for the
selected option and to use that instead of "platform"?
This way "platform" would still be used if it is the system default, but if for
any reason a user wants to use something else instead it wouldn't be
overwritten:
This could be a cheap way to allow testing and customisation...
Not sure if I'm missing something obvious, in this case please accept my
appologies...
And thanks for the quick feedback, in any case!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>