Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

i2c et lm_sensors

6 réponses
Avatar
Zanton
Bonjour,

j'ai vu que pour pouvoir avoir la température du proc et de la
carte-mère, il fallait compiler les modules dans le noyau pour les
versions 2.6.x (je compte utiliser torsmo) Je chercher des explications
ou un tuto qui donne les réglages à effectuer dans la configuration du
noyau pour pouvoir en profiter car je n'ai rien trouver de très probant
sur le net :s Et qui précise ensuite quels modules chargés pour que ça
soit fonctionnel. Ma carte mère est une Asus P4PE-X et mon proc un P4 2.4.

Merci de votre aide !

--
Zanton

6 réponses

Avatar
Stef_SM
utiliser torsmo) Je chercher des explications ou un tuto qui donne les
réglages à effectuer dans la configuration du noyau pour pouvoir en profiter


As-tu lu le readme fourni avec les sources de lm_sensors ? Il y a tout
dedans. Qu'est-ce que tu ne comprends pas ?

--
Stef

Avatar
Zanton
utiliser torsmo) Je chercher des explications ou un tuto qui donne les
réglages à effectuer dans la configuration du noyau pour pouvoir en
profiter



As-tu lu le readme fourni avec les sources de lm_sensors ? Il y a tout
dedans. Qu'est-ce que tu ne comprends pas ?



En fait, je suis en SID et j'ai installé le paquet pour Debian. Mais
j'ai un problème quand je lance sensors-detect :

# sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801DB ICH4
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no):
FATAL: Module i2c_dev not found.
Loading failed, expect problems later on.

We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).

Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83627HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x87)
Probing for `Winbond W83L517D Super IO'
Failed! (0x87)

Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)

Sorry, no chips were detected.
Either your sensors are not supported, or they are
connected to an I2C bus adapter that we do not support.
See doc/FAQ, doc/lm_sensors-FAQ.html, or
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.(...)
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, see
http://secure.netroedge.com/~lm78/newdrivers.html(...) for driver status.

J'ai visiblement un problème au niveau d'un module qui n'est pas chargé
(je ne crois pas avoir i2c d'installer mais est-ce nécessaire ?) mais
ensuite il ne détecte rien. Ce qui m'étonne, c'est que j'utilise aussi
un autre petit programme, xmbmon qui me permet d'avoir la température du
proc et de la carte mère aussi donc ces infos doivent bien être dispos
mais je ne trouve pas ce programme très ergonomique et je préférais
utiliser torsmo.

Merci pour l'aide.


--
Zanton


Avatar
ggcom
il faut installer les modules pour ton noyau
i2c-<version de ton noyau>
et
lm-sensors-<version de ton noyau>

Zanton écrit:

utiliser torsmo) Je chercher des explications ou un tuto qui donne les
réglages à effectuer dans la configuration du noyau pour pouvoir e n
profiter



As-tu lu le readme fourni avec les sources de lm_sensors ? Il y a tout
dedans. Qu'est-ce que tu ne comprends pas ?



En fait, je suis en SID et j'ai installé le paquet pour Debian. Mais
j'ai un problème quand je lance sensors-detect :

# sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801DB ICH4
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no):
FATAL: Module i2c_dev not found.
Loading failed, expect problems later on.

We are now going to do the adapter probings. Some adapters may hang halfw ay
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you c an
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).

Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83627HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83637HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x87)
Probing for `Winbond W83697SF/UF Super IO PWM'
Failed! (0x87)
Probing for `Winbond W83L517D Super IO'
Failed! (0x87)

Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)

Sorry, no chips were detected.
Either your sensors are not supported, or they are
connected to an I2C bus adapter that we do not support.
See doc/FAQ, doc/lm_sensors-FAQ.html, or
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.(...)
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, see
http://secure.netroedge.com/~lm78/newdrivers.html(...) for driver status.

J'ai visiblement un problème au niveau d'un module qui n'est pas charg é
(je ne crois pas avoir i2c d'installer mais est-ce nécessaire ?) mais
ensuite il ne détecte rien. Ce qui m'étonne, c'est que j'utilise auss i
un autre petit programme, xmbmon qui me permet d'avoir la température d u
proc et de la carte mère aussi donc ces infos doivent bien être dispo s
mais je ne trouve pas ce programme très ergonomique et je préférais
utiliser torsmo.

Merci pour l'aide.


--
Zanton




Avatar
ggcom
Zanton écrit:

il faut installer les modules pour ton noyau
i2c-<version de ton noyau>
et
lm-sensors-<version de ton noyau>



Mais le truc, c'est qu'en sid ils ne sont pas dispos pour le 2.6
desole d'avoir ete hors propos je ne savais pas et je n'ai pas trop lu

tout ce que tu as ecrit
D'où ma question de recompiler le noyau pour les avoir. A moins que je
ne puisse installer ces modules par un autre moyen ?
récupere les paquets

kernel-headers-<version de ton noyau>
et les sources de
lm-sensors
et i2c
lis le readme qui se trouve dans les sources de i2c et de lm-sensors
il doit meme y avoir un quickstart qui te donne la liste de commande a
lancer pour compiler en module sans recompiler le noyau
(mais pour cela il faut les headers de ton noyau)

--
Zanton



Avatar
Shmurtz
Le Tue, 18 Jan 2005 13:28:40 +0100, Zanton s'exprimait :

Bonjour,

il faut installer les modules pour ton noyau
i2c-<version de ton noyau>
et
lm-sensors-<version de ton noyau>



Mais le truc, c'est qu'en sid ils ne sont pas dispos pour le 2.6
D'où ma question de recompiler le noyau pour les avoir. A moins que je
ne puisse installer ces modules par un autre moyen ?


Vérifie que tu as au moins les paquets kernel-image-2.6xxxxx et i2c-dev
d'installés. Pour charger des modules, il existe l'utilitaire modconf.
En ce qui me concerne, je n'ai pas eu à recompiler quoique ce soit sur ma
testing.


--
The best oxymoron : Microsoft Works ®


Avatar
billiob
Bonjour,

j'ai vu que pour pouvoir avoir la température du proc et de la
carte-mère, il fallait compiler les modules dans le noyau pour les
versions 2.6.x (je compte utiliser torsmo) Je chercher des explications
ou un tuto qui donne les réglages à effectuer dans la configuration du
noyau pour pouvoir en profiter car je n'ai rien trouver de très probant
sur le net :s Et qui précise ensuite quels modules chargés pour que ça
soit fonctionnel. Ma carte mère est une Asus P4PE-X et mon proc un P4 2.4.

Merci de votre aide !

Salut.

Il faut que tu mettes les modules ISA (--> Bus options)
et tous les i2c en modules ( Device Drivers --> I2C support )
Charge-les avant de faire sensor-detect.
Sinon, c'est quoi torsmo ?
--
@+
billiob
Utilisateur de Linux n°342916
Enregistrez-vous sur http:counter.li.org !!
Remplaçez INVALID par swissinfo pour m'envoyer un mail.