From owner-freebsd-questions Tue Nov 13 20:40:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 7DCCA37B417 for ; Tue, 13 Nov 2001 20:40:38 -0800 (PST) Received: from rac3.wam.umd.edu (IDENT:root@rac3.wam.umd.edu [128.8.10.143]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id XAA29269; Tue, 13 Nov 2001 23:40:34 -0500 (EST) Received: from rac3.wam.umd.edu (IDENT:sendmail@localhost [127.0.0.1]) by rac3.wam.umd.edu (8.9.3/8.9.3) with SMTP id XAA29791; Tue, 13 Nov 2001 23:40:34 -0500 (EST) Received: from localhost (culverk@localhost) by rac3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id XAA29787; Tue, 13 Nov 2001 23:40:33 -0500 (EST) X-Authentication-Warning: rac3.wam.umd.edu: culverk owned process doing -bs Date: Tue, 13 Nov 2001 23:40:33 -0500 (EST) From: Kenneth Wayne Culver To: Mike Meyer Cc: =?iso-8859-1?q?shanon=20loveridge?= , questions@FreeBSD.ORG Subject: Re: ATX soft power switch In-Reply-To: <15345.18715.468437.712039@guru.mired.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maybe it's changed since the last time I tried it. I've been using -CURRENT for a while, which uses ACPI so I can't remember, last time I tried it with 4.x was about a month ago, and at that point it still needed apm to be enabled in rc.conf. Ken On Tue, 13 Nov 2001, Mike Meyer wrote: > [Format recovered from top posting.] > > Kenneth Wayne Culver types: > > On Tue, 13 Nov 2001, Mike Meyer wrote: > > > shanon loveridge types: > > > > Is there a way to make use of the ATX soft power > > > > switch in FreeBSD so the computer will automaticaly > > > > power off when shutdown? > > > > I know this can be done in Linux by recompiling the > > > > kernal with this feature set. > > > You need to build the kernel with apm enabled. At that point, > > > "shutdown -p" should do what you want. > > > > > You also have to enable apm by adding apm_enable="YES" in /etc/rc.conf > > Are you sure? Last time I wanted to control just poweroff, I didn't > need to enable apm via /etc/rc.conf. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Q: How do you make the gods laugh? A: Tell them your plans. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message