Re: Nothing on display after suspend/resume
First of all, I think you only need to worry about your menu.lst and
swap partition if your trying to suspend to disk (or suspend to both
disk and ram simultaneously), though for all I know powersaved may
want everything just so to do anything. If you're only trying to
suspend to ram, the problem is likely that the video card is a little
groggy as a result of the software procedure for suspending.
I'm not too sure about powersave, but I use acpid which comes with a
bunch of scripts in /etc/acpi/ among which is sleep.sh. This script
sources a bunch of scripts init-style in /etc/acpi/suspend.d on
suspend and similarly from /etc/acpi/resume.d on resume. The trick is
that out of the box, running sleep.sh gave me the same behaviour as
you describe. It turned out that the scripts were trying too hard to
avoid this exact issue and ended up making matters worse. If the
switching virtual consoles trick doesn't work for you, this might be
what's happening with powersave. It might be posting your display or
something silly which breaks the resume. See if you can't customise
exactly the steps taken by powersave to suspend, or try using acpid
and customising to fit your system.
You can also try just the bare bones low level suspend with
echo -n mem > /sys/power/state
this is the penultimate step for acpid, and actually worked for me
just by itself, though without the niceties of tidying up first.
On 6/25/07, rangalo <email@example.com> wrote:
I am using sidux (based on sid).
I changed my /boot/grub/menu.lst to configure suspend/resume and added
resume=UUID=<swap-uuid> like this ...
The UUID provided belongs to my swap partition which is almost 1GB.
After that, I can suspend my computer using
powersave -u # -u is for suspend to ram (suspend to disk doesn't work
at all, it just hangs while suspending)
command, but while resuming, I get only a black screen, I see a lot of
activity of my hard-disk and I can hear the fans running, so I think
that resume is working, but there is something with the display.
Any, ideas ?
Below is the relevant parts of /boot/grub/menu.lst
# kopt=root=UUID=353cc61f-ede4-46c1-8d7f-b678de74678a ro quiet vga=791
resume=UUID=25184dd8-abc9-41c8-ae89-7c7ef875fed4 # in case the kernel
title Debian GNU/Linux, kernel 22.214.171.124-slh-up-4 Default
kernel /boot/vmlinuz root=UUID=353cc61f-ede4-46c1-8d7f-
b678de74678a ro quiet vga=791 resume=UUID=25184dd8-abc9-41c8-
ae89-7c7ef875fed4 #for normal resume
thanks & regards,
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org