Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 22:17:58 -0700 (MST)
From:      Colin Eric Johnson <colinj@cs.unm.edu>
To:        Mike Smith <mike@smith.net.au>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: APM power-off code 
Message-ID:  <Pine.LNX.4.05.9901132213120.17385-100000@shiva.cs.unm.edu>
In-Reply-To: <199901140334.TAA03147@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Jan 1999, Mike Smith wrote:

> > On Wed, 13 Jan 1999, Mike Smith wrote:
> > 
> > > > Any chance this might get folded into the next release of FreeBSD (like
> > > > 3.1)?
> > > 
> > > Sort of like "shutdown -p"?  8)  We've been powering off on halt for a 
> > > long time now.
> > 
> > I just checked the man page for 2.2.8-RELEASE and it doesn't list a -p
> > flag for shutdown. Is this just the PAO version or has it been rolled into
> > the mainstream FreeBSD code?
> 
> It's original code in 3.0; in 2.2.8 if APM is active, 'halt' should 
> power off.

I did just check the halt/reboot man page and it did say that it should
shut the power off where possible. I'm not getting that behavior on my
Lattitude. I have the following line in my kernel config

device          apm0    at isa?         # Advanced Power Management

and I can get the suspend/resume functions to work just fine. If, however,
I use halt I get "press any key to reboot." 

p.s. where is the "any" key anyway ;-)

Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/
``...what you really wanted to ask was if the Universe is indeed ludicrous.
But that is a question each must answer for himself.''
-Stanislaw Lem "King Globare and the Sages"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" 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.05.9901132213120.17385-100000>