View previous topic :: View next topic |
Author |
Message |
dark_glaive Apprentice
Joined: 09 May 2004 Posts: 176 Location: Raleigh, NC
|
Posted: Fri Aug 13, 2004 11:28 pm Post subject: Problem with APM |
|
|
I enabled APM in my kernel and emerged apmd. The following happens when I try to run the APM daemon:
Code: | root@ryan_pc ryan # /etc/init.d/apmd start
* Starting apmd...
/usr/sbin/apmd: unrecognized option `--proxy-timeout'
usage: apmd [-c seconds] [-P apmd_proxy] [-p percent] [-qVvW] [-w percent] [-?]
|
Anyone know what's going on and how to fix it? I'm using 2.6.7 vanilla. |
|
Back to top |
|
|
butters Guru
Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Sat Aug 14, 2004 2:05 am Post subject: |
|
|
APM is deprecated in kernel 2.6.x, in favor of the (dramatically) better ACPI subsystem. Use acpid as your power management daemon.
Although APM *should* still work, ACPI is sooo much better at this point that there's just no reason to use it anymore. There are limitless threads on these forums concerning ACPI and its configuration under 2.6.x kernels. _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
|
catkfr Guru
Joined: 02 Aug 2004 Posts: 300
|
Posted: Mon Aug 16, 2004 9:41 pm Post subject: |
|
|
I get the same error as dark_glaive. I was initially using ACPI but just wanted to be able to turn off the backlight screen of my laptop (Dell Inspiron 8200) when the screen would go blank. I couldn't get this to work even though I did everything in http://www.stud.uni-karlsruhe.de/~uxhz/gentoo/power-management/ and I can turn the screen off using
Code: | xset dpms force off |
Trying to find the reason why this didn't work, I looked in the x.org log file and found multiple warnings:
Code: | (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
|
which were reasonable since I was using ACPI and not APM. I tried APM which eventually gave me the same error as dark_glaive but got rid of the errors in the x.org log file but the screen will still not turn off (in fact, now it doesn't even go blank).
Any ideas either on getting the ACPI to work or the APMd?
(By the way, I am using nvidia drivers) |
|
Back to top |
|
|
gi1242 Tux's lil' helper
Joined: 29 Jul 2004 Posts: 146
|
Posted: Thu Aug 26, 2004 7:22 pm Post subject: |
|
|
Quote: | APM is deprecated in kernel 2.6.x, in favor of the (dramatically) better ACPI subsystem. Use acpid as your power management daemon. |
ACPI doesn't work on my system. Maybe because my BIOS is REALLY OLD.
Anyway, the way to fix the error is to edit /etc/conf.d/apmd and change --proxy-timeout to -proxy-timeout.
GI |
|
Back to top |
|
|
|