Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI Suspend? (S1 or S3)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sryan2k1
n00b
n00b


Joined: 03 Apr 2003
Posts: 10

PostPosted: Thu Apr 03, 2003 11:47 pm    Post subject: ACPI Suspend? (S1 or S3) Reply with quote

I got a dell notebook and was wondering if its possible to kick it into sleep, I use it at school and it would kill the battery to either leave it on or powercycle it every time i needed it, so is there any way to get it to go into a powersaving state?
Back to top
View user's profile Send private message
Strubenator
n00b
n00b


Joined: 17 Mar 2003
Posts: 19
Location: Frederick, MD

PostPosted: Fri Apr 04, 2003 3:52 am    Post subject: Reply with quote

If you have acpi compiled into your kernel you can put the computer into a light sleep with echo 1 > /proc/acpi/sleep

I have a Dell laptop and it works just fine for me :D

--Strube
Back to top
View user's profile Send private message
sryan2k1
n00b
n00b


Joined: 03 Apr 2003
Posts: 10

PostPosted: Fri Apr 04, 2003 4:14 am    Post subject: Reply with quote

lol thanks, i knew about that but was wondering if it was possible to get it any deeper sleep, in windows the machine like turns off, from what i can tell the light sleep only kills the display and the processor (and mabye the hd, but laptop hd's are so quiet anyway who knows :P)
Back to top
View user's profile Send private message
sryan2k1
n00b
n00b


Joined: 03 Apr 2003
Posts: 10

PostPosted: Fri Apr 04, 2003 9:34 am    Post subject: Reply with quote

score, run that sleep command and look at your lcd under good light, the backlight turns off but the lcd itself dosent :) you can make out darks but no color lol obvisually because of the lack of backlight
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Mon Apr 28, 2003 4:40 am    Post subject: Reply with quote

Well, perhaps you're thinking of "hibernation" if "standby" sleep mode isn't deep enough for you.

Here's a page outlining the various acpi sleep states:
http://acpi.sourceforge.net/documentation/sleep.html

Also, this is a page outlining non-ACPI suspending:
http://www.darav.de/gentoo/swsusp.html

and a thread concerning the above:
https://forums.gentoo.org/viewtopic.php?t=29159

BTW, I'm running the newest kernels etc., and I have gotten none of the above to work on my laptop, so the sleep states etc. are not fully stable/working yet.
_________________
-Phil Crosby
Back to top
View user's profile Send private message
MasonMouse
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 146
Location: Texas, USA

PostPosted: Mon Apr 28, 2003 6:42 am    Post subject: Reply with quote

I have APM installed/compiled in and just issuing "apm --suspend" puts it into a deep enough sleep that sitting all day only knocks a few percentage points off the battery.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Mon Apr 28, 2003 11:06 am    Post subject: Reply with quote

my dell inspiron 5100 does light sleep via apm fine but hangs the deep sleep.

So yesterday I patched my 2.4.20 kernel with the 2.4.20 acpi patch and then with the software-suspend patch for acpi. I installed acpid and voilais!

Closing the lid gives an acpi lid switch event wich I use to call the hibernation script comming with swsusp. Opening the lid and pressing the power button restarts the computer. Upon booting linux it automatically recognizes the swsusp image on the swap partitition (if you provided the kernel with the correct command line for swsusp) and resumes savely, even into X11.

What do you need?
http://sourceforge.net/projects/acpi
http://fchabaud.free.fr/English/default.php3?COUNT=4&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp&FILE3=Index
http://sourceforge.net/projects/swsusp


Greetings
Ulf[
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Mon Apr 28, 2003 8:54 pm    Post subject: Reply with quote

That sounds pretty sweet dambacher, wish they had a patch for beta kernels.
_________________
-Phil Crosby
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Tue Apr 29, 2003 6:11 am    Post subject: Reply with quote

Hi Reformist!
You don't need to patch a beta-kernel. ACPI as well as swsusp are included.
I just can't use a beta kernel, my bcm440 network card driver does not work with it and the b44 driver of 2.5.68 is buggy for me.
Greetings
Ulf
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Fri May 23, 2003 12:07 am    Post subject: Reply with quote

yeah, I would be using the betas (I have many installed) but I can't get my wireless pcmcia network card working either... so I'll be patching 2.4.20!!
_________________
-Phil Crosby
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Fri May 23, 2003 8:39 pm    Post subject: Reply with quote

Well, the 2.5.69 etc. come with swsusp already patched in them (or at least the mm-sources do), which is great, but it seems the location of /proc/sys/kernel/swsusp is different, and therefore the "hibernate" or "suspend" script does not work, because it tries to echo values to a device that does not exist.

Anyone got this working with any newer 2.5.x kernels? Is there a modified script somewhere?
_________________
-Phil Crosby
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum