From: Peter Ganzhorn <peter.ganzhorn@googlemail.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Intel Core voltage monitoring
Date: Wed, 12 Dec 2007 12:05:08 +0000 [thread overview]
Message-ID: <475FCE74.4050500@googlemail.com> (raw)
In-Reply-To: <475BDA45.70400@googlemail.com>
This sounds quite interesting to me - do you think it should be possible
to find out what's the matter about the removal of the driver and would
I have been able to access my smbus and the hwmon chip in my laptop with it?
It would be great to have a driver for this stuff, but it should work
flawlessly of course...and if it was removed I suppose there was a
problem with it :(
But thanks for the info, please keep me up2date if you're going to
investigate a bit more!
Peter
Jean Delvare wrote:
> On 12 Dec 2007 01:39:30 -0500, linux@horizon.com wrote:
>
>>> You're not missing any driver. What you're missing is the SMBus master
>>> device itself, because it was hidden from you by the BIOS, but given
>>> what the BIOS does with it, that's the only safe approach.
>>>
>> I don't see a Linux driver for it, but there is a spec for SMBus
>> access via ACPI, which could synchronize with SMM properly.
>>
>> The spec's at http://www.smbus.org/specs/
>> specifically
>> SMBus Control Method Interface Specification, version 1.0
>> http://www.smbus.org/specs/smbus_cmi10.pdf
>>
>> Supposedly there should be something like
>>
>> Device(SMB<id>){
>> Name(_HID, "SMBUS01") // Hardware ID (PnP ID)
>> Name(_UID, <uid>) // Unique Identification
>> Method(_SBI, 0) {...} // SMBus Information
>> Method(_SBR, 3) {...} // SMBus Data Read
>> Method(_SBW, 6) {...} // SMBus Data Write
>> Method(_SBT, 6) {...} // SMBus Data Transfer
>> Method(_SBA, 0) {...} // SMBus Alert Information
>> }
>>
>
> There has been a driver doing that in kernel 2.6.18 to 2.6.22, named
> i2c_ec:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=drivers/acpi/i2c_ec.c
> But then the driver we deleted by Len Brown. As the log message is
> empty, I can't tell you why the driver was deleted.
>
> Note that this driver was looking for an ACPI device named "ACPI0001",
> not SMB<id> as you described above. So maybe it's something different,
> I don't know.
>
>
>> Does anyone know the right incanation (probably using "acpidump")
>> to see if this is supported on the problematic machines? If so,
>> writing a driver becomes an interesting question.
>>
>
> Yes, acpidump should tell you. Or just run "iasl -d" on your DSDT
> table, I guess that this is where the device in question would be
> declared. But I don't remember ever seeing the above implemented in any
> ACPI DSDT I've disassembled.
>
> I'm not sure why this would be more robust to SMM than any other driver
> though. How could the ACPI code synchronize with SMM given that you do
> not know when an SMI happens?
>
>
>> (This seems rather obvious, so I hope this idea hasn't been
>> discarded already for some reason I have overlooked.)
>>
>
> There clearly is a need for this on some machines, but it remains to be
> understood why the Linux ACPI people apparently do not want to expose
> this interface.
>
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-12-12 12:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-09 12:06 [lm-sensors] Intel Core voltage monitoring Peter Ganzhorn
2007-12-10 13:43 ` Rudolf Marek
2007-12-10 14:44 ` Jean Delvare
2007-12-10 14:50 ` Jean Delvare
2007-12-10 15:01 ` Jean Delvare
2007-12-10 18:12 ` Peter Ganzhorn
2007-12-10 18:22 ` Jean Delvare
2007-12-12 6:39 ` linux
2007-12-12 11:17 ` Jean Delvare
2007-12-12 12:05 ` Peter Ganzhorn [this message]
2007-12-12 12:07 ` linux
2007-12-12 12:22 ` Jean Delvare
2007-12-12 12:39 ` 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=475FCE74.4050500@googlemail.com \
--to=peter.ganzhorn@googlemail.com \
--cc=lm-sensors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.