From owner-freebsd-acpi@FreeBSD.ORG Sat Sep 23 17:02:51 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0342916A40F for ; Sat, 23 Sep 2006 17:02:51 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D38C43D4C for ; Sat, 23 Sep 2006 17:02:50 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GRAtN-0005oF-00; Sat, 23 Sep 2006 19:02:17 +0200 Date: Sat, 23 Sep 2006 19:02:17 +0200 To: Nate Lawson Message-ID: <20060923170217.GX4945@poupinou.org> References: <450DFA53.2090006@paradise.net.nz> <450E2EB6.2090908@root.org> <20060921132915.GE10582@obelix.dsto.defence.gov.au> <45131227.40107@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45131227.40107@root.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org Subject: Re: RELENG_6 power button ignored after halt if ACPI enabled X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 17:02:51 -0000 On Thu, Sep 21, 2006 at 03:28:55PM -0700, Nate Lawson wrote: > Wilkinson, Alex wrote: > > 0n Sun, Sep 17, 2006 at 10:29:26PM -0700, Nate Lawson wrote: > > > > >Try setting this sysctl: > > >sysctl hw.acpi.disable_on_reboot=1 > > > > > >It may be that you need acpi to stop managing your power button after > > halt. > > > >I dont get it ? I thought you needed ACPI to do the actual shutdown ? > > He isn't doing halt -p, he's doing "halt", then hitting the power > button. If acpi is still enabled, it intercepts the button event but > can't do anything because the OS is halted (i.e. no shutdown() > available). If ACPI is disabled by that point, the BIOS handles it and > powers off the system. > > This only applies to his system, it's not necessarily true in general. > Some systems won't work if ACPI is disabled during this process, hence > the sysctl. > > Just goes to show how complicated this all is, but it's not MY fault. :) > When ACPI mode is enabled, the system should power off after 4 seconds IIRC. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.