-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 19 February 2005 08:23 pm, Yannick Warnier wrote: > You should try > echo mem > /sys/power/state instead of /proc/acpi/sleep (see > http://acpi.sourceforge.net/documentation/sleep.html)
Hey! Doing that I'm able to suspend but not able to restore.. I'm using the following script. ####################################### #!/bin/sh # /etc/acpi/suspend_to_ram.sh # Initiates a suspend to memory [when the lid is closed] if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop then dcop --all-users ksmserver ksmserver logout 0 2 0 && exit 0 fi sync whereami --syslog --run_from suspend2ram undocked xscreensaver-command -lock logger -t "acpi-sleep" "Stopping hotplug" /etc/init.d/hotplug stop sleep 1 logger -t "acpi-sleep" "Initiating sleep at `date`" #echo 3 >/proc/acpi/sleep echo mem >/sys/power/state sleep 1 logger -t "acpi-sleep" "Awakening from sleep at `date` ?" ( # Run in a subshell so we can finish our job... # modprobe e1000 sleep 2 /etc/init.d/hotplug start & whereami --syslog --run_from resumefromram ) 2>&1 | logger -t 'acpi-sleep' & ######################################## Refer here for more details: http://lists.debian.org/debian-laptop/2004/07/msg00146.html Please help me .. rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Gnupg Key ID: 04F130BC "Stealing logic from one person is plagiarism, stealing from many is research". -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCF1j44Rhi6gTxMLwRAuxLAJ929AlmoU0Wl3X+18U0+2OpeunsDACfV2I0 e7KK3meHkigaZaeefzaLs5M= =Tq2W -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]