View previous topic :: View next topic |
Author |
Message |
Fillzee n00b
Joined: 20 Jul 2002 Posts: 47 Location: Starkvegas
|
Posted: Mon Mar 24, 2003 5:36 pm Post subject: Help with apm / apmd / kapmd |
|
|
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 |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Mon Mar 24, 2003 8:23 pm Post subject: |
|
|
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 |
|
|
Fillzee n00b
Joined: 20 Jul 2002 Posts: 47 Location: Starkvegas
|
Posted: Mon Mar 24, 2003 11:04 pm Post subject: |
|
|
Isn't kapmd a kernel process that is run by the kernel when apm is compiled in? |
|
Back to top |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Tue Mar 25, 2003 8:16 am Post subject: |
|
|
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 |
|
|
thelibrarian n00b
Joined: 24 Mar 2003 Posts: 15 Location: Sydney, Australia
|
Posted: Wed Mar 26, 2003 9:34 am Post subject: |
|
|
All that you need to do is compile in the apm kernel modules, and
and set it to run at bootup with
Code: | sys-config add apmd default |
Hope this helps. |
|
Back to top |
|
|
|