All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
@ 2008-06-19 23:20 Juerg Haefliger
  2008-06-21 19:49 ` Hans de Goede
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-06-19 23:20 UTC (permalink / raw)
  To: lm-sensors

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

New driver to support temperature and voltage sensors embedded inside
the VIA C7 CPU.

Sergio: Can you please test this patch?

Signed-off-by: Juerg Haefliger <juergh at gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add-c7temp-driver.patch --]
[-- Type: text/x-diff; name=add-c7temp-driver.patch, Size: 8551 bytes --]

New driver to support temperature and voltage sensors embedded inside the
VIA C7 CPU.

Signed-off-by: Juerg Haefliger <juergh at gmail.com>

---
 Documentation/hwmon/c7temp |   20 +++
 drivers/hwmon/Kconfig      |   10 +
 drivers/hwmon/Makefile     |    1 
 drivers/hwmon/c7temp.c     |  240 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 271 insertions(+)

Index: linux/drivers/hwmon/c7temp.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux/drivers/hwmon/c7temp.c	2008-06-19 16:13:34.000000000 -0700
@@ -0,0 +1,240 @@
+/*
+ * c7temp.c - Driver for the VIA C7 integrated temperature and voltage sensors.
+ *
+ * Copyright (C) 2008 Juerg Haefliger <juergh@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <linux/module.h>
+#include <linux/hwmon.h>
+#include <linux/sysfs.h>
+#include <linux/platform_device.h>
+#include <linux/err.h>
+#include <linux/jiffies.h>
+
+#define DRVNAME	"c7temp"
+
+static struct platform_device *pdev;
+
+struct c7temp_data {
+	const char *name;
+	struct device *hwmon_dev;
+	struct mutex update_lock;
+	char valid;			/* !=0 if following fields are valid */
+	unsigned long last_update;	/* In jiffies */
+
+	u32 temp;
+	u8 in;
+};
+
+static struct c7temp_data *c7temp_update_device(struct device *dev)
+{
+	struct c7temp_data *data = dev_get_drvdata(dev);
+	unsigned int eax, ebx, unused;
+
+	mutex_lock(&data->update_lock);
+
+	/* Sample register contents every 1 sec */
+	if (time_after(jiffies, data->last_update + HZ) || !data->valid) {
+		cpuid(0xc0000002, &eax, &ebx, &unused, &unused);
+		data->temp = eax;
+		data->in = ebx & 0xff;
+
+		data->last_update = jiffies;
+		data->valid = 1;
+	}
+
+	mutex_unlock(&data->update_lock);
+
+	return data;
+}
+
+static ssize_t show_name(struct device *dev, struct device_attribute *attr,
+			 char *buf)
+{
+	struct c7temp_data *data = dev_get_drvdata(dev);
+
+	return sprintf(buf, "%s\n", data->name);
+}
+
+static ssize_t show_temp(struct device *dev, struct device_attribute *attr,
+			 char *buf)
+{
+	struct c7temp_data *data = c7temp_update_device(dev);
+
+	return sprintf(buf, "%d\n", (data->temp >> 8) * 1000);
+}
+
+static ssize_t show_in(struct device *dev, struct device_attribute *attr,
+			 char *buf)
+{
+	struct c7temp_data *data = c7temp_update_device(dev);
+
+	return sprintf(buf, "%d\n", (data->in << 4) + 700);
+}
+
+static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
+static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
+static DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL);
+
+static struct attribute *c7temp_attr[] = {
+	&dev_attr_name.attr,
+	&dev_attr_temp1_input.attr,
+	&dev_attr_in0_input.attr,
+	NULL
+};
+
+static const struct attribute_group c7temp_group = {
+	.attrs = c7temp_attr,
+};
+
+static int __devinit c7temp_probe(struct platform_device *pdev)
+{
+	struct device *dev = &pdev->dev;
+	struct c7temp_data *data;
+	int err;
+
+	data = kzalloc(sizeof(struct c7temp_data), GFP_KERNEL);
+	if (!data) {
+		err = -ENOMEM;
+		dev_err(dev, "Out of memory\n");
+		goto exit;
+	}
+
+	data->name = DRVNAME;
+	mutex_init(&data->update_lock);
+
+	platform_set_drvdata(pdev, data);
+
+	err = sysfs_create_group(&pdev->dev.kobj, &c7temp_group);
+	if (err)
+		goto exit_free;
+
+	data->hwmon_dev = hwmon_device_register(dev);
+	if (IS_ERR(data->hwmon_dev)) {
+		err = PTR_ERR(data->hwmon_dev);
+		dev_err(dev, "Device registration failed (%d)\n", err);
+		goto exit_remove;
+	}
+
+	return 0;
+
+exit_remove:
+	sysfs_remove_group(&pdev->dev.kobj, &c7temp_group);
+exit_free:
+	platform_set_drvdata(pdev, NULL);
+	kfree(data);
+exit:
+	return err;
+}
+
+static int __devexit c7temp_remove(struct platform_device *pdev)
+{
+	struct c7temp_data *data = platform_get_drvdata(pdev);
+
+	hwmon_device_unregister(data->hwmon_dev);
+	sysfs_remove_group(&pdev->dev.kobj, &c7temp_group);
+	platform_set_drvdata(pdev, NULL);
+	kfree(data);
+
+	return 0;
+}
+
+static struct platform_driver c7temp_driver = {
+	.driver = {
+		.owner = THIS_MODULE,
+		.name  = DRVNAME,
+	},
+	.probe  = c7temp_probe,
+	.remove = __devexit_p(c7temp_remove),
+};
+
+static int __init c7temp_device_add(void)
+{
+	int err;
+
+	pdev = platform_device_alloc(DRVNAME, 0);
+	if (!pdev) {
+		err = -ENOMEM;
+		printk(KERN_ERR DRVNAME ": Device allocation failed (%d)\n",
+		       err);
+		goto exit;
+	}
+
+	err = platform_device_add(pdev);
+	if (err) {
+		printk(KERN_ERR DRVNAME ": Device addition failed (%d)\n",
+		       err);
+		goto exit_device_put;
+	}
+
+	return 0;
+
+exit_device_put:
+	platform_device_put(pdev);
+exit:
+	return err;
+}
+
+static int __init c7temp_init(void)
+{
+	int err = -ENODEV;
+	struct cpuinfo_x86 *c = &cpu_data(0);
+	unsigned int eax;
+
+	/* Check for VIA C7 CPU */
+	if (!(c->x86_vendor == X86_VENDOR_CENTAUR && c->x86 == 6 &&
+	      (c->x86_model == 0xa || c->x86_model == 0xd))) {
+		printk(KERN_ERR DRVNAME ": Unsupported CPU\n");
+		goto exit;
+	}
+
+	/* Check existence of performance data register */
+	eax = cpuid_eax(0xc0000000);
+	if (eax < 0xc0000002) {
+		printk(KERN_ERR DRVNAME ": Performance data register does not "
+		       "exist (0x%08x)\n", eax);
+		goto exit;
+	}
+
+	err = platform_driver_register(&c7temp_driver);
+	if (err)
+		goto exit;
+
+	err = c7temp_device_add();
+	if (err)
+		goto exit_driver_unregister;
+
+	return 0;
+
+exit_driver_unregister:
+	platform_driver_unregister(&c7temp_driver);
+exit:
+	return err;
+}
+
+static void __exit c7temp_exit(void)
+{
+	platform_device_unregister(pdev);
+	platform_driver_unregister(&c7temp_driver);
+}
+
+MODULE_AUTHOR("Juerg Haefliger <juergh@gmail.com>");
+MODULE_DESCRIPTION("VIA C7 core temperature and voltage monitor");
+MODULE_LICENSE("GPL");
+
+module_init(c7temp_init)
+module_exit(c7temp_exit)
Index: linux/Documentation/hwmon/c7temp
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ linux/Documentation/hwmon/c7temp	2008-06-19 15:52:02.000000000 -0700
@@ -0,0 +1,20 @@
+Kernel driver c7temp
+======================
+
+Supported chips:
+  * VIA C7
+    Prefix: 'c7temp'
+    CPUID: family 0x6, models 0xa, 0xd
+    Datasheet: Provided by VIA upon request and under NDA
+
+Authors:
+    Juerg Haefliger <juergh@gmail.com>
+
+
+Description
+-----------
+
+This driver permits reading the core temperature and voltage sensors embedded
+inside the VIA C7 CPU. Temperature is returned in millidegrees Celsius with a
+resolution of 1 degree C. Voltage is returned in millivolts with a resolution
+of 16 mV.
Index: linux/drivers/hwmon/Kconfig
===================================================================
--- linux.orig/drivers/hwmon/Kconfig	2008-06-17 17:54:58.000000000 -0700
+++ linux/drivers/hwmon/Kconfig	2008-06-19 16:06:34.000000000 -0700
@@ -643,6 +643,16 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called via686a.
 
+config SENSORS_C7TEMP
+	tristate "VIA C7 temperature sensor"
+	depends on X86 && EXPERIMENTAL
+	help
+	  If you say yes here you get support for the temperature and voltage
+	  sensors inside the VIA C7 CPU.
+
+	  This driver can also be built as a module. If so, the module will be
+	  called c7temp.
+
 config SENSORS_VT1211
 	tristate "VIA VT1211"
 	depends on EXPERIMENTAL
Index: linux/drivers/hwmon/Makefile
===================================================================
--- linux.orig/drivers/hwmon/Makefile	2008-06-17 17:57:18.000000000 -0700
+++ linux/drivers/hwmon/Makefile	2008-06-17 17:57:55.000000000 -0700
@@ -28,6 +28,7 @@
 obj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
 obj-$(CONFIG_SENSORS_AMS)	+= ams/
 obj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
+obj-$(CONFIG_SENSORS_C7TEMP)	+= c7temp.o
 obj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
 obj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
 obj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
@ 2008-06-21 19:49 ` Hans de Goede
  2008-06-22 20:50 ` Juerg Haefliger
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Hans de Goede @ 2008-06-21 19:49 UTC (permalink / raw)
  To: lm-sensors

Juerg Haefliger wrote:
> New driver to support temperature and voltage sensors embedded inside
> the VIA C7 CPU.
> 
> Sergio: Can you please test this patch?
> 
> Signed-off-by: Juerg Haefliger <juergh at gmail.com>
> 
> 

This driver sparked my interest (not that I own the relevant hardware it just 
did). So I gave it a quick look over, then seeing how simple it was I did a 
full review. No problems found so:
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>

Regards,

Hans

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
  2008-06-21 19:49 ` Hans de Goede
@ 2008-06-22 20:50 ` Juerg Haefliger
  2008-06-23  8:45 ` Jean Delvare
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-06-22 20:50 UTC (permalink / raw)
  To: lm-sensors

Thanks for the review, Hans. Much appreciated.

...juerg


On Sat, Jun 21, 2008 at 12:49 PM, Hans de Goede <j.w.r.degoede@hhs.nl> wrote:
> Juerg Haefliger wrote:
>>
>> New driver to support temperature and voltage sensors embedded inside
>> the VIA C7 CPU.
>>
>> Sergio: Can you please test this patch?
>>
>> Signed-off-by: Juerg Haefliger <juergh at gmail.com>
>>
>>
>
> This driver sparked my interest (not that I own the relevant hardware it
> just did). So I gave it a quick look over, then seeing how simple it was I
> did a full review. No problems found so:
> Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
>
> Regards,
>
> Hans
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
  2008-06-21 19:49 ` Hans de Goede
  2008-06-22 20:50 ` Juerg Haefliger
@ 2008-06-23  8:45 ` Jean Delvare
  2008-06-23 18:40 ` Juerg Haefliger
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jean Delvare @ 2008-06-23  8:45 UTC (permalink / raw)
  To: lm-sensors

Hi Juerg,

On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
> New driver to support temperature and voltage sensors embedded inside
> the VIA C7 CPU.
> 
> Sergio: Can you please test this patch?
> 
> Signed-off-by: Juerg Haefliger <juergh at gmail.com>

Care to add an entry for this in wiki/Devices?

Also, a patch for sensors-detect would be welcome.

Thanks,
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (2 preceding siblings ...)
  2008-06-23  8:45 ` Jean Delvare
@ 2008-06-23 18:40 ` Juerg Haefliger
  2008-06-24  6:27 ` Jean Delvare
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-06-23 18:40 UTC (permalink / raw)
  To: lm-sensors

Hi Jean,


> Hi Juerg,
>
> On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
>> New driver to support temperature and voltage sensors embedded inside
>> the VIA C7 CPU.
>>
>> Sergio: Can you please test this patch?
>>
>> Signed-off-by: Juerg Haefliger <juergh at gmail.com>
>
> Care to add an entry for this in wiki/Devices?

Yes, will do.


> Also, a patch for sensors-detect would be welcome.

Ditto.

...juerg


> Thanks,
> --
> Jean Delvare
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (3 preceding siblings ...)
  2008-06-23 18:40 ` Juerg Haefliger
@ 2008-06-24  6:27 ` Jean Delvare
  2008-06-26 15:26 ` Juerg Haefliger
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jean Delvare @ 2008-06-24  6:27 UTC (permalink / raw)
  To: lm-sensors

Hi Juerg,

On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
> New driver to support temperature and voltage sensors embedded inside
> the VIA C7 CPU.

Is it really an analog voltage sensor? Or does it simply reflect the
value of the VID pins? The conversion formula "(data->in << 4) + 700"
corresponds to VRM case 13 in hwmon-vid.c, which is what the C7 uses.
This makes me suspect that the latter is true. If I am right then the
attribute should be named cpuN_vid rather than in0_input.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (4 preceding siblings ...)
  2008-06-24  6:27 ` Jean Delvare
@ 2008-06-26 15:26 ` Juerg Haefliger
  2008-06-26 15:44 ` Jean Delvare
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-06-26 15:26 UTC (permalink / raw)
  To: lm-sensors

Hi Jean,


> Hi Juerg,
>
> On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
>> New driver to support temperature and voltage sensors embedded inside
>> the VIA C7 CPU.
>
> Is it really an analog voltage sensor? Or does it simply reflect the
> value of the VID pins? The conversion formula "(data->in << 4) + 700"
> corresponds to VRM case 13 in hwmon-vid.c, which is what the C7 uses.
> This makes me suspect that the latter is true. If I am right then the
> attribute should be named cpuN_vid rather than in0_input.

The datasheet states that this register value is a copy of the MSR
0x198 value (performance status register). The bios writting guide
labels 0x198 as 'current value'  whereas MSR 0x199 (performance
control register) is labeled as 'desired value'. Unless I'm
misinterpreting taiwanese english, I'd say it's a measured value :-)

...juerg



> --
> Jean Delvare
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (5 preceding siblings ...)
  2008-06-26 15:26 ` Juerg Haefliger
@ 2008-06-26 15:44 ` Jean Delvare
  2008-06-27 16:30 ` Juerg Haefliger
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jean Delvare @ 2008-06-26 15:44 UTC (permalink / raw)
  To: lm-sensors

On Thu, 26 Jun 2008 08:26:39 -0700, Juerg Haefliger wrote:
> > On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
> >> New driver to support temperature and voltage sensors embedded inside
> >> the VIA C7 CPU.
> >
> > Is it really an analog voltage sensor? Or does it simply reflect the
> > value of the VID pins? The conversion formula "(data->in << 4) + 700"
> > corresponds to VRM case 13 in hwmon-vid.c, which is what the C7 uses.
> > This makes me suspect that the latter is true. If I am right then the
> > attribute should be named cpuN_vid rather than in0_input.
> 
> The datasheet states that this register value is a copy of the MSR
> 0x198 value (performance status register). The bios writting guide
> labels 0x198 as 'current value'  whereas MSR 0x199 (performance
> control register) is labeled as 'desired value'. Unless I'm
> misinterpreting taiwanese english, I'd say it's a measured value :-)

Not necessarily. The CPU knows what voltage value it wants, and tells
that to the voltage regulation unit (through binary VID outputs). The
voltage regulation unit may allow the user to override the CPU voltage,
in either relative or absolute way. Then the voltage regulation unit
could export the actual VID value back to the CPU (through binary VID
inputs from the CPU's perspective.)

The best way to find out would be to check the CPU datasheet (if you
have it) to find out what pins are related to MSR 0x198. If the value
is obtained by analog-to-digital conversion of Vcore, you don't need
any dedicated pin on the CPU. If OTOH this is a feedback of the VID
value, then you should see 5 pins dedicated to VID input.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (6 preceding siblings ...)
  2008-06-26 15:44 ` Jean Delvare
@ 2008-06-27 16:30 ` Juerg Haefliger
  2008-07-02 10:31 ` Jean Delvare
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-06-27 16:30 UTC (permalink / raw)
  To: lm-sensors

>> >> New driver to support temperature and voltage sensors embedded inside
>> >> the VIA C7 CPU.
>> >
>> > Is it really an analog voltage sensor? Or does it simply reflect the
>> > value of the VID pins? The conversion formula "(data->in << 4) + 700"
>> > corresponds to VRM case 13 in hwmon-vid.c, which is what the C7 uses.
>> > This makes me suspect that the latter is true. If I am right then the
>> > attribute should be named cpuN_vid rather than in0_input.
>>
>> The datasheet states that this register value is a copy of the MSR
>> 0x198 value (performance status register). The bios writting guide
>> labels 0x198 as 'current value'  whereas MSR 0x199 (performance
>> control register) is labeled as 'desired value'. Unless I'm
>> misinterpreting taiwanese english, I'd say it's a measured value :-)
>
> Not necessarily. The CPU knows what voltage value it wants, and tells
> that to the voltage regulation unit (through binary VID outputs). The
> voltage regulation unit may allow the user to override the CPU voltage,
> in either relative or absolute way. Then the voltage regulation unit
> could export the actual VID value back to the CPU (through binary VID
> inputs from the CPU's perspective.)
>
> The best way to find out would be to check the CPU datasheet (if you
> have it) to find out what pins are related to MSR 0x198. If the value
> is obtained by analog-to-digital conversion of Vcore, you don't need
> any dedicated pin on the CPU. If OTOH this is a feedback of the VID
> value, then you should see 5 pins dedicated to VID input.

The datasheet isn't very elaborate on that topic but the CPU doesn't
have any VID inputs, only 6 outputs.

...juerg



> --
> Jean Delvare
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (7 preceding siblings ...)
  2008-06-27 16:30 ` Juerg Haefliger
@ 2008-07-02 10:31 ` Jean Delvare
  2008-07-03  5:39 ` Wilken Gottwalt
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jean Delvare @ 2008-07-02 10:31 UTC (permalink / raw)
  To: lm-sensors

Hi Juerg,

On Thu, 19 Jun 2008 16:20:34 -0700, Juerg Haefliger wrote:
> New driver to support temperature and voltage sensors embedded inside
> the VIA C7 CPU.
> 
> Sergio: Can you please test this patch?
> 
> Signed-off-by: Juerg Haefliger <juergh at gmail.com>

I had a colleague of mine (Cc'd, hi Wilken :)) test your driver. The
voltage part appears to work, we saw in0 change from 0.96 V at 800 MHz
to 1.00V at 1000 MHz. However the temperature is always reported as 0
degrees C. We dumped the value of eax after the cpuid() call and it's
0x0.

Does this mean that Wilken's CPU lacks the thermal diode? Or could this
be a bug in your driver? For reference, the CPU in question is:

processor	: 0
vendor_id	: CentaurHauls
cpu family	: 6
model		: 10
model name	: VIA Esther processor 1000MHz
stepping	: 9

If you need anything, just ask me or Wilken directly.

Thanks,
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (8 preceding siblings ...)
  2008-07-02 10:31 ` Jean Delvare
@ 2008-07-03  5:39 ` Wilken Gottwalt
  2008-07-04  7:07 ` Jean Delvare
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Wilken Gottwalt @ 2008-07-03  5:39 UTC (permalink / raw)
  To: lm-sensors

Am Mittwoch 02 Juli 2008 20:22:57 schrieb Juerg Haefliger:
> Hi Jean, Wilken,
>
> Thanks for testing the driver. Wilken, can you run the attached tool
> with and without the '-r' option and send the output? Your CPU should
> have the diode.
>
> ...juerg

Hi Juerg,

this is a really cute little app. Okay, here is the output.

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (9 preceding siblings ...)
  2008-07-03  5:39 ` Wilken Gottwalt
@ 2008-07-04  7:07 ` Jean Delvare
  2008-07-05 20:49 ` Juerg Haefliger
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jean Delvare @ 2008-07-04  7:07 UTC (permalink / raw)
  To: lm-sensors

On Thu, 3 Jul 2008 07:39:24 +0200, Wilken Gottwalt wrote:
> Am Mittwoch 02 Juli 2008 20:22:57 schrieb Juerg Haefliger:
> > Hi Jean, Wilken,
> >
> > Thanks for testing the driver. Wilken, can you run the attached tool
> > with and without the '-r' option and send the output? Your CPU should
> > have the diode.
> >
> > ...juerg
> 
> Hi Juerg,
> 
> this is a really cute little app. Okay, here is the output.

Err, where?

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (10 preceding siblings ...)
  2008-07-04  7:07 ` Jean Delvare
@ 2008-07-05 20:49 ` Juerg Haefliger
  2008-07-07  5:40 ` Wilken Gottwalt
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-07-05 20:49 UTC (permalink / raw)
  To: lm-sensors

Here it is:

   vendor_id = "CentaurHauls"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium Pro/II/III/Celeron, AMD
Athlon/Duron, Cyrix M2, VIA C3 (6)
      model           = 0xa (10)
      stepping id     = 0x9 (9)
      extended family = 0x0 (0)
      extended model  = 0x0 (0)
      (simple synth)  = VIA C7 / C7-M (Esther WinChip C5J core)
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x1 (1)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown
   feature information (1/edx):
      x87 FPU on chip                        = true
      virtual-8086 mode enhancement          = true
      debugging extensions                   = true
      page size extensions                   = true
      time stamp counter                     = true
      RDMSR and WRMSR support                = true
      physical address extensions            = true
      machine check exception                = true
      CMPXCHG8B inst.                        = true
      APIC on chip                           = true
      SYSENTER and SYSEXIT                   = true
      memory type range registers            = true
      PTE global bit                         = true
      machine check architecture             = false
      conditional move/compare instruction   = true
      page attribute table                   = true
      page size extension                    = false
      processor serial number                = false
      CLFLUSH instruction                    = true
      debug store                            = false
      thermal monitor and clock ctrl         = true
      MMX Technology                         = true
      FXSAVE/FXRSTOR                         = true
      SSE extensions                         = true
      SSE2 extensions                        = true
      self snoop                             = false
      hyper-threading / multi-core supported = false
      therm. monitor                         = false

According to the datasheet, this should be 'true'.


      IA64                                   = false
      pending break event                    = true
   feature information (1/ecx):
      PNI/SSE3: Prescott New Instructions    = true
      MONITOR/MWAIT                          = false
      CPL-qualified debug store              = false
      VMX: virtual machine extensions        = false
      Enhanced Intel SpeedStep Technology    = true
      thermal monitor 2                      = false

Same here.


      context ID: adaptive or shared L1 data = false
      cmpxchg16b available                   = false
      xTPR disable                           = false
   extended processor signature (0x80000001/eax):
      generation     = 0x0 (0)
      model          = 0x0 (0)
      stepping       = 0x0 (0)
      (simple synth) = unknown
   extended feature flags (0x80000001/edx):
      x87 FPU on chip                       = false
      virtual-8086 mode enhancement         = false
      debugging extensions                  = false
      page size extensions                  = false
      time stamp counter                    = false
      RDMSR and WRMSR support               = false
      physical address extensions           = false
      machine check exception               = false
      CMPXCHG8B inst.                       = false
      APIC on chip                          = false
      SYSCALL and SYSRET instructions       = false
      memory type range registers           = false
      global paging extension               = false
      machine check architecture            = false
      conditional move/compare instruction  = false
      page attribute table                  = false
      page size extension                   = false
      multiprocessing capable               = false
      AMD multimedia instruction extensions = false
      MMX Technology                        = false
      extended MMX                          = false
      SSE extensions                        = false
      AA-64                                 = false
      3DNow! instruction extensions         = false
      3DNow! instructions                   = false
   brand = "                   VIA Esther processor 1000MHz"
   L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = 0x0 (0)
      data # entries            = 0x0 (0)
      data associativity        = 0x0 (0)
   L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
      instruction # entries     = 0x80 (128)
      instruction associativity = 0x8 (8)
      data # entries            = 0x80 (128)
      data associativity        = 0x8 (8)
   L1 data cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x4 (4)
      size (Kb)         = 0x40 (64)
   L1 instruction cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x4 (4)
      size (Kb)         = 0x40 (64)
   L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 unified cache information (0x80000006/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0xa (10)
      size (Kb)         = 0x80 (128)
   0xc0000001: eax=0x00000000
   extended feature flags (0xc0000001/edx):
      alternate instruction set                 = false
      alternate instruction set enabled         = false
      random number generator                   = true
      random number generator enabled           = true
      LongHaul MSR 0000_110Ah                   = false
      FEMMS                                     = false
      advanced cryptography engine (ACE)        = true
      advanced cryptography engine (ACE)enabled = true
   0xc0000002: eax=0x00000000 ebx=0x08000810 ecx=0x08100a13 edx=0x42000000


Wilken, what motherboard is this? Are there any BIOS settings (thermal
management) that you can play around with? Try different thermal
management settings and rerun cpuid and check if the thermal monitors
show up as 'true'.
I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
difference between his dump and yours is that his shows 'true' for
both thermal monitors. Maybe your BIOS disables these features on your
CPU.

...juerg



On Fri, Jul 4, 2008 at 12:07 AM, Jean Delvare <khali@linux-fr.org> wrote:
> On Thu, 3 Jul 2008 07:39:24 +0200, Wilken Gottwalt wrote:
>> Am Mittwoch 02 Juli 2008 20:22:57 schrieb Juerg Haefliger:
>> > Hi Jean, Wilken,
>> >
>> > Thanks for testing the driver. Wilken, can you run the attached tool
>> > with and without the '-r' option and send the output? Your CPU should
>> > have the diode.
>> >
>> > ...juerg
>>
>> Hi Juerg,
>>
>> this is a really cute little app. Okay, here is the output.
>
> Err, where?
>
> --
> Jean Delvare
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (11 preceding siblings ...)
  2008-07-05 20:49 ` Juerg Haefliger
@ 2008-07-07  5:40 ` Wilken Gottwalt
  2008-07-07  6:11 ` Juerg Haefliger
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Wilken Gottwalt @ 2008-07-07  5:40 UTC (permalink / raw)
  To: lm-sensors

Am Samstag 05 Juli 2008 22:49:46 schrieb Juerg Haefliger:
> Here it is:
>
>    vendor_id = "CentaurHauls"
>    version information (1/eax):
>       processor type  = primary processor (0)
>       family          = Intel Pentium Pro/II/III/Celeron, AMD
> Athlon/Duron, Cyrix M2, VIA C3 (6)
>       model           = 0xa (10)
>       stepping id     = 0x9 (9)
>       extended family = 0x0 (0)
>       extended model  = 0x0 (0)
>       (simple synth)  = VIA C7 / C7-M (Esther WinChip C5J core)
>    miscellaneous (1/ebx):
>       process local APIC physical ID = 0x0 (0)
>       cpu count                      = 0x1 (1)
>       CLFLUSH line size              = 0x8 (8)
>       brand index                    = 0x0 (0)
>    brand id = 0x00 (0): unknown
>    feature information (1/edx):
>       x87 FPU on chip                        = true
>       virtual-8086 mode enhancement          = true
>       debugging extensions                   = true
>       page size extensions                   = true
>       time stamp counter                     = true
>       RDMSR and WRMSR support                = true
>       physical address extensions            = true
>       machine check exception                = true
>       CMPXCHG8B inst.                        = true
>       APIC on chip                           = true
>       SYSENTER and SYSEXIT                   = true
>       memory type range registers            = true
>       PTE global bit                         = true
>       machine check architecture             = false
>       conditional move/compare instruction   = true
>       page attribute table                   = true
>       page size extension                    = false
>       processor serial number                = false
>       CLFLUSH instruction                    = true
>       debug store                            = false
>       thermal monitor and clock ctrl         = true
>       MMX Technology                         = true
>       FXSAVE/FXRSTOR                         = true
>       SSE extensions                         = true
>       SSE2 extensions                        = true
>       self snoop                             = false
>       hyper-threading / multi-core supported = false
>       therm. monitor                         = false
>
> According to the datasheet, this should be 'true'.
>
>
>       IA64                                   = false
>       pending break event                    = true
>    feature information (1/ecx):
>       PNI/SSE3: Prescott New Instructions    = true
>       MONITOR/MWAIT                          = false
>       CPL-qualified debug store              = false
>       VMX: virtual machine extensions        = false
>       Enhanced Intel SpeedStep Technology    = true
>       thermal monitor 2                      = false
>
> Same here.
>
>
>       context ID: adaptive or shared L1 data = false
>       cmpxchg16b available                   = false
>       xTPR disable                           = false
>    extended processor signature (0x80000001/eax):
>       generation     = 0x0 (0)
>       model          = 0x0 (0)
>       stepping       = 0x0 (0)
>       (simple synth) = unknown
>    extended feature flags (0x80000001/edx):
>       x87 FPU on chip                       = false
>       virtual-8086 mode enhancement         = false
>       debugging extensions                  = false
>       page size extensions                  = false
>       time stamp counter                    = false
>       RDMSR and WRMSR support               = false
>       physical address extensions           = false
>       machine check exception               = false
>       CMPXCHG8B inst.                       = false
>       APIC on chip                          = false
>       SYSCALL and SYSRET instructions       = false
>       memory type range registers           = false
>       global paging extension               = false
>       machine check architecture            = false
>       conditional move/compare instruction  = false
>       page attribute table                  = false
>       page size extension                   = false
>       multiprocessing capable               = false
>       AMD multimedia instruction extensions = false
>       MMX Technology                        = false
>       extended MMX                          = false
>       SSE extensions                        = false
>       AA-64                                 = false
>       3DNow! instruction extensions         = false
>       3DNow! instructions                   = false
>    brand = "                   VIA Esther processor 1000MHz"
>    L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
>       instruction # entries     = 0x0 (0)
>       instruction associativity = 0x0 (0)
>       data # entries            = 0x0 (0)
>       data associativity        = 0x0 (0)
>    L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
>       instruction # entries     = 0x80 (128)
>       instruction associativity = 0x8 (8)
>       data # entries            = 0x80 (128)
>       data associativity        = 0x8 (8)
>    L1 data cache information (0x80000005/ecx):
>       line size (bytes) = 0x40 (64)
>       lines per tag     = 0x1 (1)
>       associativity     = 0x4 (4)
>       size (Kb)         = 0x40 (64)
>    L1 instruction cache information (0x80000005/ecx):
>       line size (bytes) = 0x40 (64)
>       lines per tag     = 0x1 (1)
>       associativity     = 0x4 (4)
>       size (Kb)         = 0x40 (64)
>    L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
>       instruction # entries     = 0x0 (0)
>       instruction associativity = L2 off (0)
>       data # entries            = 0x0 (0)
>       data associativity        = L2 off (0)
>    L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
>       instruction # entries     = 0x0 (0)
>       instruction associativity = L2 off (0)
>       data # entries            = 0x0 (0)
>       data associativity        = L2 off (0)
>    L2 unified cache information (0x80000006/ecx):
>       line size (bytes) = 0x40 (64)
>       lines per tag     = 0x1 (1)
>       associativity     = 0xa (10)
>       size (Kb)         = 0x80 (128)
>    0xc0000001: eax=0x00000000
>    extended feature flags (0xc0000001/edx):
>       alternate instruction set                 = false
>       alternate instruction set enabled         = false
>       random number generator                   = true
>       random number generator enabled           = true
>       LongHaul MSR 0000_110Ah                   = false
>       FEMMS                                     = false
>       advanced cryptography engine (ACE)        = true
>       advanced cryptography engine (ACE)enabled = true
>    0xc0000002: eax=0x00000000 ebx=0x08000810 ecx=0x08100a13 edx=0x42000000
>
>
> Wilken, what motherboard is this? Are there any BIOS settings (thermal
> management) that you can play around with? Try different thermal
> management settings and rerun cpuid and check if the thermal monitors
> show up as 'true'.
> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
> difference between his dump and yours is that his shows 'true' for
> both thermal monitors. Maybe your BIOS disables these features on your
> CPU.

It's the Artigo-Box from Via with a PX10000 board 
(http://www.via.com.tw/en/products/embedded/artigo/).
No, there are no bios settings dealing with thermal or power management. There 
is nothing I can play with. The bios is very rudimentary.

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (12 preceding siblings ...)
  2008-07-07  5:40 ` Wilken Gottwalt
@ 2008-07-07  6:11 ` Juerg Haefliger
  2008-07-07  6:41 ` Wilken Gottwalt
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-07-07  6:11 UTC (permalink / raw)
  To: lm-sensors

Wilken,


>> Wilken, what motherboard is this? Are there any BIOS settings (thermal
>> management) that you can play around with? Try different thermal
>> management settings and rerun cpuid and check if the thermal monitors
>> show up as 'true'.
>> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
>> difference between his dump and yours is that his shows 'true' for
>> both thermal monitors. Maybe your BIOS disables these features on your
>> CPU.
>
> It's the Artigo-Box from Via with a PX10000 board
> (http://www.via.com.tw/en/products/embedded/artigo/).
> No, there are no bios settings dealing with thermal or power management. There
> is nothing I can play with. The bios is very rudimentary.

Look at page 31 (CPU features) of the user's manual at
http://www.via.com.tw/en/products/mainboards/downloads.jsp?motherboard_idG2#Manual

...juerg

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (13 preceding siblings ...)
  2008-07-07  6:11 ` Juerg Haefliger
@ 2008-07-07  6:41 ` Wilken Gottwalt
  2008-07-07 17:29 ` Juerg Haefliger
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Wilken Gottwalt @ 2008-07-07  6:41 UTC (permalink / raw)
  To: lm-sensors

Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
> Wilken,
>
> >> Wilken, what motherboard is this? Are there any BIOS settings (thermal
> >> management) that you can play around with? Try different thermal
> >> management settings and rerun cpuid and check if the thermal monitors
> >> show up as 'true'.
> >> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
> >> difference between his dump and yours is that his shows 'true' for
> >> both thermal monitors. Maybe your BIOS disables these features on your
> >> CPU.
> >
> > It's the Artigo-Box from Via with a PX10000 board
> > (http://www.via.com.tw/en/products/embedded/artigo/).
> > No, there are no bios settings dealing with thermal or power management.
> > There is nothing I can play with. The bios is very rudimentary.
>
> Look at page 31 (CPU features) of the user's manual at
> http://www.via.com.tw/en/products/mainboards/downloads.jsp?motherboard_id=4
>72#Manual
>
> ...juerg

Did you ever saw a manual which was 100% identical with a bios? I saw about 30 
ones and no one was. With other words: these options are not available in the 
bios. I only have the two C7 options which are not working at all. :-/

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (14 preceding siblings ...)
  2008-07-07  6:41 ` Wilken Gottwalt
@ 2008-07-07 17:29 ` Juerg Haefliger
  2008-07-10  6:08 ` Wilken Gottwalt
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-07-07 17:29 UTC (permalink / raw)
  To: lm-sensors

Hi Wilken,


> Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
>> Wilken,
>>
>> >> Wilken, what motherboard is this? Are there any BIOS settings (thermal
>> >> management) that you can play around with? Try different thermal
>> >> management settings and rerun cpuid and check if the thermal monitors
>> >> show up as 'true'.
>> >> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
>> >> difference between his dump and yours is that his shows 'true' for
>> >> both thermal monitors. Maybe your BIOS disables these features on your
>> >> CPU.
>> >
>> > It's the Artigo-Box from Via with a PX10000 board
>> > (http://www.via.com.tw/en/products/embedded/artigo/).
>> > No, there are no bios settings dealing with thermal or power management.
>> > There is nothing I can play with. The bios is very rudimentary.
>>
>> Look at page 31 (CPU features) of the user's manual at
>> http://www.via.com.tw/en/products/mainboards/downloads.jsp?motherboard_id=4
>>72#Manual
>>
>> ...juerg
>
> Did you ever saw a manual which was 100% identical with a bios? I saw about 30
> ones and no one was.

Actually yes. All my BIOSes and manual match 100%.

> With other words: these options are not available in the
> bios. I only have the two C7 options which are not working at all. :-/

OK, didn't mean to imply that your incapable of navigating the BIOS
:-) Just making sure all the grounds are covered. I'm assuming you're
on the latest BIOS rev?

I'll try to get some answers from VIA but I'm out of ideas. Looks like
your CPU doesn't have those thermal sensors.

...juerg

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (15 preceding siblings ...)
  2008-07-07 17:29 ` Juerg Haefliger
@ 2008-07-10  6:08 ` Wilken Gottwalt
  2008-09-05 18:45 ` Forest Bond
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Wilken Gottwalt @ 2008-07-10  6:08 UTC (permalink / raw)
  To: lm-sensors

Am Montag 07 Juli 2008 19:29:00 schrieb Juerg Haefliger:
> Hi Wilken,
>
> > Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
> >> Wilken,
> >>
> >> >> Wilken, what motherboard is this? Are there any BIOS settings
> >> >> (thermal management) that you can play around with? Try different
> >> >> thermal management settings and rerun cpuid and check if the thermal
> >> >> monitors show up as 'true'.
> >> >> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
> >> >> difference between his dump and yours is that his shows 'true' for
> >> >> both thermal monitors. Maybe your BIOS disables these features on
> >> >> your CPU.
> >> >
> >> > It's the Artigo-Box from Via with a PX10000 board
> >> > (http://www.via.com.tw/en/products/embedded/artigo/).
> >> > No, there are no bios settings dealing with thermal or power
> >> > management. There is nothing I can play with. The bios is very
> >> > rudimentary.
> >>
> >> Look at page 31 (CPU features) of the user's manual at
> >> http://www.via.com.tw/en/products/mainboards/downloads.jsp?motherboard_i
> >>d=4 72#Manual
> >>
> >> ...juerg
> >
> > Did you ever saw a manual which was 100% identical with a bios? I saw
> > about 30 ones and no one was.
>
> Actually yes. All my BIOSes and manual match 100%.
>
> > With other words: these options are not available in the
> > bios. I only have the two C7 options which are not working at all. :-/
>
> OK, didn't mean to imply that your incapable of navigating the BIOS
>
> :-) Just making sure all the grounds are covered. I'm assuming you're
>
> on the latest BIOS rev?

Yes, I have the latest bios. The fun part is, the board had a more actual bios 
than the bios which was available on the homepage.


> I'll try to get some answers from VIA but I'm out of ideas. Looks like
> your CPU doesn't have those thermal sensors.

This is weird, it's a plain C7.


> ...juerg



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (16 preceding siblings ...)
  2008-07-10  6:08 ` Wilken Gottwalt
@ 2008-09-05 18:45 ` Forest Bond
  2008-09-07 18:32 ` Juerg Haefliger
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Forest Bond @ 2008-09-05 18:45 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1401 bytes --]

Hi,

On Thu, Jul 10, 2008 at 08:08:16AM +0200, Wilken Gottwalt wrote:
> Am Montag 07 Juli 2008 19:29:00 schrieb Juerg Haefliger:
> > > Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
> > >> >> Wilken, what motherboard is this? Are there any BIOS settings
> > >> >> (thermal management) that you can play around with? Try different
> > >> >> thermal management settings and rerun cpuid and check if the thermal
> > >> >> monitors show up as 'true'.
> > >> >> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
> > >> >> difference between his dump and yours is that his shows 'true' for
> > >> >> both thermal monitors. Maybe your BIOS disables these features on
> > >> >> your CPU.
> > >> >
> > >> > It's the Artigo-Box from Via with a PX10000 board
> > >> > (http://www.via.com.tw/en/products/embedded/artigo/).
> > >> > No, there are no bios settings dealing with thermal or power
> > >> > management. There is nothing I can play with. The bios is very
> > >> > rudimentary.

[...]

> > I'll try to get some answers from VIA but I'm out of ideas. Looks like
> > your CPU doesn't have those thermal sensors.
> 
> This is weird, it's a plain C7.

Anybody get anywhere with this?  I'm trying to get some useful data out of the
Pico-ITX boards as well.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (17 preceding siblings ...)
  2008-09-05 18:45 ` Forest Bond
@ 2008-09-07 18:32 ` Juerg Haefliger
  2008-09-12 13:59 ` Marco Chiappero
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-09-07 18:32 UTC (permalink / raw)
  To: lm-sensors

Hi Forest,


On Fri, Sep 5, 2008 at 11:45 AM, Forest Bond <forest@alittletooquiet.net> wrote:
> Hi,
>
> On Thu, Jul 10, 2008 at 08:08:16AM +0200, Wilken Gottwalt wrote:
>> Am Montag 07 Juli 2008 19:29:00 schrieb Juerg Haefliger:
>> > > Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
>> > >> >> Wilken, what motherboard is this? Are there any BIOS settings
>> > >> >> (thermal management) that you can play around with? Try different
>> > >> >> thermal management settings and rerun cpuid and check if the thermal
>> > >> >> monitors show up as 'true'.
>> > >> >> I have a cpuid dump from Sergio (C7 on a LN10000 board) and the only
>> > >> >> difference between his dump and yours is that his shows 'true' for
>> > >> >> both thermal monitors. Maybe your BIOS disables these features on
>> > >> >> your CPU.
>> > >> >
>> > >> > It's the Artigo-Box from Via with a PX10000 board
>> > >> > (http://www.via.com.tw/en/products/embedded/artigo/).
>> > >> > No, there are no bios settings dealing with thermal or power
>> > >> > management. There is nothing I can play with. The bios is very
>> > >> > rudimentary.
>
> [...]
>
>> > I'll try to get some answers from VIA but I'm out of ideas. Looks like
>> > your CPU doesn't have those thermal sensors.
>>
>> This is weird, it's a plain C7.
>
> Anybody get anywhere with this?  I'm trying to get some useful data out of the
> Pico-ITX boards as well.

Yes I did receive some information from VIA but I haven't had a chance
yet to fully digest it. From the quick glance that I took, it looks
like there are different C7 models and the thermal sensors are
disabled depending on the model. VIA provided some sample BIOS code
but I need to take a closer look to fully understand it. More later.

...juerg



> Thanks,
> Forest
> --

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (18 preceding siblings ...)
  2008-09-07 18:32 ` Juerg Haefliger
@ 2008-09-12 13:59 ` Marco Chiappero
  2008-09-27 20:57 ` Forest Bond
  2008-09-29 14:58 ` Juerg Haefliger
  21 siblings, 0 replies; 23+ messages in thread
From: Marco Chiappero @ 2008-09-12 13:59 UTC (permalink / raw)
  To: lm-sensors

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

 > I had a colleague of mine (Cc'd, hi Wilken :)) test your driver. The
 > voltage part appears to work, we saw in0 change from 0.96 V at 800 MHz
 > to 1.00V at 1000 MHz. However the temperature is always reported as 0
 > degrees C. We dumped the value of eax after the cpuid() call and it's
 > 0x0.
 >
 > Does this mean that Wilken's CPU lacks the thermal diode? Or could
 > this
 > be a bug in your driver? For reference, the CPU in question is:
 >
 > processor  	: 0
 > vendor_id	: CentaurHauls
 > cpu family	: 6
 > model		: 10
 > model name	: VIA Esther processor 1000MHz
 > stepping	: 9

Same thing here with the same CPU on a VIA EPIA SN10000EG motherboard. 
However I have CPU temperature reading through the SCH3112 chip.

vulcano:/usr/src ~> sensors
sch311x-isa-0a70
Adapter: ISA adapter
V5stby:      +0.00 V  (min =  +0.00 V, max =  +6.64 V)   ALARM
Vccp:        +0.95 V  (min =  +0.00 V, max =  +1.99 V)
V3.3:        +3.27 V  (min =  +0.00 V, max =  +4.38 V)
V5:          +4.99 V  (min =  +0.00 V, max =  +6.64 V)
V12:        +12.19 V  (min =  +0.00 V, max = +15.94 V)
V3.3stby:    +3.30 V  (min =  +0.00 V, max =  +4.38 V)
Vbat:        +3.18 V  (min =  +0.00 V, max =  +4.38 V)
Case Fan:   1088 RPM  (min =    0 RPM)
PSU  Fan:   1459 RPM  (min =    0 RPM)
CPU Temp:    +47.2°C  (low  = -127.0°C, high = +127.0°C)
Int Temp:    +35.8°C  (low  = -127.0°C, high = +127.0°C)
NB  Temp:    +34.5°C  (low  = -127.0°C, high = +127.0°C)

c7temp-isa-0000
Adapter: ISA adapter
in0:         +0.96 V
temp1:        +0.0°C

Cpuid output attached


Regards,
Marco

[-- Attachment #2: cpuid-c7 --]
[-- Type: text/plain, Size: 7613 bytes --]

vulcano:/usr/src/cpuid-20060917 ~> ./cpuid
CPU:
   vendor_id = "CentaurHauls"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium Pro/II/III/Celeron, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)
      model           = 0xa (10)
      stepping id     = 0x9 (9)
      extended family = 0x0 (0)
      extended model  = 0x0 (0)
      (simple synth)  = VIA C7 / C7-M (Esther WinChip C5J core)
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x1 (1)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown
   feature information (1/edx):
      x87 FPU on chip                        = true
      virtual-8086 mode enhancement          = true
      debugging extensions                   = true
      page size extensions                   = true
      time stamp counter                     = true
      RDMSR and WRMSR support                = true
      physical address extensions            = true
      machine check exception                = true
      CMPXCHG8B inst.                        = true
      APIC on chip                           = true
      SYSENTER and SYSEXIT                   = true
      memory type range registers            = true
      PTE global bit                         = true
      machine check architecture             = false
      conditional move/compare instruction   = true
      page attribute table                   = true
      page size extension                    = false
      processor serial number                = false
      CLFLUSH instruction                    = true
      debug store                            = false
      thermal monitor and clock ctrl         = true
      MMX Technology                         = true
      FXSAVE/FXRSTOR                         = true
      SSE extensions                         = true
      SSE2 extensions                        = true
      self snoop                             = false
      hyper-threading / multi-core supported = false
      therm. monitor                         = true
      IA64                                   = false
      pending break event                    = true
   feature information (1/ecx):
      PNI/SSE3: Prescott New Instructions    = true
      MONITOR/MWAIT                          = false
      CPL-qualified debug store              = false
      VMX: virtual machine extensions        = false
      Enhanced Intel SpeedStep Technology    = true
      thermal monitor 2                      = true
      context ID: adaptive or shared L1 data = false
      cmpxchg16b available                   = false
      xTPR disable                           = false
   extended processor signature (0x80000001/eax):
      generation     = 0x0 (0)
      model          = 0x0 (0)
      stepping       = 0x0 (0)
      (simple synth) = unknown
   extended feature flags (0x80000001/edx):
      x87 FPU on chip                       = false
      virtual-8086 mode enhancement         = false
      debugging extensions                  = false
      page size extensions                  = false
      time stamp counter                    = false
      RDMSR and WRMSR support               = false
      physical address extensions           = false
      machine check exception               = false
      CMPXCHG8B inst.                       = false
      APIC on chip                          = false
      SYSCALL and SYSRET instructions       = false
      memory type range registers           = false
      global paging extension               = false
      machine check architecture            = false
      conditional move/compare instruction  = false
      page attribute table                  = false
      page size extension                   = false
      multiprocessing capable               = false
      AMD multimedia instruction extensions = false
      MMX Technology                        = false
      extended MMX                          = false
      SSE extensions                        = false
      AA-64                                 = false
      3DNow! instruction extensions         = false
      3DNow! instructions                   = false
   brand = "                   VIA Esther processor 1000MHz"
   L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = 0x0 (0)
      data # entries            = 0x0 (0)
      data associativity        = 0x0 (0)
   L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
      instruction # entries     = 0x80 (128)
      instruction associativity = 0x8 (8)
      data # entries            = 0x80 (128)
      data associativity        = 0x8 (8)
   L1 data cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x4 (4)
      size (Kb)         = 0x40 (64)
   L1 instruction cache information (0x80000005/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0x4 (4)
      size (Kb)         = 0x40 (64)
   L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 unified cache information (0x80000006/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x1 (1)
      associativity     = 0xa (10)
      size (Kb)         = 0x80 (128)
   0xc0000001: eax=0x00000000
   extended feature flags (0xc0000001/edx):
      alternate instruction set                 = false
      alternate instruction set enabled         = false
      random number generator                   = true
      random number generator enabled           = true
      LongHaul MSR 0000_110Ah                   = false
      FEMMS                                     = false
      advanced cryptography engine (ACE)        = true
      advanced cryptography engine (ACE)enabled = true
   0xc0000002: eax=0x00000000 ebx=0x08000810 ecx=0x08100a13 edx=0x42000000
   (multi-processing synth): none
   (synth) = VIA C7 / C7-M (Esther WinChip C5J core)

vulcano:/usr/src/cpuid-20060917 ~> ./cpuid -r
CPU:
   0x00000000: eax=0x00000001 ebx=0x746e6543 ecx=0x736c7561 edx=0x48727561
   0x00000001: eax=0x000006a9 ebx=0x00010800 ecx=0x00000181 edx=0xa7c9bbff
   0x80000000: eax=0x80000006 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80000001: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00100000
   0x80000002: eax=0x20202020 ebx=0x20202020 ecx=0x20202020 edx=0x20202020
   0x80000003: eax=0x56202020 ebx=0x45204149 ecx=0x65687473 edx=0x72702072
   0x80000004: eax=0x7365636f ebx=0x20726f73 ecx=0x30303031 edx=0x007a484d
   0x80000005: eax=0x00000000 ebx=0x08800880 ecx=0x40040140 edx=0x40040140
   0x80000006: eax=0x00000000 ebx=0x00000000 ecx=0x0080a140 edx=0x00000000
   0x80860000: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0xc0000000: eax=0xc0000002 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0xc0000001: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00003fcc
   0xc0000002: eax=0x00000000 ebx=0x08000810 ecx=0x08100a13 edx=0x42000000


[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (19 preceding siblings ...)
  2008-09-12 13:59 ` Marco Chiappero
@ 2008-09-27 20:57 ` Forest Bond
  2008-09-29 14:58 ` Juerg Haefliger
  21 siblings, 0 replies; 23+ messages in thread
From: Forest Bond @ 2008-09-27 20:57 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1490 bytes --]

Hi Juerg,

On Sun, Sep 07, 2008 at 11:32:17AM -0700, Juerg Haefliger wrote:
> On Fri, Sep 5, 2008 at 11:45 AM, Forest Bond <forest@alittletooquiet.net> wrote:
>> On Thu, Jul 10, 2008 at 08:08:16AM +0200, Wilken Gottwalt wrote:
>>> Am Montag 07 Juli 2008 19:29:00 schrieb Juerg Haefliger:
>>>>> Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
>>>>>>> It's the Artigo-Box from Via with a PX10000 board
>>>>>>> (http://www.via.com.tw/en/products/embedded/artigo/).
>>>>>>> No, there are no bios settings dealing with thermal or power
>>>>>>> management. There is nothing I can play with. The bios is very
>>>>>>> rudimentary.

[...]

>>>> I'll try to get some answers from VIA but I'm out of ideas. Looks like
>>>> your CPU doesn't have those thermal sensors.
>>>
>>> This is weird, it's a plain C7.
>>
>> Anybody get anywhere with this?  I'm trying to get some useful data out of the
>> Pico-ITX boards as well.
> 
> Yes I did receive some information from VIA but I haven't had a chance
> yet to fully digest it. From the quick glance that I took, it looks
> like there are different C7 models and the thermal sensors are
> disabled depending on the model. VIA provided some sample BIOS code
> but I need to take a closer look to fully understand it. More later.

Just following up.  Anything new to report here?  Can I do anything to help get
this moving?

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU
  2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
                   ` (20 preceding siblings ...)
  2008-09-27 20:57 ` Forest Bond
@ 2008-09-29 14:58 ` Juerg Haefliger
  21 siblings, 0 replies; 23+ messages in thread
From: Juerg Haefliger @ 2008-09-29 14:58 UTC (permalink / raw)
  To: lm-sensors

Hi Forest,

Well the bottom line is that the value returned in the EAX register
(0xC000002) is zero for all of these cases where people report 0 C CPU
temp. I haven't had the time yet to figure out what is different about
these CPUs and why they don't seem to adhere to the spec that I have.
One possibility is that my spec is old and things changed in the
meantime and another one is that the BIOS disables the thermal diodes
in the CPU. I have some sample BIOS code from VIA which does that but
I haven't had the time yet to figure out if that applies in this case.

...juerg


On Sat, Sep 27, 2008 at 1:57 PM, Forest Bond <forest@alittletooquiet.net> wrote:
> Hi Juerg,
>
> On Sun, Sep 07, 2008 at 11:32:17AM -0700, Juerg Haefliger wrote:
>> On Fri, Sep 5, 2008 at 11:45 AM, Forest Bond <forest@alittletooquiet.net> wrote:
>>> On Thu, Jul 10, 2008 at 08:08:16AM +0200, Wilken Gottwalt wrote:
>>>> Am Montag 07 Juli 2008 19:29:00 schrieb Juerg Haefliger:
>>>>>> Am Montag 07 Juli 2008 08:11:02 schrieb Juerg Haefliger:
>>>>>>>> It's the Artigo-Box from Via with a PX10000 board
>>>>>>>> (http://www.via.com.tw/en/products/embedded/artigo/).
>>>>>>>> No, there are no bios settings dealing with thermal or power
>>>>>>>> management. There is nothing I can play with. The bios is very
>>>>>>>> rudimentary.
>
> [...]
>
>>>>> I'll try to get some answers from VIA but I'm out of ideas. Looks like
>>>>> your CPU doesn't have those thermal sensors.
>>>>
>>>> This is weird, it's a plain C7.
>>>
>>> Anybody get anywhere with this?  I'm trying to get some useful data out of the
>>> Pico-ITX boards as well.
>>
>> Yes I did receive some information from VIA but I haven't had a chance
>> yet to fully digest it. From the quick glance that I took, it looks
>> like there are different C7 models and the thermal sensors are
>> disabled depending on the model. VIA provided some sample BIOS code
>> but I need to take a closer look to fully understand it. More later.
>
> Just following up.  Anything new to report here?  Can I do anything to help get
> this moving?
>
> Thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.pytagsfs.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFI3p5ARO4fQQdv5AwRAqquAJ4/oa5K/MORHW/7UJCXjMHVlIg78ACgnzjr
> GLguLdY0Yb80I+ZFGL/BeRI> =o0oK
> -----END PGP SIGNATURE-----
>
>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2008-09-29 14:58 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 23:20 [lm-sensors] [PATCH] hwmon (c7temp): new driver for VIA C7 CPU Juerg Haefliger
2008-06-21 19:49 ` Hans de Goede
2008-06-22 20:50 ` Juerg Haefliger
2008-06-23  8:45 ` Jean Delvare
2008-06-23 18:40 ` Juerg Haefliger
2008-06-24  6:27 ` Jean Delvare
2008-06-26 15:26 ` Juerg Haefliger
2008-06-26 15:44 ` Jean Delvare
2008-06-27 16:30 ` Juerg Haefliger
2008-07-02 10:31 ` Jean Delvare
2008-07-03  5:39 ` Wilken Gottwalt
2008-07-04  7:07 ` Jean Delvare
2008-07-05 20:49 ` Juerg Haefliger
2008-07-07  5:40 ` Wilken Gottwalt
2008-07-07  6:11 ` Juerg Haefliger
2008-07-07  6:41 ` Wilken Gottwalt
2008-07-07 17:29 ` Juerg Haefliger
2008-07-10  6:08 ` Wilken Gottwalt
2008-09-05 18:45 ` Forest Bond
2008-09-07 18:32 ` Juerg Haefliger
2008-09-12 13:59 ` Marco Chiappero
2008-09-27 20:57 ` Forest Bond
2008-09-29 14:58 ` Juerg Haefliger

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.