Re: [Suspend-devel] s2ram on Dell Latitude D620

2006-10-06 Thread Ian C. Brock
Hi Stefan, I finally got round to trying out suspend to ram and disk again a bit more systematically. I made the following changes to /etc/powersave/sleep 34c34 UNLOAD_MODULES_BEFORE_SUSPEND2RAM=usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 ath_pci r8169

[Suspend-devel] freeze everything but s2ram?

2006-10-06 Thread Stefan Seyfried
Hi, i just had an idea :-) Is it possible, by using the uswsusp infrastructure, to freeze everything but the s2ram process during suspend to RAM? I mean the following: start s2ram - chvt away from X - freeze everything else - save video state etc. - echo mem /sys/power/state - post video etc.

Re: [Suspend-devel] freeze everything but s2ram?

2006-10-06 Thread Rafael J. Wysocki
On Friday, 6 October 2006 15:54, Stefan Seyfried wrote: Hi, i just had an idea :-) Is it possible, by using the uswsusp infrastructure, to freeze everything but the s2ram process during suspend to RAM? Yup. I mean the following: start s2ram - chvt away from X - freeze everything

Re: [Suspend-devel] fix suspending with image size = 0

2006-10-06 Thread Rafael J. Wysocki
On Friday, 6 October 2006 14:47, Stefan Seyfried wrote: Hi, when image size is set to 0, suspending fails with suspend: No swap space for suspend This fixes it: Index: suspend.c === RCS file:

Re: [Suspend-devel] freeze everything but s2ram?

2006-10-06 Thread Stefan Seyfried
On Fri, Oct 06, 2006 at 03:54:08PM +0200, Stefan Seyfried wrote: Hi, i just had an idea :-) ok, so how about this: Index: s2ram.c === RCS file: /cvsroot/suspend/suspend/s2ram.c,v retrieving revision 1.45 diff -u -p -r1.45