> However, I'm having problems in that my platform doesn't resume properly 
> from a suspend, even without my driver loaded.

Are you sure that suspend did work?  The system's power
led / message led is flashing to indicate that S3 sleep mode
is active?

Sometimes there are problems on the way down to S3 suspend mode...

When you press the power button to resume from S3 sleep,
does the system power up?  fans start to make noise?
Is there a video signal?  A panic message on the screen?

> Are there any hints that we can use to help us figure out how to debug 
> failures in resume? 


You can try to enable various S3STR kernel
debug printfs, I'm using something like this,
from either a serial port console, or the
ASCII VGA console:

% cat /usr/tmp/suspend
#!/bin/sh

wake_time=0
if [ x"$1" = x-t ]; then
        wake_time=5
fi

pmconfig
modload -p misc/cpr
(
    echo "pm_debug/W80000000; ppm_debug/W80000000;"
    echo "cpr_debug/W3;"
    echo "vgatext_force_suspend/W1;"
    echo "acpi_rtc_wake/W$wake_time;"
) | mdb -wk

sync;sync;sync
set -x
uadmin 3 20




You can also try "uadmin 3 22", the "test suspend-to-ram".

Of cause the debug printfs are only useful when you have
a text console display at S3 resume time. I guess you don't
have this, since you're complaining about suspend/resume
support for the ATI framebuffer.
-- 
This message posted from opensolaris.org

Reply via email to