Date: Fri, 27 Sep 2002 08:16:44 -0400 (EDT) From: John Bleichert <syborg@stny.rr.com> To: "Jack L. Stone" <jackstone@sage-one.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: powering down Message-ID: <Pine.LNX.4.44.0209270814540.3803-100000@janeway.vonbek.dhs.org> In-Reply-To: <3.0.5.32.20020926205509.01026638@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Sep 2002, Jack L. Stone wrote: > Date: Thu, 26 Sep 2002 20:55:09 -0500 > From: Jack L. Stone <jackstone@sage-one.net> > To: John Bleichert <syborg@stny.rr.com>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0209270814540.3803-100000>