Lm-sensors monitorizar los sensores de tu PC
De Wikillano
Esto es lo que encontré por Internet,
You will need lm-sensors and i2c kernel modules to use this package. For 2.4 kernels, this requires either installing prebuild modules or building them using the lm-sensors-source package. For 2.6 kernels, use the modules that are already in the kernel tree.
Como yo tengo el kernel 2.6 esto debría ser muy facil, o eso creo…
empiezo instalando el paquete lm-sensors
rea:/usr/src# apt-get install lm-sensors
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias… Hecho
Paquetes sugeridos:
lm-sensors-source kernel-image-2.6 sensord
Paquetes recomendados
lm-sensors-mod-2.9
Se instalarán los siguientes paquetes NUEVOS:
lm-sensors
0 actualizados, 1 se instalarán, 0 para eliminar y 0 no actualizados.
Necesito descargar 474kB de archivos.
Se utilizarán 1520kB de espacio de disco adicional después de desempaquetar.
Des:1 http://security.debian.org stable/updates/main lm-sensors 1:2.9.1-1sarge3 [474kB]
Descargados 474kB en 8s (55,5kB/s)
Preconfigurando paquetes …
Seleccionando el paquete lm-sensors previamente no seleccionado.
(Leyendo la base de datos …
97991 ficheros y directorios instalados actualmente.)
Desempaquetando lm-sensors (de …/lm-sensors_1%3a2.9.1-1sarge3_i386.deb) …
Configurando lm-sensors (2.9.1-1sarge3) …
Creating config file /etc/sensors.conf with new version
lanzo el comando sensors, y veo como no sale nada:
rea:/usr/src# sensors No sensors found!
lanzo sensors-detect para configurar los sensores, y respondo por defecto yes a todo lo que se me pregunta.
rea:/usr/src# 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): YES
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.
Load `i2c-i801′ (say NO if built into your kernel)? (YES/no): YES
Module loaded succesfully.
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 0×69 (clock chip).
Next adapter: SMBus I801 adapter at 0500
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0×08
Client found at address 0×37
Client found at address 0×44
Probing for `Maxim MAX6633/MAX6634/MAX6635′… Failed!
Client found at address 0×50
Probing for `SPD EEPROM’… Success!
(confidence 8, driver `eeprom’)
Probing for `DDC monitor’… Failed!
Probing for `Maxim MAX6900′… Failed!
Client found at address 0×69
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 it? (YES/no/selectively): YES
Client found at address 0×08
Client found at address 0×37
Client found at address 0×44
Probing for `Maxim MAX6633/MAX6634/MAX6635′… Failed!
Client found at address 0×50
Probing for `SPD EEPROM’… Success!
(confidence 8, driver `eeprom’)
Probing for `DDC monitor’… Failed!
Probing for `Maxim MAX6900′… Failed!
Client found at address 0×69
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): YES
Probing for `National Semiconductor LM78′
Trying address 0×0290… Failed!
Probing for `National Semiconductor LM78-J’
Trying address 0×0290… Failed!
Probing for `National Semiconductor LM79′
Trying address 0×0290… Failed!
Probing for `Winbond W83781D’
Trying address 0×0290… Failed!
Probing for `Winbond W83782D’
Trying address 0×0290… Failed!
Probing for `Winbond W83627HF’
Trying address 0×0290… Failed!
Probing for `Winbond W83627EHF’
Trying address 0×0290… Failed!
Probing for `Winbond W83697HF’
Trying address 0×0290… 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 IT8712F’
Trying address 0×0290… Success!
(confidence 8, driver `it87′)
Probing for `ITE IT8705F / SiS 950′
Trying address 0×0290… Failed!
Probing for `IPMI BMC KCS’
Trying address 0×0ca0… Failed!
Probing for `IPMI BMC SMIC’
Trying address 0×0ca8… 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): yes
Probing for `ITE 8702F Super IO Sensors’
Failed! (0×8712)
Probing for `ITE 8705F Super IO Sensors’
Failed! (0×8712)
Probing for `ITE 8712F Super IO Sensors’
Success… found at address 0×0290
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)
Probing for `Winbond W83627EHF Super IO Sensors’
Failed! (skipping family)
Do you want to scan for secondary Super I/O sensors? (YES/no): yes
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)
Probing for `Winbond W83627EHF Super IO Sensors’
Failed! (skipping family)
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `eeprom’ (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 0500′
Busdriver `i2c-i801′, I2C address 0×50
Chip `SPD EEPROM’ (confidence: 8)
Driver `it87′ (should be inserted):
Detects correctly:
* ISA bus address 0×0290 (Busdriver `i2c-isa’)
Chip `ITE 8712F Super IO 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)? yes
To make the sensors modules behave correctly, add these lines to
/etc/modules:
#—-cut here—-
# I2C adapter drivers
i2c-i801
i2c-isa
# I2C chip drivers
eeprom
it87
#—-cut here—-
Do you want to add these lines to /etc/modules automatically? (yes/NO)yes
rea:/usr/src#
ahora si, lanzamos el comando sensors:
rea:/usr/src# sensors it87-isa-0290 Adapter: ISA adapter VCore 1: +1.30 V (min = +1.42 V, max = +1.57 V) ALARM VCore 2: +1.49 V (min = +2.40 V, max = +2.61 V) ALARM +3.3V: +6.59 V (min = +3.14 V, max = +3.46 V) ALARM +5V: +4.97 V (min = +4.76 V, max = +5.24 V) +12V: +12.10 V (min = +11.39 V, max = +12.61 V) -12V: -19.75 V (min = -12.63 V, max = -11.41 V) ALARM -5V: -2.56 V (min = -5.26 V, max = -4.77 V) ALARM Stdby: +4.95 V (min = +4.76 V, max = +5.24 V) VBat: +3.18 V fan1: 1757 RPM (min = 0 RPM, div = 16) fan2: 0 RPM (min = 332 RPM, div = 16) fan3: 3515 RPM (min = 664 RPM, div = 8) M/B Temp: +41°C (low = +15°C, high = +40°C) sensor = thermistor CPU Temp: +47°C (low = +15°C, high = +45°C) sensor = diode Temp3: +43°C (low = +15°C, high = +45°C) sensor = thermistor eeprom-i2c-0-50 Adapter: SMBus I801 adapter at 0500 Memory type: DDR SDRAM DIMM Memory size (MB): 512
