Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2010 22:17:20 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <gaijin.k@ovi.com>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: Asus M2N32 sli deluxe acpi_themal problem (ACPI Warning for \\_TZ_.THRM._PSL)
Message-ID:  <1272853040.49758.12.camel@RabbitsDen>
In-Reply-To: <20100501133142.99353.qmail@exxodus.fedaykin.here>
References:  <20100501133142.99353.qmail@exxodus.fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2010-05-01 at 10:31 -0300, Mario Sergio Fujikawa Ferreira wrote:
> Hi,
>=20
>   MOBO: Asus m2n32 sli deluxe wireless edition with bios version 2209.
>   FreeBSD: FreeBSD home.here 8.0-STABLE FreeBSD 8.0-STABLE #20: Tue Apr 2=
7 07:09:25 BRT 2010 lioux@home:/usr/obj/usr/src/sys/LIOUX i386
>=20
>   I would like to use acpi_thermal(4) passive cooling feature.
>=20
>   However, hw.acpi.thermal.tzo.temperature reports incorrect temperature.=
 It always return 40,0C regardless of the value I get from other sysctls:
>=20
> dev.acpi_aiboost.0.temp0: 550
> dev.acpi_aiboost.0.temp1: 390
> dev.amdtemp.0.sensor0.core0: 39,0C
> dev.amdtemp.0.sensor0.core1: 42,0C
>=20
>   The above values are conflicted but at least they go higher when the ro=
om is hot. :) I lean towards the values from dev.amdtemp.
>=20
>   Anyways, I also get the following warning during boot:
>=20
> amdtemp0: <AMD K8 Thermal Sensors> on hostb3
> acpi_tz0: <Thermal Zone> on acpi0
> ACPI Warning for \\_TZ_.THRM._PSL: Return Package type mismatch at index =
0 - found [NULL Object Descriptor], expected Reference (20100331/nspredef-1=
197)
> acpi_aiboost0: <ASUStek AIBOOSTER> on acpi0
>=20
>   I am providing the asl, dsdt, dmesg.boot and several sysctl dumps at:
If you are really brave (and please, keep in mind that messing with your
ASL just might toast you piece of hardware), you can try [really
hackish] patch below. It would not solve problems with the passive
cooling (at least not by itself), but might provide you with meaningful
temperature readout. Unfortunately, I have no idea what condition BIOS
writer was checking to decide whether to give you results of reading of
some sensors or just 40C flat out (0x0C3C), so you might trade your
condition for some random value having no bearing on the reality. Given
the fact that that code path converts value to the tenths of Kelvin
twice, I would not be overly hopeful.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- lioux-asus_m2n32_sli_deluxe_wireless_edition_bios_2209.asl~
2010-05-02 21:48:30.000000000 -0400
+++ lioux-asus_m2n32_sli_deluxe_wireless_edition_bios_2209.asl
2010-05-02 22:03:12.880835765 -0400
@@ -171,7 +171,7 @@
  *     Compiler ID      "MSFT"
  *     Compiler Version 0x03000000 (50331648)
  */
-DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "NVIDIA", "AWRDACPI",
0x00001000)
+DefinitionBlock ("./acpidump.aml", "DSDT", 1, "NVIDIA", "AWRDACPI",
0x00001000)
 {
     External (\_PR_.CPU0)
=20
@@ -9091,6 +9091,7 @@
             Add (0x0AAC, Local0, Local0)
         }
=20
+/*
         If (LEqual (SSHU, 0x01))
         {
             Return (0x0C3C)
@@ -9099,6 +9100,8 @@
         {
             Return (Local0)
         }
+ */
+	Return(Local0)
     }
=20
     Method (SBYT, 2, NotSerialized)
@@ -9219,7 +9222,8 @@
                 And (SENF, 0x01, Local6)
                 If (LEqual (Local6, 0x01))
                 {
-                    Return (KELA (RTMP ()))
+//                    Return (KELA (RTMP ()))
+                    Return (RTMP ())
                 }
                 Else
                 {
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D

--=20
Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=
 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE)



--------------------------------------------------------------
Ovi Mail: Being used in over 200 countries
http://mail.ovi.com




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