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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message