Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 1998 13:28:57 +0900
From:      NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
To:        Mark Murray <mark@grondar.za>
Cc:        current@FreeBSD.ORG
Subject:   Re: PAO Integration? 
Message-ID:  <199812100428.NAA02545@chandra.eatell.msr.prug.or.jp>
In-Reply-To: Your message of "Wed, 09 Dec 1998 12:05:57 %2B0200." <199812091005.MAA88550@greenpeace.grondar.za> 

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.

# PC/AT arch has not ROM monitor, but it is PC/AT arch depend problem.

In Linux, when shutdown -h, choice power-off or halt only by
config-option.

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.

See PR i386/8638.

--
NAKAGAWA, Yoshihisa
	y-nakaga@nwsl.mesh.ad.jp
	nakagawa@jp.FreeBSD.org

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?199812100428.NAA02545>