[powersave-users] Re: [Suspend2-devel] Support for overriding echo disk > /sys/power/state?

Holger Macht hmacht at suse.de
Fri Mar 3 09:12:59 GMT 2006


On Thu 02. Mar - 18:41:15, Sebastian Kügler wrote:
> On Tuesday 28 February 2006 13:52, Holger Macht wrote:
> > > > I will add a new powersave event for an alternative suspend method (of
> > > > course, from our point of view...) to support swsusp2. Shall I tell you
> > > > as soon it is finished? Unfortunatelly, we do not have much experience
> > > > with swsusp2. So testers would be welcome ;-)
> > >
> > > Yes, please let me know. I'll be happy to help you with testing.
> >
> > Powersave version 0.12.0 should have suspend2 support out of the
> > box. Source code tarball is available at sourceforge. Please report if it
> > does not work.
> 
> As we discussed on IRC just a couple of minutes ago, it does work here on a 
> Kunbuntu box. That means, now kpowersave (or better powersaved) hands over 
> suspend2disk to the hibernate script (or in fact to any script that might be 
> distribution specific).
> 
> Installing needed some additional love though, mostly adding a couple of 
> configure flags for locations of bin dir, sysconf dir etc. and replacing the 
> supplied init script with the one that's shipped with the Ubuntu packages.
> 
> I configured it setting EVENT_GLOBAL_SUSPEND2DISK_OTHER="suspend2"
> in /etc/powersave/events. /usr/local/lib/powersave/scripts/ also needed a 
> little tweaking, removing hibernate.sh from the list because it first found 
> the ubuntu-specific /etc/acpi/hibernate.sh script, which I'm not using. (That 
> means that kpowersave now should also work out of the box on ubuntu, given 
> suspend2 is set in EVENT_GLOBAL_SUSPEND2DISK_OTHER)

EVENT_GLOBAL_SUSPEND2DISK_OTHER contains "suspend2" by default. The method
to use is autodetected with looking whether /proc/suspend2 exists.

I removed the hibernate.sh scripts from the list of to be probed scripts,
so with the next release there should really be no need for any tweaking
;-)

> 
> For reference, an archived version of this thread can be found here:
> http://lists.suspend2.net/lurker/message/20060204.000411.0ec3ab53.en.html
> 
> Thank you very much for your work!

Thank YOU for using it ;-)


Regards,
	Holger

> -- 
> sebas
> 
>  http://www.kde.nl | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> One is not superior merely because one sees the world as odious. - 
> Chateaubriand (1768-1848)
> 





More information about the ubuntu-devel mailing list