Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > a412ceb851151854794ced2a242192bb > files > 1542

howto-html-fr-20080722-1mdv2010.0.noarch.rpm

<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>3.&nbsp;Les capteurs de la carte m&egrave;re</title><link href="style.css" rel="stylesheet" type="text/css"><meta content="DocBook XSL Stylesheets V1.68.1" name="generator"><link rel="start" href="index.html" title="

Guide pratique d'utilisation de la carte m&egrave;re Elite K7s5a sous Linux

"><link rel="up" href="index.html" title="

Guide pratique d'utilisation de la carte m&egrave;re Elite K7s5a sous Linux

"><link rel="prev" href="ar01s02.html" title="2.&nbsp;La carte son int&eacute;gr&eacute;e"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">3.&nbsp;Les capteurs de la carte m&egrave;re</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="ar01s02.html">Pr&eacute;c&eacute;dent</a>&nbsp;</td><th align="center" width="60%">&nbsp;</th><td align="right" width="20%">&nbsp;</td></tr></table><hr></div><div class="sect1" lang="fr"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="N10064"></a>3.&nbsp;Les capteurs de la carte m&egrave;re</h2></div></div></div><div class="sect2" lang="fr"><div class="titlepage"><div><div><h3 class="title"><a name="N10067"></a>3.1.&nbsp;Obtention des pilotes</h3></div></div></div><p>

Il est <span class="emphasis"><em>imp&eacute;ratif</em></span> de prendre lm_sensors 2.6.2 
ou plus r&eacute;cent&nbsp;: <a href="http://www.lm-sensors.nu/archive/lm_sensors-2.6.2.tar.gz" target="_top">http://www.lm-sensors.nu/archive/lm_sensors-2.6.2.tar.gz</a>

</p><p>

Il vous faudra aussi les sources du noyau voir la rubrique 
&laquo;&nbsp;<span class="quote">Obtention des pilotes</span>&nbsp;&raquo; pour &laquo;&nbsp;<span class="quote">la carte son 
int&eacute;gr&eacute;e</span>&nbsp;&raquo;

</p></div><div class="sect2" lang="fr"><div class="titlepage"><div><div><h3 class="title"><a name="N1007A"></a>3.2.&nbsp;Installation</h3></div></div></div><pre class="programlisting">
tar -xzvf i2c-2.6.2.tar.gz
cd i2c-2.6.2
make &amp;&amp; make install
</pre><p>

Ensuite, j'ai eut un probl&egrave;me en faisant 
<code class="literal">make&nbsp;install</code>, donc si cela ne marche pas pour 
vous non plus, faites les commandes suivantes&nbsp;:

</p><pre class="programlisting">
cp kernel/i2c-core.o /lib/modules/`uname -r`/misc/i2c-core.o
cp kernel/i2c-proc.o /lib/modules/`uname -r`/misc/i2c-proc.o
cp kernel/chips/it87.o /lib/modules/`uname -r`/misc/it87.o
</pre><p>

ok, maintenant copie du programme sensors&nbsp;:

</p><pre class="programlisting">
cp prog/sensors/sensors /usr/bin/sensors
</pre><p>

&Eacute;ditez alors <code class="filename">/etc/modules.conf</code> et ajoutez lui ces 
lignes&nbsp;:

</p><pre class="programlisting">
alias char-major-89 i2c-dev
options it87 temp_type=0x31
</pre><p>
effectuez alors&nbsp;:
</p><pre class="programlisting">
modprobe i2c-proc
modprobe it87
modprobe i2c-isa
sensors
</pre><p>

Et l&agrave;, miracle&nbsp;! &Ccedil;a devrait fonctionner.

</p><p>

Sous le compte root, vous devriez &eacute;diter le 
<code class="filename">/etc/sensors.conf</code> la ligne contenant&nbsp;: 
<code class="literal">chip "it87-*"</code> et les suivantes permettent de modifier 
les r&eacute;glages pour obtenir les bons r&eacute;sultats, voici une copie de cette 
partie modifi&eacute;e de mon fichier (temp1 ne correspond &agrave; rien de pr&eacute;cis, 
seul temp2 et temp3 fonctionnent).

</p><pre class="programlisting">
chip "it87-*"
# The values below have been tested on Asus CUSI, CUM motherboards.
# Voltage monitors as advised in the It8705 data sheet
label in0 "VCore"
label in1 "Vcc2.5v"
label in2 "Vcc5v"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"
label in7 "SB 5V"
label in8 "V battery"
set in0_min 1.5 * 0.95
set in0_max 1.5 * 1.05
set in1_min 2.4
set in1_max 2.6
set in2_min 3.3 * 0.95
set in2_max 3.3 * 1.05
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12 * 0.95
set in4_max 12 * 1.05
set in5_min -12 * 0.95
set in5_max -12 * 1.05
set in6_min -5 * 0.95
set in6_max -5 * 1.05
set in7_min 5 * 0.95
set in7_max 5 * 1.05
# vid not monitored by IT8705F
ignore  vid
# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
compute in2 (1 + 1)*@ ,       @/(1 + 1)
compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
compute in4 ((30/10) +1)*@  , @/((30/10) +1)
# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like&nbsp;:
compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
#
compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
# Temperature
label temp3       "Processor"
set   temp3_over  40
set   temp3_hyst  20
label temp2       "Mainboard"
set   temp2_over  45
set   temp2_hyst  25
ignore temp1
# Fans
label fan1"Processor's Fan"
set fan1_min 2000
ignore fan3
ignore fan2
</pre></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ar01s02.html">Pr&eacute;c&eacute;dent</a>&nbsp;</td><td align="center" width="20%">&nbsp;</td><td align="right" width="40%">&nbsp;</td></tr><tr><td valign="top" align="left" width="40%">2.&nbsp;La carte son int&eacute;gr&eacute;e&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html">Sommaire</a></td><td valign="top" align="right" width="40%">&nbsp;</td></tr></table></div></body></html>