From: Jose Luis Domingo Lopez <linux-kernel@24x7linux.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Sensors on Asus M2N SLI Deluxe
Date: Mon, 11 Sep 2006 21:13:04 +0200 [thread overview]
Message-ID: <20060911191303.GA27441@localhost> (raw)
In-Reply-To: <200609111234.25413.prakash@punnoor.de>
[-- Attachment #1.1: Type: text/plain, Size: 920 bytes --]
On Monday, 11 September 2006, at 12:34:25 +0200,
Prakash Punnoor wrote:
> Take a look into lm_sensors ml. Some patches have been posted, which work well
> for me with 2.6.18rc. (I have a slightly different mobo, but I guess the same
> it87 derivative is used on yours.) The will probably go into 2.6.19, IIRC.
>
If the sensor chip is an IT8716F one, the attached patch will do the
trikc ( patch based on kernel 2.6.18-rc4). It seems that IT8716F are
mostly like the well-known IT8712F. See:
http://www.lm-sensors.org/changeset/4083
Just for the record, gkrellm sees the sensors just fine, but (for
example) ksensors or even lm-sensors 2.10.0 don't. mbmon works fine
though. Multipliers and offsets are probably mobo-dependent (GIGABYTE
GA-M55Plus-S3G Socket AM2 here).
Hope it helps.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.17.9-slh-up-1)
[-- Attachment #1.2: it8716_sensor.diff --]
[-- Type: text/plain, Size: 1606 bytes --]
--- 2.6.18-rc47it87.c 2006-06-18 03:49:35.000000000 +0200
+++ 2.6.18-rc4-modified/it87.c 2006-08-20 18:17:43.000000000 +0200
@@ -50,7 +50,7 @@
static unsigned short isa_address;
/* Insmod parameters */
-I2C_CLIENT_INSMOD_2(it87, it8712);
+I2C_CLIENT_INSMOD_3(it87, it8712, it8716);
#define REG 0x2e /* The register to read/write */
#define DEV 0x07 /* Register: Logical device select */
@@ -100,6 +100,7 @@
}
#define IT8712F_DEVID 0x8712
+#define IT8716F_DEVID 0x8716
#define IT8705F_DEVID 0x8705
#define IT87_ACT_REG 0x30
#define IT87_BASE_REG 0x60
@@ -720,6 +721,7 @@
superio_enter();
chip_type = superio_inw(DEVID);
if (chip_type != IT8712F_DEVID
+ && chip_type != IT8716F_DEVID
&& chip_type != IT8705F_DEVID)
goto exit;
@@ -801,6 +803,8 @@
kind = it87;
if ((is_isa) && (chip_type == IT8712F_DEVID))
kind = it8712;
+ else if ((is_isa) && (chip_type == IT8716F_DEVID))
+ kind = it8716;
}
else {
if (kind == 0)
@@ -817,6 +821,8 @@
name = "it87";
} else if (kind == it8712) {
name = "it8712";
+ } else if (kind == it8716) {
+ name = "it8716";
}
/* Fill in the remaining client fields and put it into the global list */
@@ -1193,7 +1199,7 @@
MODULE_AUTHOR("Chris Gauthron <chrisg@0-in.com>");
-MODULE_DESCRIPTION("IT8705F, IT8712F, Sis950 driver");
+MODULE_DESCRIPTION("IT8705F, IT8712F, IT8716F, Sis950 driver");
module_param(update_vbat, bool, 0);
MODULE_PARM_DESC(update_vbat, "Update vbat if set else return powerup value");
module_param(fix_pwm_polarity, bool, 0);
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-09-11 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 9:27 Sensors on Asus M2N SLI Deluxe Thomas Richter
2006-09-11 10:34 ` Prakash Punnoor
2006-09-11 19:13 ` Jose Luis Domingo Lopez [this message]
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=20060911191303.GA27441@localhost \
--to=linux-kernel@24x7linux.com \
--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