[Yaird-devel] Bug#329319: swsusp: updates for suspend2
C. Scott Ananian
cscott at cscott.net
Mon Jan 23 20:30:04 UTC 2006
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/ )
More information about the Yaird-devel
mailing list