From owner-freebsd-current Wed Dec 9 20:31:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA25922 for freebsd-current-outgoing; Wed, 9 Dec 1998 20:31:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from chandra.eatell.msr.prug.or.jp ([202.247.4.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA25917 for ; Wed, 9 Dec 1998 20:31:15 -0800 (PST) (envelope-from y-nakaga@nwsl.mesh.ad.jp) Received: from nwsl.mesh.ad.jp (localhost.eatell.msr.prug.or.jp [127.0.0.1]) by chandra.eatell.msr.prug.or.jp (8.8.8/8.8.5) with ESMTP id NAA02545; Thu, 10 Dec 1998 13:28:58 +0900 (JST) Message-Id: <199812100428.NAA02545@chandra.eatell.msr.prug.or.jp> To: Mark Murray cc: current@FreeBSD.ORG Subject: Re: PAO Integration? In-reply-to: Your message of "Wed, 09 Dec 1998 12:05:57 +0200." <199812091005.MAA88550@greenpeace.grondar.za> Date: Thu, 10 Dec 1998 13:28:57 +0900 From: NAKAGAWA Yoshihisa Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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