Re: [ACPI-sppt] ASUS M2400N update > ASUS Centrino update

Luca Capello <[email protected]> Sat, 20 Sep 2003 13:02:47 +0100
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Hello, I think Robert's patch solved the problem for all Centrino, at
least on mine (M3N). This evening I'm going to add the original DSDT and 
this new one to the ACPI DSDT database. After the quotation, the results 
w/ the 'thermal' module on Linux kernel 2.4.21 and DSDT loaded from initrd.

on 19/09/2003 23.33, Robert Vollmert wrote:
> Hello,
> 
> here's as small patch to the custom DSDT from acpi.sf.net. The address
> TSAD that was supposed to be read somewhere from system memory is now
> hard-coded to a value obtained from the official L3800C DSDT.
> 
> With this DSDT, I get sensible temperature readings. Also, the
> definition of _L00 could be replaced without causing keventd to take
> the CPU hostage.
> 
> Cheers
> Robert
> 
> 
> ------------------------------------------------------------------------
> 
> --- ASUS-M2400N-0206-custom.asl.orig	2003-09-20 00:22:26.000000000 +0200
> +++ ASUS-M2400N-0206-custom.asl	2003-09-20 00:24:48.000000000 +0200
> @@ -1381,7 +1381,7 @@
>                          NSTE,   16, 
>                          SSTE,   16, 
>                          SFUN,   8, 
> -                        TSAD,   8, 
> +                        TSAX,   8, /* this used to be TSAD */
>                          TAC3,   8, 
>                          TAC2,   8, 
>                          TAC1,   8, 
> @@ -1402,6 +1402,8 @@
>                          DBRD,   32, 
>                          SIDS,   8
>                      }
> +                    Name (TSAD, 0x98)
> +
>  
>                      Name (OSFG, 0x00)
>                      Name (OS9X, 0x01)
> @@ -3598,7 +3600,6 @@
>                      }
>                  }
>  
> -/*
>                  Scope (\_GPE)
>                  {
>                      Method (_L00, 0, Serialized)
> @@ -3607,7 +3608,6 @@
>                          Notify (\_TZ.THRM, 0x80)
>                      }
>                  }
> -*/
>  
>                  Scope (\_TZ)
>                  {
Here the results:

=====
# this is the first try, suddendly after I loaded the module, the
# fan turned on and it didn't stop; anyway, the temperature went
# down till 32ºC :-)
gismo:/home/luca# modprobe thermal
gismo:/home/luca# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             37 C
gismo:/home/luca# date
Sat Sep 20 10:59:21 CEST 2003
gismo:/home/luca# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             34 C
gismo:/home/luca# date
Sat Sep 20 11:00:39 CEST 2003
gismo:/home/luca# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             32 C
gismo:/home/luca# date
Sat Sep 20 11:03:19 CEST 2003
gismo:/home/luca# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             32 C
gismo:/home/luca# date
Sat Sep 20 11:04:35 CEST 2003
gismo:/home/luca# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             32 C
gismo:/home/luca# date
Sat Sep 20 11:06:40 CEST 2003
gismo:/home/luca#

# here I tried the 'asus_therm' module Ducrot Bruno sent me to check
# the problem on ASUS's DSDT. As u can see, this module gives always
# the same temperature, not as the 'thermal' one
gismo:/home/luca# cd /usr/src/acpi/asus_therm
gismo:/usr/src/acpi/asus_therm# insmod ./asus_therm.o
gismo:/usr/src/acpi/asus_therm# cat /proc/asus/temperature
60 C
gismo:/usr/src/acpi/asus_therm# date
Sat Sep 20 11:07:27 CEST 2003
gismo:/usr/src/acpi/asus_therm# cat /proc/asus/temperature
60 C
gismo:/usr/src/acpi/asus_therm# date
Sat Sep 20 11:08:20 CEST 2003
gismo:/usr/src/acpi/asus_therm# cat /proc/asus/temperature
60 C
gismo:/usr/src/acpi/asus_therm# date
Sat Sep 20 11:11:02 CEST 2003
gismo:/usr/src/acpi/asus_therm# cat /proc/asus/temperature
60 C
gismo:/usr/src/acpi/asus_therm# date
Sat Sep 20 11:13:33 CEST 2003
gismo:/usr/src/acpi/asus_therm#

# I retried to cat temperature, but it seems it goes down no more
# than 32ºC
gismo:/usr/src/acpi/asus_therm# cat /proc/acpi/thermal_zone/THRM/temperature
temperature:             32 C
gismo:/usr/src/acpi/asus_therm# date
Sat Sep 20 11:14:00 CEST 2003
gismo:/usr/src/acpi/asus_therm#
=====

I think this is a forward step to permanently solve the ASUS's DSDT 
problem. I didn't need to rename the definition of '_LOO' as 'keventd' 
didn't take my CPU power.

It will be very useful if some other ASUS Centrino user could try this 
new hack, just to know if it works for them, too. More, if anyone knows 
a program to check the same temperature on Windows, please tell me, so 
we can compare the 2 different temperatures.

Thx, bye,
Gismo / Luca



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf