[Suspend-devel] swapfiles

2007-04-20 Thread Tim Dijkstra
Hi, I'm trying out sdisk with a swap file. $ cat /proc/swaps FilenameTypeSizeUsedPriority /dev/hda2 partition 979956 189972 -1 /local/tmp/swapfile file1048568 0 -2 Now

Re: [Suspend-devel] Comments in usage()

2007-04-20 Thread Rafael J. Wysocki
On Saturday, 21 April 2007 00:14, Tim Dijkstra wrote: > Hi, > > S2ram could also use the usage() function from config.c to display its > message. The only problem is that to replicate its current output we > need to print comments too. To make this possible I made a little > patch. The patch only

[Suspend-devel] Comments in usage()

2007-04-20 Thread Tim Dijkstra
Hi, S2ram could also use the usage() function from config.c to display its message. The only problem is that to replicate its current output we need to print comments too. To make this possible I made a little patch. The patch only works for s2disk currently, I didn't feel like adding the comments

Re: [Suspend-devel] [PATCH 2/2] s2ram: add PPC support

2007-04-20 Thread Stefan Seyfried
On Wed, Apr 18, 2007 at 09:22:20PM +0200, Tim Dijkstra wrote: > Luca Tettamanti <[EMAIL PROTECTED]> wrote: > > Well, it's possible to do something like this: > > > > int s2ram_default_do(void) { > > use /s/p/s > > } > > > > __attribute__((weak)) int s2ram_do(void) { > > return s2r

[Suspend-devel] suspend to ram on HP/Compaq tc4200

2007-04-20 Thread Frank
Hi, I finally got suspend-to-ram working on my Hewlett-Packard/Compaq tc4200. I basically only had a distribution problem (Ubuntu Feisty), but s2ram seems not to work without -f (I'm using it with powersaved). So maybe these informations are helpful for you to include support for the tc4200 by