From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] how to choose the right sensor with an asus
Date: Sun, 02 Dec 2007 10:41:14 +0000 [thread overview]
Message-ID: <20071202114114.7cf42951@hyperion.delvare> (raw)
In-Reply-To: <47447DA9.3090701@free.fr>
On Wed, 21 Nov 2007 19:49:13 +0100, Moebius wrote:
> Bonjour,
> I've recently bought this config : athlon64 x2 4400+ and the asus
> M2NPV-VM board.
> There is 4 fan plugs on the board, but only two are connected, the cpu's
> one and the power one (with just 2 wires)
>
> Sensors-detect give me this output :
>
> Driver `smartbatt' (should be inserted):
> Detects correctly:
> * Bus `NVIDIA i2c adapter '
> Busdriver `UNKNOWN', I2C address 0x0b
> Chip `Smart Battery' (confidence: 5)
>
> Driver `it87' (should be inserted):
> Detects correctly:
> * ISA bus, address 0x290
> Chip `ITE IT8716F Super IO Sensors' (confidence: 9)
>
> Driver `k8temp' (should be inserted):
> Detects correctly:
> * Chip `AMD K8 thermal sensors' (confidence: 9)
>
> So I insert the two modules needed (it87 and k8temp)
>
> I'm following an ubuntu tuto here (in french... ) :
> http://doc.ubuntu-fr.org/materiel/sensors
>
> Well, then I try pwmconfig and it become very difficult :
>
> First, jit's not too bad :
>
> Found the following devices:
> hwmon0/device is k8temp
> hwmon1/device is it8716
>
> Found the following PWM controls:
> hwmon1/device/pwm1
> hwmon1/device/pwm2
> hwmon1/device/pwm3
>
> Found the following fan sensors:
> hwmon1/device/fan1_input current speed: 3082 RPM
> hwmon1/device/fan2_input current speed: 0 ... skipping!
> hwmon1/device/fan3_input current speed: 1646 RPM
>
> But when I try the command sensors to see which are the cpu sensor, the
> mb sensor ... I get something a bit confusing :
You're doing things the wrong way around: you should first check the
values returned by "sensors", and only when you have made sense out of
them, try to play with pwmconfig. You just can't configure fan speed
control properly it you don't know what temperature values can be
trusted and what they correspond to.
>
> k8temp-pci-00c3
> Adapter: PCI adapter
> Core0 Temp:
> -6°C
> Core0 Temp:
> -11°C
> Core1 Temp:
> +5°C
> Core1 Temp:
> -13°C
Recent K8 CPUs have been reported to have broken thermal diodes. This
seems to be the case for you, so there's no point in using the k8temp
driver. Blacklist it to prevent it from auto-loading.
Rudolf, is it possible to detect these CPU models by their CPUID and
exclude them from the k8temp driver? This would save a lot of user
confusion.
>
> it8716-isa-0290
> Adapter: ISA adapter
> VCore: +1.02 V (min = +0.00 V, max = +4.08 V)
> VDDR: +3.31 V (min = +0.00 V, max = +4.08 V)
> +3.3V: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
> +5V: +4.84 V (min = +0.00 V, max = +6.85 V)
> +12V: +11.46 V (min = +0.00 V, max = +16.32 V)
> in5: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
> in6: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
> 5VSB: +4.73 V (min = +0.00 V, max = +6.85 V)
> VBat: +2.90 V
> fan1: 3096 RPM (min = 3245 RPM) ALARM
> fan2: 0 RPM (min = 3245 RPM) ALARM
> fan3: 1646 RPM (min = 0 RPM)
> temp1: +16°C (low = -1°C, high = +127°C) sensor = diode
> temp2: +31°C (low = -1°C, high = +127°C) sensor = thermistor
> temp3: +25°C (low = -1°C, high = +127°C) sensor = thermistor
> vid: +0.000 V
>
> So I can't determine the sensor to assign the cpu fan, cause I can't see
> which is the good cpu temperature.
Which temperature sensor corresponds to what is motherboard-dependent.
Same for fans. The easiest way to find out which is which is to take a
look in the BIOS setup screen at boot time. The numbers should somewhat
match what you see in "sensors" and the order of the values might be a
valuable hint as well.
For voltages, it appears that in2, in5 and in6 are not wired, and +3.3V
is connected to in1, so you should tweak the it8716-* section of
sensors.conf in the following way:
label in1 "+3.3V"
ignore in2
ignore in5
ignore in6
The rest looks OK, except that +5V and +12V are a bit low - maybe the
scaling factors on your board diverge a bit compared to the standard
values. Or maybe your PSU is not sufficient for your setup. Again, a
comparison with what the BIOS displays can help.
Only once the output of "sensors" looks correct, you can try pwmconfig.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2007-12-02 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 18:49 [lm-sensors] how to choose the right sensor with an asus M2NPV-VM Moebius
2007-11-21 21:52 ` [lm-sensors] how to choose the right sensor with an asus Moebius
2007-11-23 10:51 ` Moebius
2007-12-02 10:41 ` Jean Delvare [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=20071202114114.7cf42951@hyperion.delvare \
--to=khali@linux-fr.org \
--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.