Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 1998 15:35:42 -0800
From:      Mike Smith <mike@smith.net.au>
To:        NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
Cc:        Mark Murray <mark@grondar.za>, current@FreeBSD.ORG
Subject:   Re: PAO Integration? 
Message-ID:  <199812102335.PAA00873@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 10 Dec 1998 13:28:57 %2B0900." <199812100428.NAA02545@chandra.eatell.msr.prug.or.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > FreeBSD 3.0 will turn off the laptop (on my Libretto 70) with
> > shutdown -h. What is wrong with this?
> 
> It is wrong.
> 
> In traditional UNIX, if you want to power-off, use another command
> shutdown -h, example halt -p or shutdown -x. Because, anytime
> shutdown -h, not want to power-off, sometime want go to ROM monitor.

You enter the PC "ROM monitor" equivalent by rebooting.

> Second problem, 3.0-RELEASE's implement problem. It is hard
> cording in src/sys/i386/i386/machdep.c:cpu_power_down(). If you
> want to add new power-control mechanism, you must change that code.
>
> My patch using at_shutdown() for registration power-control
> routine, so change power-control driver only.

You're out of date; we do this already.  Your point is good though; we 
should be testing for RB_POWEROFF, not RB_HALT.

> See PR i386/8638.

I've closed it.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812102335.PAA00873>