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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-24-2003, 12:57 PM
|
#1
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
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.
|
|
|
09-24-2003, 01:29 PM
|
#2
|
Member
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65
Rep:
|
what does this give you?
cat /proc/acpi/sleep
|
|
|
09-24-2003, 01:56 PM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
It says "S0 S1 S5".
|
|
|
09-24-2003, 02:06 PM
|
#4
|
Member
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65
Rep:
|
try one of these
sudo echo 0 > /proc/acpi/sleep
sudo echo 1 > /proc/acpi/sleep
sudo echo 5 > /proc/acpi/sleep
|
|
|
09-24-2003, 03:32 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
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?
|
|
|
09-24-2003, 05:56 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
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?
|
|
|
09-25-2003, 08:36 AM
|
#7
|
Member
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65
Rep:
|
|
|
|
09-26-2003, 10:29 AM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
Has anyone succesfully used acpi sleep? What did it do, and how was it done?
|
|
|
09-29-2003, 12:48 PM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
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?
|
|
|
10-01-2003, 12:54 PM
|
#10
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Original Poster
Rep:
|
Bump.
|
|
|
All times are GMT -5. The time now is 04:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|