Laptop power management support

Matthew Garrett mjg59 at srcf.ucam.org
Thu Nov 11 06:01:45 CST 2004


On Thu, 2004-11-11 at 07:58 +0100, Peter Thorin wrote:

> The computer tries to suspend, prints out the info about 'Freeeing
> memory' and such, then goes black, and then comes back, with my screen
> all garbled, like watching war of the ants. Very not-so-fun. 

Ok, sounds like it's failing to actually suspend. The easiest thing to
do here is probably to edit /etc/acpi/hibernate.sh and add

dmesg >/root/dmesgoutput; sync

just underneath the 

echo "disk" >/sys/power/state

line. After attempting a suspend/resume, you should have
a /root/dmesgoutput file which will contain the trace from the suspend
attempt. If you could send me that, that would be great.

> This is also interesting, this sleeps the computer, but when trying to
> resume, it says something about "Unsafe to resume" and goes to sleep
> again. The second time I try to resume, it succeeds, but with the screen
> very garbled. I suspect this has something to do with the graphics card
> being in AGP mode, but it doesn't seem I'm able to make it stop. 

That's very strange. Could you do something similar
with /etc/acpi/sleep.sh ?

Thanks,
-- 
Matthew Garrett | mjg59 at srcf.ucam.org




More information about the ubuntu-devel mailing list