Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with apm / apmd / kapmd
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
Fillzee
n00b
n00b


Joined: 20 Jul 2002
Posts: 47
Location: Starkvegas

PostPosted: Mon Mar 24, 2003 5:36 pm    Post subject: Help with apm / apmd / kapmd Reply with quote

I finally got gentoo up and running on my laptop (toshiba portege 3490CT) and I can't seem to find any info on how to setup power management. ACPI is not an option since my bios is not supported. I would like to be able to suspend/blank screen/spindown hd after a short time of no activity when running on batery power. When running on ac power I would like to only blank the screen after a short time of no activity. Can someone point me to some example apm scripts that I could use as a refrence to accomplish these tasks? Do I need both apmd and kapmd running? The documentation on this stuff seems hard to come by.
Back to top
View user's profile Send private message
Ian Goldby
Guru
Guru


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

PostPosted: Mon Mar 24, 2003 8:23 pm    Post subject: Reply with quote

You don't need kapmd.

emerge apmd - this is a daemon that watches the battery and executes scripts placed in /etc/apm/ when a power-saving event occurs.

I don't have any suitable examples for a laptop, but a quick Google search on apmd should get you going.
Back to top
View user's profile Send private message
Fillzee
n00b
n00b


Joined: 20 Jul 2002
Posts: 47
Location: Starkvegas

PostPosted: Mon Mar 24, 2003 11:04 pm    Post subject: Reply with quote

Isn't kapmd a kernel process that is run by the kernel when apm is compiled in?
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 Mar 25, 2003 8:16 am    Post subject: Reply with quote

Perhaps it is. I thought from the 'k' you were referring to a KDE program. Sorry.

Looking at ps - it appears that you get kapmd whether you ask for it or not, and you don't need to do anything to it or with it.
Back to top
View user's profile Send private message
thelibrarian
n00b
n00b


Joined: 24 Mar 2003
Posts: 15
Location: Sydney, Australia

PostPosted: Wed Mar 26, 2003 9:34 am    Post subject: Reply with quote

All that you need to do is compile in the apm kernel modules, and
Code:
emerge apm

and set it to run at bootup with
Code:
sys-config add apmd default


Hope this helps.
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