Bug 7139 - temperature reading not working - Compaq Presario 5201CA
Summary: temperature reading not working - Compaq Presario 5201CA
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Thermal (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Konstantin Karasyov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 23:58 UTC by Jakub Jasinski
Modified: 2006-09-13 06:53 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.17
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dmesg output (17.05 KB, text/plain)
2006-09-11 21:08 UTC, Jakub Jasinski
Details
acpidump output (142.39 KB, text/plain)
2006-09-11 21:10 UTC, Jakub Jasinski
Details
DSDT debug patch (988 bytes, patch)
2006-09-12 02:53 UTC, Konstantin Karasyov
Details | Diff
dmesg output (16.17 KB, text/plain)
2006-09-12 23:55 UTC, Jakub Jasinski
Details
corrected dmesg.out (16.03 KB, text/plain)
2006-09-13 00:07 UTC, Jakub Jasinski
Details

Description Jakub Jasinski 2006-09-09 23:58:10 UTC
Most recent kernel where this bug did not occur:
Distribution: Fedora Core 5
Hardware Environment: Compaq Presario 
Software Environment: bash
Problem Description:

acpi reports 0 C temperature on Compaq Presario 5201CA

Steps to reproduce:

cat /proc/acpi/thermal_zone/THRM/temperature
Comment 1 Konstantin Karasyov 2006-09-11 08:25:27 UTC
Please, submit the 'dmesg' and 'acpidump' commands output.

PS: you can do it for either Bug #7140 or #7139 only :) 
Comment 2 Jakub Jasinski 2006-09-11 21:08:49 UTC
Created attachment 8999 [details]
dmesg output

Note that this is not a kernel.org kernel and I have the ATI kernel modules
loaded.
Comment 3 Jakub Jasinski 2006-09-11 21:10:36 UTC
Created attachment 9000 [details]
acpidump output

Same kernel situation as the previous attachment.
Comment 4 Konstantin Karasyov 2006-09-12 02:53:09 UTC
Created attachment 9001 [details]
DSDT debug patch

The temperature being evaluated from 'THEM' field in EC device.
Could you implement this patch to see the actual values of this field?
(for instructions you could refer to
http://acpi.sourceforge.net/download.html
http://forums.gentoo.org/viewtopic.php?t=122145 )

Also, does it make any difference if you disable proprietary drivers, use
vanilla kernel, or both?
Comment 5 Konstantin Karasyov 2006-09-12 02:59:45 UTC
To enable debug output boot with 'acpi_debug=0xffffffff'.
Comment 6 Jakub Jasinski 2006-09-12 23:55:11 UTC
Created attachment 9008 [details]
dmesg output

Thanks for the help.

I compiled a vanilla kernel.org 2.6.17.13 kernel (with no changes to default
options except CONFIG_ACPI_DEBUG=y) and booted without loading the ATI modules
and the TMP values were 0s as you can see in the attached dmesg.out.
Comment 7 Jakub Jasinski 2006-09-13 00:07:03 UTC
Created attachment 9009 [details]
corrected dmesg.out

The previous attachment was an accidentally concatenated dmesg.out (i.e., the
first few lines shouldn't have been there).
Comment 8 Konstantin Karasyov 2006-09-13 06:53:12 UTC
Well, it looks like hardware/BIOS issue for me, since thermal module is able to  
aquire temperature, and it's the same as the value returned from EC field. 
The reason could be wrong EC memory mapping (defined in DSDT) or broken sensor. 
You could try to get the latest BIOS update from HP site to see if it'll fix 
the problem. 
 

Note You need to log in before you can comment on or make changes to this bug.