Re: [ACPI-sppt] IBM Thinkpad R32 and 2.4.22 -> Thermal

Robert Vollmert <[email protected]> Thu, 25 Sep 2003 12:45:36 +0200
Newsgroups gmane.linux.acpi.support
Message-ID <20030925104536.GA6869@krikkit>
On Thu, Sep 25, 2003 at 11:44:45AM +0200, Florian Streibelt wrote:
> Execute Method: [\_TZ_.THM1._TMP] (Node cfeb067c)
> acpi_utils-0267 [47] acpi_evaluate_integer : Return value [3230]
> acpi_thermal-0167 [46] acpi_thermal_get_tempe: Temperature is 3230 dK
> acpi_thermal-0677 [45] acpi_thermal_check    : THM1: temperature[3230]
> sleep[4000]
> Execute Method: [\_TZ_.THM0._TMP] (Node cfeb03d4)
> exregion-0294 [64] ex_system_io_space_han: system_iO 0 (8 width)
> Address=000000000000162B
> acpi_utils-0267 [47] acpi_evaluate_integer : Return value [3232]
> acpi_thermal-0167 [46] acpi_thermal_get_tempe: Temperature is 3232 dK
> acpi_thermal-0677 [45] acpi_thermal_check    : THM0: temperature[3232]
> sleep[4000]
> 
> Here the temperatures are always changeing. Why cant I read the right temp
> in the proc-tree ?

3232dK = 323.2K = 50C, and the small variation is presumably rounded.
So the DSDT appears to be reporting the wrong temperature. The DSDT
does look ok -- perhaps there's some problem with the SMIs? As a very
wild guess, try disabling 'Local APIC' in the kernel. That caused
hangs for me in conjunction with SMIs. And try the latest ACPI patch.

> Compiling "dsdt.dsl"
> dsdt.dsl  5884:                 ShiftLeft (Arg0, 0x08, Local0)
> Error    1014 -                               ^ Method argument is not
> initialized (Arg0)
> 
> dsdt.dsl  5884:                 ShiftLeft (Arg0, 0x08, Local0)
> Remark   3041 -                               ^ Not a parameter, used as
> local only (Arg0)

The Method that code is in doesn't get an argument, so Arg0 isn't
defined. Try replacing it by Local0. That shouldn't affect the
temperature, though, as it seems to handle the sleep button. Except if
the error confuses the ACPI implementation.

Cheers
Robert


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