lkml.org 
[lkml]   [2008]   [Mar]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
SubjectRe: AE_ERROR, ACPI thermal trip point state changed
From"Zhang, Rui" <>
DateFri, 07 Mar 2008 15:24:46 +0800
On Fri, 2008-03-07 at 14:54 +0800, Németh Márton wrote:
> Hi,
> 
> I downloaded pmtools from
> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools-20071116.tar.bz2 and
> compiled: it created exactly the same result what my currently
> installed acpidump Debian
> package version 20071116-1. I think it is useless to send the same log
> again.
> 
> After I boot the "Please send acpidump to linux-acpi@vger.kernel.org"
> message is already
> there. So when I first get the prompt I checked for this message in
> dmesg and executed
> the given command. Here is my result:
> 
> # cat /proc/acpi/thermal_zone/*/*
> 0 - Active; 1 - Passive
> <polling disabled>
> state:                   ok
> temperature:             42 C
> critical (S5):           155 C
> passive:                 84 C: tc1=2 tc2=5 tsp=0 devices=CPU0
> active[0]:               70 C: devices=
> # ls /proc/acpi/thermal_zone/*/*
> /proc/acpi/thermal_zone/THRM/cooling_mode
> /proc/acpi/thermal_zone/THRM/polling_frequency
> /proc/acpi/thermal_zone/THRM/state
> /proc/acpi/thermal_zone/THRM/temperature
> /proc/acpi/thermal_zone/THRM/trip_points
> 
> Maybe this is related to
> http://bugzilla.kernel.org/show_bug.cgi?id=8544 ?
> 
Hi, Németh,

Please ignore the debug patch I sent and try this one.

thanks,
rui

thermal fixup for broken BIOS

Signed-off-by: Zhang Rui<rui.zhang@intel.com>
---
 drivers/acpi/thermal.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6/drivers/acpi/thermal.c
===================================================================
--- linux-2.6.orig/drivers/acpi/thermal.c
+++ linux-2.6/drivers/acpi/thermal.c
@@ -326,7 +326,9 @@ static int acpi_thermal_set_cooling_mode
 #define ACPI_TRIPS_ACTIVE	0x08
 #define ACPI_TRIPS_DEVICES	0x10
 
-#define ACPI_TRIPS_REFRESH_THRESHOLDS	(ACPI_TRIPS_PASSIVE | ACPI_TRIPS_ACTIVE)
+#define ACPI_TRIPS_REFRESH_THRESHOLDS	(ACPI_TRIPS_PASSIVE |	\
+					 ACPI_TRIPS_ACTIVE |	\
+					 ACPI_TRIPS_DEVICES)
 #define ACPI_TRIPS_REFRESH_DEVICES	ACPI_TRIPS_DEVICES
 
 #define ACPI_TRIPS_INIT      (ACPI_TRIPS_CRITICAL | ACPI_TRIPS_HOT |	\
thermal fixup for broken BIOS

Signed-off-by: Zhang Rui<rui.zhang@intel.com>
---
 drivers/acpi/thermal.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6/drivers/acpi/thermal.c
===================================================================
--- linux-2.6.orig/drivers/acpi/thermal.c
+++ linux-2.6/drivers/acpi/thermal.c
@@ -326,7 +326,9 @@ static int acpi_thermal_set_cooling_mode
 #define ACPI_TRIPS_ACTIVE	0x08
 #define ACPI_TRIPS_DEVICES	0x10
 
-#define ACPI_TRIPS_REFRESH_THRESHOLDS	(ACPI_TRIPS_PASSIVE | ACPI_TRIPS_ACTIVE)
+#define ACPI_TRIPS_REFRESH_THRESHOLDS	(ACPI_TRIPS_PASSIVE |	\
+					 ACPI_TRIPS_ACTIVE |	\
+					 ACPI_TRIPS_DEVICES)
 #define ACPI_TRIPS_REFRESH_DEVICES	ACPI_TRIPS_DEVICES
 
 #define ACPI_TRIPS_INIT      (ACPI_TRIPS_CRITICAL | ACPI_TRIPS_HOT |	\
\
 
 \ /
  Last update: 2008-03-07 08:39    [from the cache]
©2003-2008