Hi

I am trying to get some for of suspend to ram or suspend to disk
working on my notebook. I have got standby working nicely on my
notebook. I tried to sleep (suspend to mem) it seems to suspend
(shutdown as such) but than I cant seem to bring it out of the sleep
state. When I press the power button you hear the harddrive starting
and it comes out of sleep mode but the screen does not switch on
again.

I have a Mercer notebook with ICH4 chipset and 82852/855GM Integrated
Graphics Device by Intel as well.

My acpi scripts are as follows:
---------------------------------------------------------------------
sleep.sh
---------------------------------------------------------------------
#!/bin/sh

logger "Sleep - Going to Standby"
touch /tmp/was_sleeping
#echo -n standby > /sys/power/state
echo -n mem > /sys/power/state
---------------------------------------------------------------------


---------------------------------------------------------------------
power.sh
---------------------------------------------------------------------
#!/bin/bash

if [ ! -f /tmp/was_sleeping ]; then
 touch /tmp/was_sleeping
 echo -n mem >| /sys/power/state
else
 logger "Coming out of Standby"
 rm -f /tmp/was_sleeping
 /etc/init.d/alsasound restart
 /etc/init.d/hotplug restart
fi
---------------------------------------------------------------------

Thanks Rav

-- 
gentoo-user@gentoo.org mailing list

Reply via email to