Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 09:57:33 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        Tim Matthews <tim.matthews7@gmail.com>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: laptop doesn't power off
Message-ID:  <d873d5be0908110257y2eefc04ey7143c1da92b9c195@mail.gmail.com>
In-Reply-To: <3f1d93450908102038g2f972d45yc3ae5cb0ae9de785@mail.gmail.com>
References:  <d873d5be0908090439o5ec6fb68p11655638a1412a23@mail.gmail.com> <3f1d93450908090448p3553bfb7te177a3b247bf6cc@mail.gmail.com> <d873d5be0908090537ifb6aa16h353625e9b6bdf082@mail.gmail.com> <d873d5be0908090547t5544bb86g1c3318fbb83c2710@mail.gmail.com> <3f1d93450908092109p63b10f8bnd92d15fbbc943d4f@mail.gmail.com> <d873d5be0908100622h45e017dfx27250fa8dcd04ffa@mail.gmail.com> <3f1d93450908102038g2f972d45yc3ae5cb0ae9de785@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/11/09, Tim Matthews <tim.matthews7@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d873d5be0908110257y2eefc04ey7143c1da92b9c195>