mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Zhang, Rui" <rui.zhang@intel.com>
To: "Németh Márton" <nm127@freemail.hu>
Cc: linux-acpi@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: AE_ERROR, ACPI thermal trip point state changed
Date: Fri, 07 Mar 2008 15:24:46 +0800	[thread overview]
Message-ID: <1204874686.10256.185.camel@acpi-hp-zz.sh.intel.com> (raw)
In-Reply-To: <47D0E694.5050102@freemail.hu>

[-- Attachment #1: Type: text/plain, Size: 2107 bytes --]


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 |	\


[-- Attachment #2: thermal-fix --]
[-- Type: text/plain, Size: 809 bytes --]

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 |	\

  parent reply	other threads:[~2008-03-07  7:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47B328AA.1000800@freemail.hu>
     [not found] ` <47B3F147.7000704@freemail.hu>
2008-03-06  7:01   ` Németh Márton
2008-03-05 22:49     ` Zhang, Rui
2008-03-06  8:05       ` Zhang, Rui
2008-03-07  6:54         ` Németh Márton
2008-03-07  7:19           ` Zhang, Rui
2008-03-07  7:24           ` Zhang, Rui [this message]
2008-03-08  7:41             ` Németh Márton
2008-03-10  1:52               ` Zhang, Rui
2008-08-20  9:08                 ` Németh Márton
2008-08-20 10:02                   ` Andi Kleen
2008-11-19 22:20                     ` Németh Márton
2008-11-19 23:22                       ` Andi Kleen
2008-12-08  6:04                         ` Németh Márton
2008-12-08  6:48                           ` Zhang Rui
2008-12-08  6:59                             ` Németh Márton
2009-01-05  6:22                               ` Németh Márton
2009-01-15 21:56                   ` Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204874686.10256.185.camel@acpi-hp-zz.sh.intel.com \
    --to=rui.zhang@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm127@freemail.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®