2003-09-30 00:42:51

by Andreas Jellinghaus

[permalink] [raw]
Subject: Re: pm: Revert swsusp to 2.6.0-test3

Are both versions compatible? How to resume the right version?
Or simply resume=/dev/hda3 and the kernel will pick the right
mechanism to resume?

Andreas


2003-09-30 00:53:04

by Patrick Mochel

[permalink] [raw]
Subject: Re: pm: Revert swsusp to 2.6.0-test3


> Are both versions compatible? How to resume the right version?
> Or simply resume=/dev/hda3 and the kernel will pick the right
> mechanism to resume?

No, they are not compatible. The resume= command line parameter will be
trapped by the swsusp code. When using pmdisk, you may set the partition
you want to use for suspend/resume via the CONFIG_PMDISK_PARTITION
compile-time option. Or, you may override that using the pmdisk= command
line parameter.

I realize it's a bit confusing, but I will write documentation that
explicitly describes the differences within the week.


Pat

2003-09-30 01:49:22

by Mark W. Alexander

[permalink] [raw]
Subject: Re: pm: Revert swsusp to 2.6.0-test3

On Mon, 29 Sep 2003, Patrick Mochel wrote:

>
> > Are both versions compatible? How to resume the right version?
> > Or simply resume=/dev/hda3 and the kernel will pick the right
> > mechanism to resume?
>
> No, they are not compatible. The resume= command line parameter will be
> trapped by the swsusp code. When using pmdisk, you may set the partition
> you want to use for suspend/resume via the CONFIG_PMDISK_PARTITION
> compile-time option. Or, you may override that using the pmdisk= command
> line parameter.
>
> I realize it's a bit confusing, but I will write documentation that
> explicitly describes the differences within the week.

While you're at it, please throw in some notes about how to resume from
memory too. I just started playing with it and, although it suspends
great I see no obvious way to wake it up. (Power button flashes lights
once on & off. Next power press reboots.)

--
Mark W. Alexander
[email protected]