mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: "J.A. Magallón" <jamagallon@ono.com>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org
Subject: Re: Useless thermal acpi driver ?
Date: Fri, 11 Dec 2009 01:25:49 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0912110122570.24891@localhost.localdomain> (raw)
In-Reply-To: <4B20483C.6090309@gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2312 bytes --]

On Wed, 9 Dec 2009, Robert Hancock wrote:

> On 12/09/2009 04:26 PM, J.A. Magallón wrote:
> > Hi all...
> > 
> > I have a couple boxes where the thermal acpi driver gives this:
> > 
> > bran:~>  sensors
> > acpitz-virtual-0
> > Adapter: Virtual device
> > temp1:       +26.8°C  (crit = +100.0°C)
> > 
> > bran:~>  acpi -t
> > No support for device type: battery
> >       Thermal 1: ok, 27.0 degrees C
> > 
> > It stays _always_ the same, there is no difference if I run some number
> > crunchin, or even if one of them is overclocked from 2.8 to 3.0 GHz.
> 
> There are systems where an ACPI thermal zone exists but isn't really hooked up
> to anything and just reports some dummy temperature value. My old system
> reported 40 degrees C no matter what. (I think it's something like the thermal
> zone support is part of the standard ACPI DSDT template the mobo maker got
> from the BIOS developer and they effectively disabled it by putting in the
> dummy temperature.)

send the output from acpidump, and a quick look will tell us
if your ACPI suport is dummy, or accesses real registers.

Also, show the output from

grep . /proc/acpi/thermal_zone/*/*

cheers,
-Len Brown, Intel Open Source Technology Center

> > They are 1U supermicro boxes, ventilation is good, but I don't trust this
> > measures...
> > It looks like the system is using some kind of 'generic' acpi TZ driver,
> > but as I'm used to good-ol' sensors modules, I don't know where to look.
> > 
> > Previously I used the w83627hf module from sensors.
> 
> I'm assuming the kernel is preventing that module from loading since the ACPI
> DSDT has operation regions that refer to the device registers. There's no
> guarantee that this means the BIOS actually accesses the device, or if it
> does, that there's a way to get it to report what it sees other than to
> itself. If the BIOS doesn't actually access the device then you can use the
> acpi_enforce_resources=lax to allow it. The problem is this might be totally
> unsafe and the kernel has no way to tell if it is or isn't.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

  reply	other threads:[~2009-12-11  6:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 22:26 J.A. Magallón
2009-12-10  1:00 ` Robert Hancock
2009-12-11  6:25   ` Len Brown [this message]
2009-12-11  8:45     ` J.A. Magallón
2009-12-15  3:00       ` Len Brown
2009-12-15 22:46         ` J.A. Magallón
2009-12-16  5:21           ` Len Brown
2009-12-22  1:06           ` Robert Hancock

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=alpine.LFD.2.00.0912110122570.24891@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=hancockrwd@gmail.com \
    --cc=jamagallon@ono.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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®