From owner-freebsd-questions@FreeBSD.ORG Tue May 20 18:55:19 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 DA38837B401 for ; Tue, 20 May 2003 18:55:19 -0700 (PDT) Received: from 12-229-238-38.client.attbi.com (evrtwa1-ar17-4-47-114-001.evrtwa1.dsl-verizon.net [4.47.114.1]) by mx1.FreeBSD.org (Postfix) with SMTP id E2C0F43F75 for ; Tue, 20 May 2003 18:55:16 -0700 (PDT) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 4772 invoked from network); 21 May 2003 01:55:15 -0000 Received: from unknown (HELO bartxp) (192.168.0.2) by 192.168.0.1 with SMTP; 21 May 2003 01:55:15 -0000 From: "Derrick Ryalls" To: "'Robert Storey'" , Date: Tue, 20 May 2003 18:55:05 -0700 Message-ID: <007501c31f3c$03027f60$0200a8c0@bartxp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <20030521092225.5a6a4442.y2kbug@ms25.hinet.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: shutdown -p now 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: Wed, 21 May 2003 01:55:20 -0000 >=20 > I'm trying to get my computer to shut down and turn the power=20 > off. I'm aware of the command "shutdown -p now". It doesn't=20 > work for me, and after reading the handbook, I conclude that=20 > I must not have ACPI supported hardware. However, with Linux=20 > (and Windows) on this same computer, I can tell the machine=20 > to shut down and turn off the power. In Linux, this requires=20 > that the apm module be loaded - enabling apm in FBSD doesn't=20 > seem to do the trick for me (or do I need to recompile the=20 > kernel for this to work?). >=20 Yes. I don't run apm myself yet, but I believe these are the steps Look for the line in your kernel: device apm0 at nexus? disable flags 0x20=20 and make it look like this (I think) device apm0 Recompile your kernel and add=20 apmd_enable=3D"true" to /etc/rc.conf > A bigger problem is that FBSD seems to have disabled the=20 > power button on the front of the computer. In order for me to=20 > turn off the machine, I have to reach behind the computer and=20 > turn off the master switch on the power supply (or else, pull=20 > the power cord out of the wall). I assume that this is done=20 > as a security measure - to prevent evil-minded individuals=20 > from shutting down the server when the system administrator=20 > is on his lunch break. That probably makes sense in a=20 > corporate network setting, but I don't need that level of=20 > security at home. More importantly, when I install FBSD on my=20 > laptop (I have not yet done so), I'm concerned that I won't=20 > be able to shut down the machine at all unless I remove the battery. What happens when you hold the power button on the front of the machine for 6 seconds?