Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installed apmd, don't know what to do next
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
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Wed Jun 18, 2003 3:03 am    Post subject: installed apmd, don't know what to do next Reply with quote

Hey, I emerged apmd, read the man, searched the forum and googled, but I can't find what to do. I only want my hard drives to spin down after some idle time, that's it, but I can't seem to find how to configure apmd.
Back to top
View user's profile Send private message
Ian Goldby
Guru
Guru


Joined: 18 May 2002
Posts: 539
Location: (Inactive member)

PostPosted: Tue Jun 24, 2003 10:36 pm    Post subject: Reply with quote

Actually, if all you want to do is spin down your hard drive, you don't need apmd.

man hdparm will give you some useful help. The -S option is probably the one you want. Note that popular wisdom has it that the power required to spin up a hard disk is roughly equivalent to that required to keep it running constantly for 30 minutes. So try not to let it spin down for periods less than this or you defeat your purpose.

(For suspending the whole machine, apm -s and variants will do that - you don't even need apmd installed for this. apmd is really just to enable you to run arbitary scripts in response to power-saving events like suspend and wake, so that you can restore network connections and things like that.)
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Wed Jun 25, 2003 12:40 am    Post subject: Reply with quote

Ah thanks alot, I don't care much about the power use, it's just the noise that irritates when I'm sleeping.
Back to top
View user's profile Send private message
checkyoulater
n00b
n00b


Joined: 01 Aug 2002
Posts: 30
Location: Toronto

PostPosted: Wed Jun 25, 2003 4:38 am    Post subject: BIOS... Reply with quote

Why don't you enable power management in your BIOS? There should be a setting to spin down drives after a certain amount of inactivity. Provided you built APM into your kernel, it should work fine. My laptop spins down and sleeps perfectly with nothing more than APM built into the kernel. I only emerged apmd because I wanted to get my power info by typing apm at the console, instead of cat /proc/apm. However, apmd is not running.
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Fri Jun 27, 2003 1:19 pm    Post subject: Reply with quote

Hm, I have to admit I never encountered that option in my BIOS, I do have a desktop pc, not a laptop, maybe that option only exists with laptops? Anyways, if the hdparm works fine, I'll use that, else I have to reboot.
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Wed Jul 02, 2003 9:41 pm    Post subject: Re: BIOS... Reply with quote

Hi!

checkyoulater wrote:
My laptop spins down and sleeps perfectly with nothing more than APM built into the kernel.


I've enabled APM in BIOS, too and build apm into the kernel, but my Notebook (Thinkpad T23) won't suspend automatically.

Anyone knows what can be wrong? Anyway, I can suspend with
Code:
apm -s
so it's not broken at all.
Back to top
View user's profile Send private message
clumsyninja
n00b
n00b


Joined: 27 Jun 2003
Posts: 61
Location: North Texas

PostPosted: Thu Jul 03, 2003 11:50 am    Post subject: Reply with quote

my laptop has apm enabled in both the bios and the kernel and i have not had any troubles whatsoever getting it to sleep or suspend (well...kde gave me a short fit). thus i have never looked deeply into apm since it always 'just worked'

man apm might hold a few answers for you...
_________________
katana root # cat /proc/sys/kernel/osrelease
2.4.20-gentoo-r7
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