Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 16:44:05 +0100
From:      "ROGIER MULHUIJZEN" <MULHUIJZEN@PZH.NL>
To:        <freebsd-hackers@freebsd.org>
Cc:        <am@amsoft.ru>, <rpseguin@yahoo.com>
Subject:   Re: FreBSD 3.3, power off and power button stuff
Message-ID:  <s88c815b.011@smtp.pzh.nl>

next in thread | raw e-mail | index | archive | help
A few things here. apmd is not the same as apm. So check your
/etc/rc.conf to see if you have both apm_enable and apmd_enable set to
"YES". apmd is just a daemon to take care of some apm events, but for
shutdown -p it's not needed.

Try 'apmconf -e' on the command line.

If you still get 'apm: can't open /dev/apm: Device not configured' do
'dmesg | grep apm'
If that returns nothing your kernel doesn't have APM in it. Check if
you went through all the steps of compiling and installing a custom
kernel.

Or you might get something along the lines of 'apm0 not found at .....'
in that case your BIOS doesn't have APM enabled. (if it supports it at
all)

Let me know if this helps at all....

              DocWilco

>>> Ralph Seguin <rpseguin@yahoo.com> 01/22 12:43 AM >>>
Hi.
I'm having some difficulty getting APM and power
control working in FreeBSD 3.3
I've built a kernel with APM enabled in the config
file and enabled it in
rc.conf, however apmd says it's starting up, but ps
never shows it running.

From /etc/rc.conf:
apm_enable="YES"

bash-2.03# apm -s
apm: can't open /dev/apm: Device not configured

bash-2.03# ls -al apm*
crw-rw----  1 root  operator   39,   0 Jan 21 15:24
apm
crw-rw----  1 root  operator   39,   8 Jan 21 15:24
apmctl

I did a MAKEDEV in /dev, just in case, but the
major/minor numbers came out the same.

What I'd like to do is have   shutdown  -p   work
properly and I'd also like to
intercept the power switch so I can shutdown
gracefully.

Any suggestions are much appreciated.

Thanks.
-Ralph
rpseguin@yahoo.com 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com 


To Unsubscribe: send mail to majordomo@FreeBSD.org 
with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s88c815b.011>