public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Peter Mahlknecht" <mali100@gmx.net>
To: Zhao Yakui <yakui.zhao@intel.com>
Cc: linux-acpi@vger.kernel.org, mjg@redhat.com
Subject: Re: ACPI reads wrong temperature
Date: Mon, 03 Nov 2008 10:01:53 +0100	[thread overview]
Message-ID: <20081103090153.250280@gmx.net> (raw)
In-Reply-To: <1225677936.26020.17.camel@yakui_zhao.sh.intel.com>

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


-------- Original-Nachricht --------
> Datum: Mon, 03 Nov 2008 10:05:36 +0800
> Von: Zhao Yakui <yakui.zhao@intel.com>
> An: Peter Mahlknecht <mali100@gmx.net>
> CC: Matthew Garrett <mjg@redhat.com>, "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
> Betreff: Re: ACPI reads wrong temperature

> On Sun, 2008-11-02 at 19:31 +0800, Peter Mahlknecht wrote:
> > > > Thanks for the hint. I get the wrong temperatures after loading the 
> > > > lm90 module (hwmon driver), but also if i load em28xx_cx25843, which
> > > > is a part of the driver for my tv-card. Both modules depend on 
> > > > i2c-core, so probably the bug is related to the i2c bus?
> > > 
> > > In the lm90 case it's almost certainly because you have the firmware
> and 
> > > Linux trying to access the chip at the same time. Since it has indexed
> > > registers, this fails very miserably. I'm surprised that the TV card 
> > > driver has any effect - it should be on an entirely spearate i2c bus. 
> > > Are you sure you don't have lm90 loaded in that case?
> > Yes, I am. I had also a talk with the author of the Tv-card driver and
> he suggested to but the problem on the lm-sensors ml:
> http://lists.lm-sensors.org/pipermail/lm-sensors/2008-November/024610.html
> > We know now that the problem is related to the i2c-i801 driver.
> Yes. This is related with i2c-i801 driver.
> We have a similar bug. 
>    http://bugzilla.kernel.org/show_bug.cgi?id=10245
> 
> In this bug after the driver of lm_sensor is loaded, the system read the
> incorrect temperature.  The root cause is that the SMBus is used by ACPI
> for thermal management. After the lm_sensor is loaded, Linux will use
> the same bus. There is the conflict. So if the Linux doesn't attach the
> driver to the SMbus, it will be OK.
> 
> Will you please attach the output of acpidump, lspci -vxxx?
I attached the two files.

Peter
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

[-- Attachment #2: smbus_acpi.tar.gz --]
[-- Type: application/x-gzip, Size: 34488 bytes --]

  reply	other threads:[~2008-11-03  9:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 14:02 ACPI reads wrong temperature Peter Mahlknecht
2008-10-31 14:30 ` Matthew Garrett
2008-10-31 21:09   ` Peter Mahlknecht
2008-11-02  9:25     ` Matthew Garrett
2008-11-02 11:31       ` Peter Mahlknecht
2008-11-03  2:05         ` Zhao Yakui
2008-11-03  9:01           ` Peter Mahlknecht [this message]
2008-11-03 14:50             ` Zhao, Yakui
2008-11-03 14:57               ` Matthew Garrett
2008-11-03 17:47                 ` Len Brown
2008-11-03 17:48                   ` Matthew Garrett
2008-11-06  6:12                     ` Zhao Yakui
2008-11-06  9:11                       ` Matthew Garrett
2008-11-12 22:20                         ` Thomas Renninger
2008-11-12 22:27                           ` Matthew Garrett
2008-11-13 10:24                           ` Jean Delvare

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=20081103090153.250280@gmx.net \
    --to=mali100@gmx.net \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg@redhat.com \
    --cc=yakui.zhao@intel.com \
    /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