From owner-freebsd-questions Fri Sep 27 5:17: 2 2002 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 4090D37B401 for ; Fri, 27 Sep 2002 05:17:00 -0700 (PDT) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61C1343E75 for ; Fri, 27 Sep 2002 05:16:59 -0700 (PDT) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id 753624FC98; Fri, 27 Sep 2002 08:16:44 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id 6D5A04A0D; Fri, 27 Sep 2002 08:16:44 -0400 (EDT) Date: Fri, 27 Sep 2002 08:16:44 -0400 (EDT) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: "Jack L. Stone" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: powering down In-Reply-To: <3.0.5.32.20020926205509.01026638@mail.sage-one.net> 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 On Thu, 26 Sep 2002, Jack L. Stone wrote: > Date: Thu, 26 Sep 2002 20:55:09 -0500 > From: Jack L. Stone > To: John Bleichert , freebsd-questions@FreeBSD.ORG > Subject: Re: powering down > > At 09:35 PM 9.26.2002 -0400, John Bleichert wrote: > >Hello All > > > >Is there any way to get FreeBSD to actually shut off my hardware? It won't > >do so on any of my boxes using 'shutdown -h now'. > > > >Just curious. > > > >Thanks - JB > > > > > ># John Bleichert > ># http://vonbek.dhs.org/latest.jpg > > > > You'll need to make these changes: > > ==>to the kernel -- comment out the first line and add the second and > recompile the kernel > # Power management support (see LINT for more options) > #device apm0 at nexus? disable flags 0x20 # Advanced Power > Management > device apm0 at nexus? flags 0x20 # Advanced Power Management > > ==>to the rc.conf -- add the line below > apm_enable="YES" > > After you reboot, you should be able to use "shutdown -p now" and it will > turn off the machine. Look at the dmesg after the boot to see if you see > the "apm" onboard stuff. Check your BIOS too. > > Best regards, > Jack L. Stone, > Administrator > Ah. I have APM support enabled on my Thinkpad, it works fairly well. I'll try it on my workstation when I get home. All I really needed to do was read the man page for shutdown(8). Wotta putz... Perhaps the Linux versions of shutdown (which is where I first used this command) have a swizzle in them where the '-h' switch actually works like '-p' here? Thanks - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message