From owner-freebsd-current Thu Dec 10 15:38:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07966 for freebsd-current-outgoing; Thu, 10 Dec 1998 15:38:56 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp-dc.dialup.hilink.com.au [203.2.144.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07939 for ; Thu, 10 Dec 1998 15:38:52 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA00873; Thu, 10 Dec 1998 15:35:43 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812102335.PAA00873@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: NAKAGAWA Yoshihisa cc: Mark Murray , current@FreeBSD.ORG Subject: Re: PAO Integration? In-reply-to: Your message of "Thu, 10 Dec 1998 13:28:57 +0900." <199812100428.NAA02545@chandra.eatell.msr.prug.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Dec 1998 15:35:42 -0800 From: Mike Smith 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. 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