<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: &#8220;smart&#8221; suspend in pm-utils</title>
	<atom:link href="http://seife.kernalert.de/blog/2008/10/07/smart-suspend-in-pm-utils/feed/" rel="self" type="application/rss+xml" />
	<link>http://seife.kernalert.de/blog/2008/10/07/smart-suspend-in-pm-utils/</link>
	<description>Move on, nothing to see here.</description>
	<pubDate>Sat, 04 Feb 2012 22:54:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Randy Robertson</title>
		<link>http://seife.kernalert.de/blog/2008/10/07/smart-suspend-in-pm-utils/comment-page-1/#comment-7488</link>
		<dc:creator>Randy Robertson</dc:creator>
		<pubDate>Mon, 30 Mar 2009 08:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=49#comment-7488</guid>
		<description>I found this site when looking for "smart suspend" on Linux, but I think what I was looking for is not what you were talking about.  What I wanted was a combined suspend/hibernate with a tuneable switchover time which did not pre-emptively write ram to disk.  While writing ram out to disk ASAP is nice since you can unplug the battery, on a mobile system this is a waste of power usually.

Here is a link to my blog where I have developed a solution for this.  I figured others will probably also find this when searching for smart suspend.

http://www.angrylibertarian.com/node/49</description>
		<content:encoded><![CDATA[<p>I found this site when looking for &#8220;smart suspend&#8221; on Linux, but I think what I was looking for is not what you were talking about.  What I wanted was a combined suspend/hibernate with a tuneable switchover time which did not pre-emptively write ram to disk.  While writing ram out to disk ASAP is nice since you can unplug the battery, on a mobile system this is a waste of power usually.</p>
<p>Here is a link to my blog where I have developed a solution for this.  I figured others will probably also find this when searching for smart suspend.</p>
<p><a href="http://www.angrylibertarian.com/node/49" rel="nofollow">http://www.angrylibertarian.com/node/49</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://seife.kernalert.de/blog/2008/10/07/smart-suspend-in-pm-utils/comment-page-1/#comment-6942</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Wed, 07 Jan 2009 12:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=49#comment-6942</guid>
		<description>Oops, I see I should get some sleep before I post ... here's the correct `diff -u' - sorry about that:

ROOT-root@zoom-431-[pm-utils]: diff -u functions.orig functions
--- functions.orig      2009-01-07 00:41:04.892007783 -0500
+++ functions   2009-01-07 00:41:08.341129371 -0500
@@ -61,7 +61,7 @@
        # on, and it looks better with splashy support
        #chvt 63

-       if [ -f /.suspended ]; then
+       if [ -s /.suspended ]; then
                read pid &lt; /.suspended
                if [ -d /proc/$pid ]; then
                        return 1
ROOT-root@zoom-432-[pm-utils]:</description>
		<content:encoded><![CDATA[<p>Oops, I see I should get some sleep before I post &#8230; here&#8217;s the correct `diff -u&#8217; - sorry about that:</p>
<p>ROOT-root@zoom-431-[pm-utils]: diff -u functions.orig functions<br />
&#8212; functions.orig      2009-01-07 00:41:04.892007783 -0500<br />
+++ functions   2009-01-07 00:41:08.341129371 -0500<br />
@@ -61,7 +61,7 @@<br />
        # on, and it looks better with splashy support<br />
        #chvt 63</p>
<p>-       if [ -f /.suspended ]; then<br />
+       if [ -s /.suspended ]; then<br />
                read pid &lt; /.suspended<br />
                if [ -d /proc/$pid ]; then<br />
                        return 1<br />
ROOT-root@zoom-432-[pm-utils]:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://seife.kernalert.de/blog/2008/10/07/smart-suspend-in-pm-utils/comment-page-1/#comment-6939</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Wed, 07 Jan 2009 05:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://seife.kernalert.de/blog/?p=49#comment-6939</guid>
		<description>Hi,

My machine stopped suspending (s2ram) and I couldn't figure it out.  I was getting no messages written to the log file.  I finally narrowed it down to a empty `/.suspended' file.

Below is a patch to the `functions' script (11.1) which checks that the `/.suspended' file exists and is sized greater than zero.

I've tested it on my laptop.  Thanks for the great work.

ROOT-root@zoom-489-[pm-utils]: diff -u functions*
--- functions   2009-01-07 00:41:08.341129371 -0500
+++ functions.orig      2009-01-07 00:41:04.892007783 -0500
@@ -61,7 +61,7 @@
        # on, and it looks better with splashy support
        #chvt 63

-       if [ -s /.suspended ]; then
+       if [ -f /.suspended ]; then
                read pid &lt; /.suspended
                if [ -d /proc/$pid ]; then
                        return 1</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>My machine stopped suspending (s2ram) and I couldn&#8217;t figure it out.  I was getting no messages written to the log file.  I finally narrowed it down to a empty `/.suspended&#8217; file.</p>
<p>Below is a patch to the `functions&#8217; script (11.1) which checks that the `/.suspended&#8217; file exists and is sized greater than zero.</p>
<p>I&#8217;ve tested it on my laptop.  Thanks for the great work.</p>
<p>ROOT-root@zoom-489-[pm-utils]: diff -u functions*<br />
&#8212; functions   2009-01-07 00:41:08.341129371 -0500<br />
+++ functions.orig      2009-01-07 00:41:04.892007783 -0500<br />
@@ -61,7 +61,7 @@<br />
        # on, and it looks better with splashy support<br />
        #chvt 63</p>
<p>-       if [ -s /.suspended ]; then<br />
+       if [ -f /.suspended ]; then<br />
                read pid &lt; /.suspended<br />
                if [ -d /proc/$pid ]; then<br />
                        return 1</p>
]]></content:encoded>
	</item>
</channel>
</rss>

