From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 11 09:57:36 2009 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EC5B106564A for ; Tue, 11 Aug 2009 09:57:36 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE2F8FC15 for ; Tue, 11 Aug 2009 09:57:35 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so824042eyd.7 for ; Tue, 11 Aug 2009 02:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tuFBU8iWafP/5s9UC6Td/LvjNGej4BTqQY1TiL0KT5M=; b=LjbL/RscAhZ0PKUGgO+oingje/1VSXx9lVlAa+sTih2LGCCjUr3r7NyTwNQlxBA3oW fTVDIvYFyO64n6oiaLno+K3e4JVSNfCUZODBl3yKreWYnK0S0lER7zn5Eem9Ckgjk/1k 8mE07k65iv4wL47WWOrLnMMsR+x2VG71c4bQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dNmS2J+0cdAJCT3EOSe/B/aqTJfzMf+L1wGdg5EFdWN0ZoOE2ngrNK6RMV8iZol86Y ynkVo6P2DVgmIaPYJw9oOyS34wbOZRMDw7zORCWpCsEaM82t6+fHlh+4HsV1EosmCKBM R9O1rKWrk4C07gertwgEGfPbeJeC8zwtGrG10= MIME-Version: 1.0 Received: by 10.216.13.74 with SMTP id a52mr1256215wea.145.1249984654395; Tue, 11 Aug 2009 02:57:34 -0700 (PDT) In-Reply-To: <3f1d93450908102038g2f972d45yc3ae5cb0ae9de785@mail.gmail.com> References: <3f1d93450908090448p3553bfb7te177a3b247bf6cc@mail.gmail.com> <3f1d93450908092109p63b10f8bnd92d15fbbc943d4f@mail.gmail.com> <3f1d93450908102038g2f972d45yc3ae5cb0ae9de785@mail.gmail.com> Date: Tue, 11 Aug 2009 09:57:33 +0000 Message-ID: From: "b. f." To: Tim Matthews Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: laptop doesn't power off 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: Tue, 11 Aug 2009 09:57:36 -0000 On 8/11/09, Tim Matthews wrote: > I have tried different combinations of a lot of things and powering off not > working, everything else working fine with no sign of acpi errors in logs. > acpiconf -s 1 (or any other number) operation not supported. I am now very > sure that my bios is up to date. Is there any thing that can be done to make > freebsd's acpi behave like linux's acpi? > Looking at http://www.lesswatts.org/projects/acpi/ , it appears that both Linux and FreeBSD use ACPICA. So we could check to see if Linux has made any changes to their imported sources, and how they handle the power-down. From what you have told us, it appears that your machine is failing at some stage in calling three functions: AcpiEnterSleepStatePrep(ACPI_STATE_S5); ACPI_DISABLE_IRQS(); AcpiEnterSleepState(ACPI_STATE_S5); We could specifically compare the handling of these three functions in FreeBSD and Linux, if you know that your computer works under Linux. If you want to enable debugging as I mentioned in a previous message (the one where you compile kernel and modules with ACPI_DEBUG, which can give us a lot more information than even hw.acpi.verbose=1), we can learn more about exactly where the problem occurs. There are a couple of other things you can try: if you think that a certain piece of hardware is connected with the problem (again, we would know more if debugging was enabled), you can try: 1) physically removing the hardware; 2) going into the BIOS setup and disabling the hardware, if possible; or 3) disabling the ACPI subsystem that handles that hardware via /boot/loader.conf Also, have you tried FreeBSD 8 to see if that works for you? In the meantime, you can safely power down your machine by running 'shutdown -h now', and then manually cutting power. A bit of a nuisance, but not the end of the world. b.