freebsd power off automatically

Joshua Lokken joshua at joshualokken.com
Sun Apr 20 21:15:15 PDT 2003


* yew chin (yutaka82 at yahoo.com) wrote:
==> i already compile "device apm0" in my kernel
==> but when i enter "shutdown -p now" or "halt -p"
==> the systerm automatically reboot instead of shutdown
==> it is same like "reboot" or "shutdown -r now"
==> did anyone know what's going on?
==> 
==> > > I try to turn off freebsd automatically after the
==> > command "shutdown -p 
==> > > now" or "halt -p" but after the systerm halt,
==> > freebsd won't turn the 
==> > > machine's power off.  i have to turn off the power
==> > manually.  i have 
==> > > read some article about adding apm support in the
==> > freebsd kernel.  But 
==> > > isn't freebsd default kernel has come with apm
==> > enable?  or do i have 
==> > > to enable it manually?
==> > 
==> > No, it's not enabled by default.  You have to enable
==> > it, and recompile 
==> > your kernel.  See the handbook's chapter on doing so
==> > for more 
==> > information.
==> > 
==> > - jim

Yes, the line for the apm device is in the GENERIC kernel config,
but it is disabled by default, just as Jim has stated above.  You
probably need to change 'disabled' to 'enabled' on that line of your
kernel.  Please read the handbook, as Jim has also suggested.

--
Joshua


More information about the freebsd-questions mailing list