mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luca Tettamanti <kronos.it@gmail.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Brad Campbell <brad@wasp.net.au>,
	lm-sensors@lm-sensors.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] it87 sensors need an ACPI driver (2.6.31)
Date: Tue, 6 Oct 2009 17:00:11 +0200	[thread overview]
Message-ID: <68676e00910060800h4cb84dcl9f610f6b23a88e5c@mail.gmail.com> (raw)
In-Reply-To: <4ACA21E8.6080501@msgid.tls.msk.ru>

On Mon, Oct 5, 2009 at 6:42 PM, Michael Tokarev <mjt@tls.msk.ru> wrote:
> Luca Tettamanti wrote:
> []
>>>
>>> Vanilla Kernel 2.6.31.1 fails to load it87 on my machine with the same
>>> messages as posted above.
>
> []
>>>
>>> In addition, asus_atk0110 loads but leaves no trace in dmesg when loaded.
>>
>> That's good ;-) The driver is quiet when everything is ok. You should
>> see the corresponding entries under /sys/class/hwmon/hwmonN; upgrade
>> lm-sensor package to version 3.1.1, older versions do not support ACPI
>> devices.
>>
>>> Motherboard is an Asus M2N32-WS. DSDT attached.
>>
>> From a quick glance it should work. If it doesn't enable
>> CONFIG_HWMON_DEBUG_CHIP.
>
> Well, I just tried it here and it works here too, on 3 different
> asus motherboards.  But asus_atk0110 is far less useful than the
> it87 variant.  Yes atk0110 shows correct labels for various sensors,
> but for one there's no way to control fan speeds using it, at least
> not currently, -- something which is done by it87 easily.
>
> Well, one more difference is that atk0110 also shows vcore, which
> at least looks real instead of fake 1.55V as shown by it87.
>
> But anyway, loading the driver just to get correct labels and
> vcore seems a bit overkill...

The main reason for using atk0110 is correctness: the resources are
claimed by ACPI, it might not be safe to touch them (for the same
reason two drivers are not allowed to map e.g. the same PCI BAR).
On newer boards the risk of collision is pretty high, since the hwmon
chip is used by an EC that works in background... on other boards the
risk is much lower since the hwmon chip doesn't seem to be probed
actively.
Anyway, as user you can override this decision with
"acpi_enforce_resources=lax", but _I_ wouldn't recommend it.

Luca

  reply	other threads:[~2009-10-06 15:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20  8:20 wixor
2009-09-20  9:10 ` Holger Hoffstaette
2009-09-20  9:17 ` Alan Jenkins
2009-09-20 12:20 ` [lm-sensors] " Luca Tettamanti
2009-09-20 12:46   ` wixor
2009-09-20 20:37   ` Gene Heskett
2009-09-20 21:31     ` Luca Tettamanti
2009-09-21  0:35       ` Gene Heskett
2009-09-21  9:43         ` Luca Tettamanti
2009-09-21 15:02           ` Gene Heskett
2009-09-21 15:07             ` Luca Tettamanti
2009-10-05  0:11   ` Brad Campbell
2009-10-05  9:12     ` Michael Tokarev
2009-10-05 13:48       ` Brad Campbell
2009-10-05 15:37     ` Luca Tettamanti
2009-10-05 16:40       ` Jean Delvare
2009-10-05 16:42       ` Michael Tokarev
2009-10-06 15:00         ` Luca Tettamanti [this message]
2009-10-06 15:22           ` Michael Tokarev
2009-10-06 15:34             ` Luca Tettamanti
2009-10-06 15:41               ` Michael Tokarev
2009-10-06 16:00                 ` Jean Delvare
2009-10-06 16:10                 ` Luca Tettamanti
2009-10-06 16:04             ` Alan Jenkins

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=68676e00910060800h4cb84dcl9f610f6b23a88e5c@mail.gmail.com \
    --to=kronos.it@gmail.com \
    --cc=brad@wasp.net.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mjt@tls.msk.ru \
    /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®