Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with APM
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
dark_glaive
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 176
Location: Raleigh, NC

PostPosted: Fri Aug 13, 2004 11:28 pm    Post subject: Problem with APM Reply with quote

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
View user's profile Send private message
butters
Guru
Guru


Joined: 13 May 2002
Posts: 427
Location: Poughkeepsie, NY

PostPosted: Sat Aug 14, 2004 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
catkfr
Guru
Guru


Joined: 02 Aug 2004
Posts: 300

PostPosted: Mon Aug 16, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
gi1242
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2004
Posts: 146

PostPosted: Thu Aug 26, 2004 7:22 pm    Post subject: Reply with quote

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
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