lm_sensor


#1

Bonjour j’essai d’installer lm_sensor mais rien ne marche je suis en SId avec un noyau 2.6.9 j’ai compiler le noyau comme il dise sur www2.lm-sensors.nu/~lm78/kernel26.html

je fais sensors-detect il fait plein de truc me dit

# 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.

 IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW!
 IBM Thinkpads have a severely broken i2c/SMBus implementation, just scanning
 the bus will break your Thinkpad forever!
 If this is a non-Thinkpad IBM, we still suggest you press CTRL+C. We have
 had users reporting system breakage on other IBM systems as well.

 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 82801EB ICH5
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
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 already loaded.

 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).

Next adapter: SMBus I801 adapter at c400
Do you want to scan it? (YES/no/selectively): 
Client found at address 0x08
Client found at address 0x2e
Probing for `Myson MTP008'... Failed!
Probing for `National Semiconductor LM78'... Failed!
Probing for `National Semiconductor LM78-J'... Failed!
Probing for `National Semiconductor LM79'... Failed!
Probing for `National Semiconductor LM80'... Failed!
Probing for `National Semiconductor LM85 or LM96000'... Failed!
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... Failed!
Probing for `SMSC EMC6D100 or EMC6D101'... Success!
    (confidence 7, driver `lm85')
Probing for `Analog Devices ADT7467'... Failed!
Probing for `National Semiconductor LM87'... Failed!
Probing for `National Semiconductor LM93'... Failed!
Probing for `Winbond W83781D'... Failed!
Probing for `Winbond W83782D'... Failed!
Probing for `Winbond W83791D'... Failed!
Probing for `Winbond W83792D'... Failed!
Probing for `Winbond W83627HF'... Failed!
Probing for `Asus AS99127F (rev.1)'... Failed!
Probing for `Asus AS99127F (rev.2)'... Failed!
Probing for `Asus ASB100 Bach'... Failed!
Probing for `Winbond W83L785TS-S'... Failed!
Probing for `Analog Devices ADM9240'... Failed!
Probing for `Dallas Semiconductor DS1780'... Failed!
Probing for `National Semiconductor LM81'... Failed!
Probing for `Analog Devices ADM1026'... Failed!
Probing for `Analog Devices ADM1025'... Failed!
Probing for `Analog Devices ADM1024'... Failed!
Probing for `Analog Devices ADM1029'... Failed!
Probing for `Analog Devices ADM1030'... Failed!
Probing for `Analog Devices ADM1031'... Failed!
Probing for `Analog Devices ADM1022'... Failed!
Probing for `Texas Instruments THMC50'... Failed!
Probing for `Analog Devices ADM1028'... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'... Failed!
Client found at address 0x30
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!
Client found at address 0x50
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x52
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Client found at address 0x69

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! (0xf0d1)
Probing for `ITE 8705F Super IO Sensors'
  Failed! (0xf0d1)
Probing for `ITE 8712F Super IO Sensors'
  Failed! (0xf0d1)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87360 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87363 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87364 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Voltage Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Thermal Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Voltage Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Thermal Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87372 Super IO Fan Sensors'
  Success... found at address 0x06e0
Probing for `Nat. Semi. PC87373 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC8739x Super IO'
  Failed! (0xf0)
Probing for `Nat. Semi. PC8741x Super IO'
  Failed! (0xf0)
Probing for `SMSC 47B27x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M10x/13x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M15x/192 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47S42x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47S45x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M172 Super IO'
  Failed! (0xf0)
Probing for `VT1211 Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83627THF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83637HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83697SF/UF Super IO PWM'
  Failed! (0xf0)
Probing for `Winbond W83L517D Super IO'
  Failed! (0xf0)

Do you want to scan for secondary Super I/O sensors? (YES/no): 
Probing for `ITE 8702F Super IO Sensors'
  Failed! (0xf0d1)
Probing for `ITE 8705F Super IO Sensors'
  Failed! (0xf0d1)
Probing for `ITE 8712F Super IO Sensors'
  Failed! (0xf0d1)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87360 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87363 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87364 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Voltage Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87365 Super IO Thermal Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Voltage Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87366 Super IO Thermal Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC87372 Super IO Fan Sensors'
  Success... found at address 0x06e0
Probing for `Nat. Semi. PC87373 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `Nat. Semi. PC8739x Super IO'
  Failed! (0xf0)
Probing for `Nat. Semi. PC8741x Super IO'
  Failed! (0xf0)
Probing for `SMSC 47B27x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M10x/13x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M14x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M15x/192 Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47S42x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47S45x Super IO Fan Sensors'
  Failed! (0xf0)
Probing for `SMSC 47M172 Super IO'
  Failed! (0xf0)
Probing for `VT1211 Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83627THF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83637HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0xf0)
Probing for `Winbond W83697SF/UF Super IO PWM'
  Failed! (0xf0)
Probing for `Winbond W83L517D Super IO'
  Failed! (0xf0)

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)

 Now follows a summary of the probes I have just done.
 Just press ENTER to continue: 

Driver `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at c400' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC EMC6D100 or EMC6D101' (confidence: 7)

Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at c400' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x50
    Chip `SPD EEPROM' (confidence: 8)
  * Bus `SMBus I801 adapter at c400' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x52
    Chip `SPD EEPROM' (confidence: 8)

Driver `to-be-written' (should be inserted):
  Detects correctly:
  * ISA bus address 0x06e0 (Busdriver `i2c-isa')
    Chip `Nat. Semi. PC87372 Super IO Fan Sensors' (confidence: 9)


 I will now generate the commands needed to load the I2C modules.
 Sometimes, a chip is available both through the ISA bus and an I2C bus.
 ISA bus access is faster, but you need to load an additional driver module
 for it. If you have the choice, do you want to use the ISA bus or the
 I2C/SMBus (ISA/smbus)? 

To make the sensors modules behave correctly, add these lines to
/etc/modules:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

j’ai bien copier ce qu’il fallait

les module semble bon :

# lsmod
Module                  Size  Used by
snd_pcm_oss            53672  0 
snd_mixer_oss          21120  1 snd_pcm_oss
i2c_dev                11008  0 
i2c_i801                9228  0 
i2c_sensor              4864  0 
i2c_core               24960  6 i2c_algo_pcf,i2c_algo_pca,i2c_algo_bit,i2c_dev,i2c_i801,i2c_sensor
parport_pc             24384  1 
lp                     10760  0 
parport                27456  2 parport_pc,lp
thermal                14344  0 
fan                     4996  0 
button                  7696  0 
processor              14800  1 thermal
ac                      5892  0 
battery                10372  0 
8250                   23680  0 
serial_core            24064  1 8250
snd_intel8x0           34856  0 
snd_ac97_codec         71760  1 snd_intel8x0
snd_pcm                97156  2 snd_pcm_oss,snd_intel8x0
snd_timer              26628  1 snd_pcm
snd_page_alloc         11016  2 snd_intel8x0,snd_pcm
snd_mpu401_uart         9216  1 snd_intel8x0
snd_rawmidi            26276  1 snd_mpu401_uart
snd_seq_device          9096  1 snd_rawmidi
snd                    57700  9 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10976  1 snd
ehci_hcd               30340  0 
joydev                 10560  0 
usbhid                 25984  0 
uhci_hcd               33424  0 
usbcore               117220  5 ehci_hcd,usbhid,uhci_hcd
rtc                    13640  0

le seul truc qui me semble bizarre c’est que je n’ai pas de i2c_algo_*

et quand je fait sensors

# sensors
No sensors found!
zsh: exit 1     sensors

personne n’a une idée ??


#2

ben déjà un truc bizarre, mon sensors-detect à moi me propose de faire les insérsions lui même ds /etc/modules. bon, ca c’est pour dire que tu n’as peut être pas la derniere version (moi, c le cas).
Concernant l’absence dans lsmod des modules qui nécessitent i2c_core, peut etre que tu les à compilés en noyau, non ?
Sinon, sur ma machine, sensors-detect ne détecte que ma bttv et rien d’autre. Etant donné que je n’ai rien vu qui utilise i2c, c’est peut etre normal qu’il ne détecte rien…
Qu’est ce que tu cherches à faire ?


#3

Bein juste avoir la temperature … pourquoi ? :laughing:


#4

Ben donc, moi, sensors-detect ne détecte que ma bttv et j’ai bien la tempèrature. C’est pour ca que je posais la question :slightly_smiling: