Re: [Suspend-devel] My machine is not in the whitelist

2007-03-29 Thread Aleksandar Markovic
Few things changed here, but that is not problem. I have tested things only in "init=/bin/bash", not runlevel 5. Suspend and resume still works in "init=/bin/bash". I think this problem has some sonnection to vesafb or ... Anyway, solution is to use "-f -s" option. This way suspend goes little

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Rafael J. Wysocki
On Friday, 30 March 2007 00:26, Tim Dijkstra wrote: > Op Thu, 29 Mar 2007 23:54:13 +0200 > schreef "Rafael J. Wysocki" <[EMAIL PROTECTED]>: > > > Okay, so the patch works. Tim, if you don't mind, I'd like to apply > > this one. > > Sure, go ahead. If I read it right the cast is now done when cal

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Tim Dijkstra
Op Thu, 29 Mar 2007 23:54:13 +0200 schreef "Rafael J. Wysocki" <[EMAIL PROTECTED]>: > Okay, so the patch works. Tim, if you don't mind, I'd like to apply > this one. Sure, go ahead. If I read it right the cast is now done when calling set_swap_file(). > > > > > --- > > > suspend.c |2 +-

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Rafael J. Wysocki
On Thursday, 29 March 2007 23:44, Cédric Boutillier wrote: > Hi Raphael, > > On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > I think so, but I'd like Cédric to try one more thing: revert your patch > > and apply the > > appended one. If that works, the comment won't even be neces

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Cédric Boutillier
Hi Raphael, On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > I think so, but I'd like Cédric to try one more thing: revert your patch and > apply the > appended one. If that works, the comment won't even be necessary (I think). I reverted Tim's patch and applied yours. I got exactly

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Rafael J. Wysocki
On Thursday, 29 March 2007 23:06, Cédric Boutillier wrote: > Hi ! > > On 3/29/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote: > > To narrow the problem down a bit further, could you make sure that in > > your /etc/uswsusp.conf you have: > > shutdown method = poweroff > > When I addthis line to my /e

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Tim Dijkstra
Op Thu, 29 Mar 2007 21:58:10 +0200 schreef Stefan Seyfried <[EMAIL PROTECTED]>: > > 2) Also pass the short option string to usage and check for each > > `val' if it is included in the short option string. At first I > > thought this was a bit overkill, but thinking about it, it is more > > correct

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Cédric Boutillier
Hi ! On 3/29/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote: > To narrow the problem down a bit further, could you make sure that in > your /etc/uswsusp.conf you have: > shutdown method = poweroff When I addthis line to my /etc/uswsusp.conf, I get an error when I try to dpkg-reconfigure uswsusp. I f

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Rafael J. Wysocki
On Thursday, 29 March 2007 21:46, Tim Dijkstra wrote: > On Thu, 29 Mar 2007 00:28:07 +0200 > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > On Thursday, 29 March 2007 00:14, Tim Dijkstra wrote: > > > On Tue, 27 Mar 2007 23:11:41 +0200 > > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > >

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Stefan Seyfried
On Thu, Mar 29, 2007 at 09:29:26PM +0200, Tim Dijkstra wrote: > On Thu, 29 Mar 2007 14:30:04 +0200 > Sorry, to change my mind on this;) But if we want to support only > '--force' and no short option for it this doesn't fit. I can leave out > the short option from the short option string, but the op

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Rafael J. Wysocki
On Thursday, 29 March 2007 21:29, Tim Dijkstra wrote: > On Thu, 29 Mar 2007 14:30:04 +0200 > Stefan Seyfried <[EMAIL PROTECTED]> wrote: > > > On Thu, Mar 29, 2007 at 11:04:22AM +0200, Tim Dijkstra wrote: > > > On Thu, 29 Mar 2007 10:32:59 +0200 > > > Stefan Seyfried <[EMAIL PROTECTED]> wrote: > >

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Tim Dijkstra
On Thu, 29 Mar 2007 00:28:07 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Thursday, 29 March 2007 00:14, Tim Dijkstra wrote: > > On Tue, 27 Mar 2007 23:11:41 +0200 > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > > > > diff -u -r1.70 suspend.c > > > > --- suspend.c 16 Mar 2

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Tim Dijkstra
On Thu, 29 Mar 2007 14:30:04 +0200 Stefan Seyfried <[EMAIL PROTECTED]> wrote: > On Thu, Mar 29, 2007 at 11:04:22AM +0200, Tim Dijkstra wrote: > > On Thu, 29 Mar 2007 10:32:59 +0200 > > Stefan Seyfried <[EMAIL PROTECTED]> wrote: > > > > > This is ugly and long, but shows the long options (we could

Re: [Suspend-devel] s2ram whitelist

2007-03-29 Thread Stefan Seyfried
On Thu, Mar 29, 2007 at 02:28:56PM +0200, Michael Wagner wrote: > Dear list, > > s2ram works without workaround. Cool. Both from X and from Console? > This machine can be identified by: > sys_vendor = "4MBOL&S" > sys_product = "7521 " > sys_version = "REV. A0" > bios_

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Stefan Seyfried
On Thu, Mar 29, 2007 at 11:04:22AM +0200, Tim Dijkstra wrote: > On Thu, 29 Mar 2007 10:32:59 +0200 > Stefan Seyfried <[EMAIL PROTECTED]> wrote: > > > This is ugly and long, but shows the long options (we could leave out > > the short options, or go for something like: > > Usage: suspend [-h|--hel

[Suspend-devel] s2ram whitelist

2007-03-29 Thread Michael Wagner
Dear list, s2ram works without workaround. This machine can be identified by: sys_vendor = "4MBOL&S" sys_product = "7521 " sys_version = "REV. A0" bios_version = "4.06CJ15 " Thanks to everybody involved in suspend, Michael Please cc me on reply, as I'm not subsc

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Stefan Seyfried
On Thu, Mar 29, 2007 at 11:37:52AM +0200, Cédric Boutillier wrote: > I've just made a fresh backup. So I can go for more testing :) Good. I lost data once due to an old suspend image in a swap partition, so i know from experience that this can happen ;-) > > What did you exactly do? You started

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Tim Dijkstra
On Thu, 29 Mar 2007 11:37:52 +0200 "Cédric Boutillier" <[EMAIL PROTECTED]> wrote: > I have not seen any message from resume. I unpacked the initramfs > using your script: everything seems in place: > ./etc/uswsusp.conf And has the same contents as the one in your regular /-partition, right? Jus

Re: [Suspend-devel] s2both on powerpc

2007-03-29 Thread Cédric Boutillier
Hi Tim, On 3/28/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote: > Did you see any messages from resume? I guess you didn't else resume > would have restored the swap signature. Do you have resume > and /etc/uswsusp.conf on your initramfs? You can unpack it with the > little script I attached. I have

Re: [Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Tim Dijkstra
On Thu, 29 Mar 2007 10:32:59 +0200 Stefan Seyfried <[EMAIL PROTECTED]> wrote: > This is ugly and long, but shows the long options (we could leave out > the short options, or go for something like: > Usage: suspend [-h|--help] > [-f|--config ] > [-s|--image_size ] >

[Suspend-devel] [PATCH] encourage the usage of --long_options

2007-03-29 Thread Stefan Seyfried
Hi, trivial patch: Index: config.c === RCS file: /cvsroot/suspend/suspend/config.c,v retrieving revision 1.7 diff -u -p -r1.7 config.c --- config.c10 Nov 2006 00:08:33 - 1.7 +++ config.c29 Mar 2007 08:24:27 - @@

Re: [Suspend-devel] Fw: Bug#416475: Samsung Q35 is not in the whitelist : workaround

2007-03-29 Thread Stefan Seyfried
On Thu, Mar 29, 2007 at 12:48:20AM +0200, Tim Dijkstra wrote: > Hi, > > Any further question to Jérémie before we can add it to the whitelist? No, i already added it (and right now i finally committed to CVS ;-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." ---