From owner-freebsd-acpi@FreeBSD.ORG Mon May 3 02:17:46 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC5B0106567C for ; Mon, 3 May 2010 02:17:46 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.119]) by mx1.freebsd.org (Postfix) with ESMTP id AFA538FC1D for ; Mon, 3 May 2010 02:17:46 +0000 (UTC) Received: from c-in3ofil02-03.sv2.lotusliveops.com (50.32.6.10.in-addr.arpa [10.6.32.50]) by c-in3obnd02-03.sv2.lotusliveops.com (Postfix) with ESMTP id B7FC76E2E55 for ; Mon, 3 May 2010 02:17:45 +0000 (GMT) Received: from 81.32.6.10.in-addr.arpa (c-in3ws--02-06.sv2.lotusliveops.com [10.6.32.81]) (sender gaijin.k@ovi.com) by c-in3ofil02-03.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Mon, 03 May 2010 02:17:45 +0000 Received: (qmail 12790 invoked from network); 3 May 2010 02:17:45 -0000 X-ob-auth: gaijin.k:ovi.com@ovi.com Received: from unknown (HELO c-in3play02-03.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by 81.32.5.10.in-addr.arpa with SMTP; 3 May 2010 02:17:45 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Mario Sergio Fujikawa Ferreira In-Reply-To: <20100501133142.99353.qmail@exxodus.fedaykin.here> References: <20100501133142.99353.qmail@exxodus.fedaykin.here> Content-Type: text/plain; charset="UTF-8" Date: Sun, 02 May 2010 22:17:20 -0400 Message-ID: <1272853040.49758.12.camel@RabbitsDen> MIME-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-acpi@FreeBSD.org Subject: Re: Asus M2N32 sli deluxe acpi_themal problem (ACPI Warning for \\_TZ_.THRM._PSL) 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: Mon, 03 May 2010 02:17:47 -0000 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: on hostb3 > acpi_tz0: 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: 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