On Thu, 26 Sep 2002, Jack L. Stone wrote:

> Date: Thu, 26 Sep 2002 20:55:09 -0500
> From: Jack L. Stone <[EMAIL PROTECTED]>
> To: John Bleichert <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to