* software suspend / 2.6.0-test7,8
@ 2003-10-18 16:04 Andreas Jellinghaus
2003-10-19 22:46 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jellinghaus @ 2003-10-18 16:04 UTC (permalink / raw)
To: linux-kernel
Hi,
test7:
echo -n disk > /sys/power/state
I thought that would trigger the
linux kernel build in software suspend
(the one in the power management code, not the "swsusp" code). It does
something.
but I thought that would write it's data to
my swap partition, too.
However what happends is, that it looks like
it shuts down, and then I see a screen from my bios, telling me that
suspend failed, because there is no partition to save the data to.
So I wonder: is the power management suspend to disk code meant to work
only in combination with the bios?
With earlier kernels I had success with the swsusp code, it worked fine
without bios support. I will look at that again. Will I need to
remove the power management suspend to disk code from my config to make
the swsusp code work again ? (echo 4 > /proc/acpi/sleep does nothing, it
worked fine with earlier kernels (except vga and wlan)).
test8, compiled without PM_DISK:
swsusp works great! except x11 fullscreen mode doesn't work,
after killing xfree (debian testing) and restarting xfree
it works fine.
/sys/power/state still includes "disk" as supported method,
even though PM_DISK is not compiled in. strange.
Regards, Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* re: software suspend / 2.6.0-test7,8
@ 2003-10-18 17:54 John Mock
0 siblings, 0 replies; 3+ messages in thread
From: John Mock @ 2003-10-18 17:54 UTC (permalink / raw)
To: linux-kernel
Software suspend (both flavors) works to me, under limited circumstances
and with X, only using VESA rather than native mode. Note that it seems to
get confused if ones swap partition doesn't have a valid signature. Lots
of other things could be going on.
I'm not sure how helpful these remarks are, as software suspend appears to
be somewhat hardware dependent and you haven't provided any information on
your hardware or software configuration. You'll probably need to provide
more information to get a useful response here. It is alot to read in its
entirety, but please have a look at relevant parts of the FAQ:
http://www.kernel.org/pub/linux/docs/lkml/
which may be helpful in understanding what to include. (I'm relatively new
to this list, so i'm not sure what else to suggest.)
-- JM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: software suspend / 2.6.0-test7,8
2003-10-18 16:04 software suspend / 2.6.0-test7,8 Andreas Jellinghaus
@ 2003-10-19 22:46 ` Pavel Machek
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2003-10-19 22:46 UTC (permalink / raw)
To: Andreas Jellinghaus; +Cc: linux-kernel
Hi!
> With earlier kernels I had success with the swsusp code, it worked fine
> without bios support. I will look at that again. Will I need to
> remove the power management suspend to disk code from my config to make
> the swsusp code work again ? (echo 4 > /proc/acpi/sleep does nothing, it
> worked fine with earlier kernels (except vga and wlan)).
>
> test8, compiled without PM_DISK:
> swsusp works great! except x11 fullscreen mode doesn't work,
> after killing xfree (debian testing) and restarting xfree
> it works fine.
Good.
swsusp should (attempt to) switch to text console before suspending,
so it should handle X. Can you try with vesafb?
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-19 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-18 16:04 software suspend / 2.6.0-test7,8 Andreas Jellinghaus
2003-10-19 22:46 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2003-10-18 17:54 John Mock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).