On Sat, 2010-05-01 at 10:31 -0300, Mario Sergio Fujikawa Ferreira wrote:
> Hi,
> 
>   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 27 
> 07:09:25 BRT 2010 li...@home:/usr/obj/usr/src/sys/LIOUX i386
> 
>   I would like to use acpi_thermal(4) passive cooling feature.
> 
>   However, hw.acpi.thermal.tzo.temperature reports incorrect temperature. It 
> always return 40,0C regardless of the value I get from other sysctls:
> 
> 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
> 
>   The above values are conflicted but at least they go higher when the room 
> is hot. :) I lean towards the values from dev.amdtemp.
> 
>   Anyways, I also get the following warning during boot:
> 
> 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-1197)
> acpi_aiboost0: <ASUStek AIBOOSTER> on acpi0
> 
>   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.

======================
--- 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)
 
@@ -9091,6 +9091,7 @@
             Add (0x0AAC, Local0, Local0)
         }
 
+/*
         If (LEqual (SSHU, 0x01))
         {
             Return (0x0C3C)
@@ -9099,6 +9100,8 @@
         {
             Return (Local0)
         }
+ */
+       Return(Local0)
     }
 
     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
                 {
==========================

-- 
Alexandre Kovalenko (Олександр Коваленко)



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

_______________________________________________
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"

Reply via email to