Re: shutdown -p, APM on 5.3
From: Keve Nagy (no_at_spam.please)
Date: 02/25/05
- Next message: Per Hedeland: "Re: multiple rourting in freebsd5.3"
- Previous message: bob thurman: "Re: can't remove files."
- In reply to: Keve Nagy: "shutdown -p, APM on 5.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Feb 2005 23:47:27 +0100
Keve Nagy wrote:
> How can I allow "shutdown -p" to power-down the PC under FreeBSD 5.3?
> To achieve the above, can I simply enable APM only (and none of ACPI)
> just as I did in 4.9R?
> How do I enable APM on 5.3?
> What has replaced /boot/kernel.conf? Is it device.hints?
If anybody else is interested in this, the missing key was an entry to
change in /boot/device.hints which originally disabled APM even if it
was compiled into the kernel.
In a nutshell, here is how to enable APM on FreeBSD 5.3:
1., Include the line "device apm" in your custom kernel
2., Edit/include the following lines in /boot/device.hints
hint.acpi.0.disabled="1"
hint.apm.0.disabled="0"
The line hint.apm.0.flags="0x20" is not required, you can comment that
one out if you wish.
3., Make sure that these lines exist in /etc/rc.conf
apm_enable="YES"
apmd_enable="YES"
4., A line of apm_load="YES" in /boot/loader.conf is NOT REQUIRED, so
don't add that. You have already included APM in your kernel in step #1.
If you build and install that custom kernel, and use the settings in #2
and #3, and APM worked for you in FreeBSD 4.x, then apm0 will show up
fine in your dmesg and will work just as well as it did under 4.x.
It does work for me.
Keve
- Next message: Per Hedeland: "Re: multiple rourting in freebsd5.3"
- Previous message: bob thurman: "Re: can't remove files."
- In reply to: Keve Nagy: "shutdown -p, APM on 5.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|