From owner-freebsd-questions@FreeBSD.ORG Sun Apr 20 21:26:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4AAE37B401 for ; Sun, 20 Apr 2003 21:26:10 -0700 (PDT) Received: from web11208.mail.yahoo.com (web11208.mail.yahoo.com [216.136.131.190]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A79E43F75 for ; Sun, 20 Apr 2003 21:26:10 -0700 (PDT) (envelope-from yutaka82@yahoo.com) Message-ID: <20030421042610.25725.qmail@web11208.mail.yahoo.com> Received: from [67.122.166.125] by web11208.mail.yahoo.com via HTTP; Sun, 20 Apr 2003 21:26:10 PDT Date: Sun, 20 Apr 2003 21:26:10 -0700 (PDT) From: yew chin To: Joshua Lokken In-Reply-To: <20030421041545.GA53069@joloxbox.joshualokken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: freebsd power off automatically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 04:26:10 -0000 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 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