LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2004, 03:28 PM   #1
pjpeter
Member
 
Registered: Sep 2004
Distribution: Debian Sarge RC1 Kernel 2.6.7.1
Posts: 46

Rep: Reputation: 15
Suspend to Ram - Debian Sarge


I thought about posting this in a # of diff forums here, but really its just a noobie question so here it is:

What is the native way in Sarge to send the computer into Suspend mode? What command does that by default, before trying all sorts of differnt solutions and so on.

I read about one command for another distro that definately did something to my computer, but didn't actually send it into a S3 (Suspend to Ram) state and instead just made my laptop seem to have crashed then then made my LCD screen turn into a kalidascope of colours.

So if you can tell me what the default command to do it is (or commands you use that work), then that's be great : )

Thanks,
Peter
 
Old 10-02-2004, 04:35 PM   #2
pjpeter
Member
 
Registered: Sep 2004
Distribution: Debian Sarge RC1 Kernel 2.6.7.1
Posts: 46

Original Poster
Rep: Reputation: 15
Note that "echo -n "mem" > state" doesn't work, and just makes my screen go funny.

echo -n "disk" > state Seems to save the memory, and it takes about 10 seconds to do this then just goes back to the original screen mode.

echo -n "standby" > state Does nothing but muck up the screen

Here is the message I get (or most of it):

Freeing memory: ...|
ACPI: PCI interrupt GSI 16 level, low
Could not suspend device 0000:01:00.0: error -5
Restarting tasks... done

Peter

Last edited by pjpeter; 10-02-2004 at 04:42 PM.
 
Old 12-30-2004, 05:23 PM   #3
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Did you ever get this to work? I am stuck with the same problem now..
 
Old 06-26-2005, 06:27 PM   #4
pokemaster
Member
 
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110

Rep: Reputation: 17
I'm actually running Deb Sarge myself, with similar issues, "echo -n "mem" > state" doesn't work... here's a script I'm working on (I have sound issues on resume that I haven't yet figured out)

Code:
echo "Initializing Suspend-to-RAM..."

# Empty logfile
echo > /tmp/suspend.log

#stop hotplug daemon (crash causer)
/etc/init.d/hotplug stop >> /tmp/suspend.log 2>&1

# Sleep cmd, here's your important one:
echo 3 > /proc/acpi/sleep

echo "...Resuming"

#restart hotplug
/etc/init.d/hotplug start >> /tmp/suspend.log 2>&1 &
good luck, hope this helps you out some!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another suspend-to-RAM problem coldsalmon Linux - Laptop and Netbook 16 08-14-2006 09:57 PM
Suspend to RAM/HD question Lake-end Linux - Laptop and Netbook 6 07-05-2005 01:10 AM
suspend to ram works at last!!!! jwn7 Linux - Laptop and Netbook 4 03-31-2005 06:42 AM
FC2: suspend-to-ram changes clock? anandj Linux - Laptop and Netbook 7 03-02-2005 09:51 AM
Suspend to RAM in LInuX enigma82 Linux - Hardware 7 09-29-2004 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration