On Monday, 5 February 2007 16:58, Rafael J. Wysocki wrote:
> On Monday, 5 February 2007 06:46, Stefan Seyfried wrote:
> > On Mon, Feb 05, 2007 at 02:05:18AM +0100, Rafael J. Wysocki wrote:
> > > On Saturday, 3 February 2007 22:02, Stefan Seyfried wrote:
> > > > On Fri, Feb 02, 2007 at 07:39:30PM +0100, Rafael J. Wysocki wrote:
> > > > 
> > > > > I think I can prepare the -mm patch.
> > > > 
> > > > Thanks, i owe you one :-)
> > > 
> > > Ah, no big deal, that was easy. ;-)  Patch appended.
> > 
> > Thanks, looks obviously correct to my untrained eye.
> > 
> > > An unrelated question: what do I need to do to replace the OpenSUSE's 10.2
> > > s2ram/s2disk/resume with the current CVS, so that they use my config files
> > > instead of whatever they use by default?
> > 
> > First the most complicated: resume is in the initrd, and the initrd does
> > just autodetect the only parameter it needs (resume device) by parsing
> > /proc/cmdline for "resume=...". I personally would like to avoid putting
> > the config file into the initrd and rather pass more stuff on the kernel
> > command line, but i can probably add an expert option to mkinitrd to add
> > the /etc/suspend.conf if necessary.
> > 
> > s2ram/s2disk are called by code in /etc/pm/functions, the config file for
> > s2disk is auto-assembled by some auto-calculated parameters (image size,
> > resume device) and the manually set stuff from /etc/suspend.conf.
> > The /etc/suspend.conf stuff gets into the generated config file after
> > the auto-calculated stuff, so whatever you put into /etc/suspend.conf
> > should override the autodetected settings. The autogenerated file is
> > in /var/lib/s2disk.conf.
> > 
> > If you need anything special in there, now is the time when i can easily
> > change this stuff.
> 
> Okay, I'll try to figure out what I need to change (if anything ;-)).

Well, that was hard. :-(

I had lost a couple of hours yestarday until I realized that the suspend
(at least the one initiated from kpowersave) is now driven by pm-tools
and the do_acpi_sleep and prepare_suspend_to_disk scripts are not used
at all.  What are they needed for after all?

Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
                - Stephen King

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to