You are not logged in.

#1 2005-07-12 15:07:37

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

acpi suspend works! auto suspend after 2hrs of inactivity?

after all these years, acpi's suspend to disk/ram seems to be working fine for me!..i prefer suspend to ram, though..(2.6.12)

anyway what i need is some way to make my computer go into 'suspend to ram' mode after 2 hours of inactivity...

echo mem > /sys/power/state

sends it into suspend mode..

note that

sudo echo mem > /sys/power/state

still gives me a permission error..how do i go into suspend mode automatically (as user) after 2hrs of inactivity

on another note, whats the significance of making a user the member of 'root' group?

thanks for your time..

Offline

#2 2005-07-30 09:29:46

retsaw
Member
From: London, UK
Registered: 2005-03-22
Posts: 132

Re: acpi suspend works! auto suspend after 2hrs of inactivity?

ganja_guru wrote:

sudo echo mem > /sys/power/state

still gives me a permission error..how do i go into suspend mode automatically (as user) after 2hrs of inactivity

You could try

sudo su -c "echo mem > /sys/power/state"

which will get you round the permissions error.

Offline

#3 2005-08-05 01:44:23

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: acpi suspend works! auto suspend after 2hrs of inactivity?

Lucky!
It appears suspend works for me but when I go to resume my graphic display doesn't load sad
Oh to well btw I've tried kernel's 2.6.13rc1 + 2.6.13rc3 + 2.6.13rc5 guess I have wait longer big_smile


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

Board footer

Powered by FluxBB