From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 21 22:29:00 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 8ED8416A40F for ; Thu, 21 Sep 2006 22:29:00 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC4A43D46 for ; Thu, 21 Sep 2006 22:28:59 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [67.119.74.222] Received: from [10.0.0.44] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by ylpvm12.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k8LMS97P006613; Thu, 21 Sep 2006 18:28:10 -0400 Message-ID: <45131227.40107@root.org> Date: Thu, 21 Sep 2006 15:28:55 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org, Mark Kirkwood References: <450DFA53.2090006@paradise.net.nz> <450E2EB6.2090908@root.org> <20060921132915.GE10582@obelix.dsto.defence.gov.au> In-Reply-To: <20060921132915.GE10582@obelix.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Thu, 21 Sep 2006 22:29:00 -0000 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. :) -- Nate