LinuxQuestions.org
Review your favorite Linux distribution.
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, 04: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, 05: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 05:42 PM.
 
Old 12-30-2004, 06: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, 07: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:57 PM
Suspend to RAM/HD question Lake-end Linux - Laptop and Netbook 6 07-05-2005 02:10 AM
suspend to ram works at last!!!! jwn7 Linux - Laptop and Netbook 4 03-31-2005 07:42 AM
FC2: suspend-to-ram changes clock? anandj Linux - Laptop and Netbook 7 03-02-2005 10:51 AM
Suspend to RAM in LInuX enigma82 Linux - Hardware 7 09-29-2004 05:28 AM


All times are GMT -5. The time now is 07:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration