[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1204874686.10256.185.camel@acpi-hp-zz.sh.intel.com>
Date: Fri, 07 Mar 2008 15:24:46 +0800
From: "Zhang, Rui" <rui.zhang@...el.com>
To: Németh Márton <nm127@...email.hu>
Cc: linux-acpi@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: AE_ERROR, ACPI thermal trip point state changed
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@...r.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@...el.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 | \
View attachment "thermal-fix" of type "text/plain" (810 bytes)
Powered by blists - more mailing lists