LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2003, 12:57 PM   #1
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
ACPI Sleep (u)


I have acpi. How can I get the computer to "sleep"? I tried these:
echo 0 > /proc/acpi/sleep #Result: nothing
echo 1 > /proc/acpi/sleep #Result: X freezes
echo 5 > /proc/acpi/sleep #Result: nothing

Last edited by aaa; 09-26-2003 at 01:24 PM.
 
Old 09-24-2003, 01:29 PM   #2
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
what does this give you?

cat /proc/acpi/sleep
 
Old 09-24-2003, 01:56 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
It says "S0 S1 S5".
 
Old 09-24-2003, 02:06 PM   #4
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
try one of these

sudo echo 0 > /proc/acpi/sleep

sudo echo 1 > /proc/acpi/sleep

sudo echo 5 > /proc/acpi/sleep
 
Old 09-24-2003, 03:32 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
How's sudo going to help? I did it as root (if I do it as someone else it says "permission denied"). Also, I heard the nvidia drivers might cause problems. Could this be the issue?
 
Old 09-24-2003, 05:56 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
Well I tried your sudo suggestion, and it was the same as it was without it. I also did a few experiments. Echoing 1 to /proc/acpi/sleep just made the computer stop responding to input. I tested it in runlevel 3, and got the same result as before. However, the computer still reacts to the power button, which shuts down the computer. I edited the /etc/acpi/acpi_event_handler.sh, replacing "/sbin/init 0" with "/bin/echo 0 > /proc/acpi/sleep". Now I can get the computer out of the input freeze. Or maybe it was an output freeze? Anyways, right now what echo 1 > /proc/ac... does isn't very useful. How can I get it to work properly?
 
Old 09-25-2003, 08:36 AM   #7
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
see if this helps you out at all

http://acpi.sourceforge.net/documentation/sleep.html
 
Old 09-26-2003, 10:29 AM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
Has anyone succesfully used acpi sleep? What did it do, and how was it done?
 
Old 09-29-2003, 12:48 PM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
Well I tried switching to S1 in runlevel 1, that gave me a messge about switching to S1 that i didn't get in the other runlevels, but that's all. Any ideas?
 
Old 10-01-2003, 12:54 PM   #10
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 47
Bump.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI sleep states slinky2004 Linux - General 3 10-30-2005 01:40 AM
ACPI Sleep ? rpz Linux - Hardware 17 08-08-2005 03:44 AM
ACPI Standby/Sleep modes ValidiusMaximus Linux - Hardware 0 01-17-2005 02:26 PM
acpi sleep reboots computer... djib Linux - Software 2 12-12-2004 11:17 AM
How to use ACPI to sleep/suspend? manueljose Linux - Laptop and Netbook 2 09-28-2004 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:16 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