On Tue, 24 Jan 2006, Hamish Moffatt wrote:

Scott's latest patch needs a minor adjustment for recent suspend2
patches, which use /proc/suspend2 instead of /proc/software_suspend.

When was this change made to suspend2? The code might want to try using /proc/software_suspend if /proc/suspend2 doesn't exist, in order to support older versions of suspend2 (unless this change was ancient). Also, if you've tested it, I'd appreciate if your patch would remove the
"# XXX: untested!" comment I had to write. ;-)
 --scott

The diff is simply

--- 1000_resume.patch.orig      2006-01-24 09:23:05.000000000 +1300
+++ 1000_resume.patch   2006-01-24 09:23:17.000000000 +1300
@@ -165,8 +165,8 @@
+                       !then
+                       !  # for suspend2
+                       !  # XXX: untested!
-+                      !  if [ -w /proc/software_suspend/do_resume ]; then
-+                      !    echo > /proc/software_suspend/do_resume
++                      !  if [ -w /proc/suspend2/do_resume ]; then
++                      !    echo > /proc/suspend2/do_resume

NRA ODENVY SKILLET Diplomat non-violent protest Uzi SARANAC ZPSEMANTIC Ortega KUSODA SEQUIN PANCHO RYBAT KUJUMP Delta Force JMWAVE plutonium
                         ( http://cscott.net/ )


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to