Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 21:26:10 -0700 (PDT)
From:      yew chin <yutaka82@yahoo.com>
To:        Joshua Lokken <joshua@joshualokken.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd power off automatically
Message-ID:  <20030421042610.25725.qmail@web11208.mail.yahoo.com>
In-Reply-To: <20030421041545.GA53069@joloxbox.joshualokken.com>

next in thread | previous in thread | raw e-mail | index | archive | help
dear Joshua,
i'm sorry, i forget to mention that i already comment
out the default apm0 disable line
i insert a new "device apm0" after that
i can see apm0 in dmesg
but when i enter "shutdown -p now", the system just
reboot instead of turning off the power
i also put apm_enable="YES" and apmd_enable="YES" in
rc.conf

--- Joshua Lokken <joshua@joshualokken.com> wrote:
> * yew chin (yutaka82@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


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



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