lm-sensors con placas Asus P5Q-E
Creo que aún no he hablado en el blog acerca de lm-sensors. El conjunto de aplicaciones lm-sensors incluye una serie de herramientas para la monitorización de ciertas características del hardware y su control en cierta medida. Las características a monitorear son normalmente temperaturas, voltajes y las velocidades de los ventiladores que tenemos instalados en nuestro equipo. No pretendía hacer un tutorial sobre el manejo de lm-sensors ya que hay ya mucho escrito en la web acerca de este magnifico programa, pero al menos os daré las indicaciones básicas de uso para aquellos que nunca hayan escuchado hablar de él. El motivo por el que escribo este post es que las últimas placas que van saliendo al mercado suelen incluir nuevos chips, y estos en ocasiones no están del todo soportados por el kernel de linux ni por lm-sensors. En mi placa base(Asus p5Q-e) resulta que hay un chip para el cual aún no se ha dado soporte (W83667hg), pero el módulo que da soporte a otro chip (w83627ehf) muy similar de la misma casa (Winbond) puede mostrarnos casi todos los datos que necesitamos conocer sobre nuestra placa. A continuación os explico cómo poder usar lm-sensors para todos aquellos que dispongan de este chip.
El uso de lm-sensors es muy sencillo. Primero lo instalamos, luego ejecutamos el comando sensors-detect como superusuario para reconocer los módulos que se deben cargar en nuestro equipo, y por último se ejecuta sensors para ver toda la información a partir de los módulos detectados. En la finalización del segundo paso se nos da una lista de los módulos a cargar y nos pregunta si queremos añadir dichos módulos en el fichero /etc/modules para que se carguen al inicio de la carga del sistema, por lo que le decimos que sí y listo. Si queremos comprobar inmediatamente como funciona el programa debemos cargar los módulos a mano con
sudo modprobe nombre-modulo
Una vez cargados los módulos cuando ejecutamos sensors nos debería aparecer algo cómo lo siguiente:
$ sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +37.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0001 Adapter: ISA adapter Core 1: +34.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0002 Adapter: ISA adapter Core 2: +39.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0003 Adapter: ISA adapter Core 3: +36.0°C (high = +74.0°C, crit = +100.0°C) w83627ehf-isa-0290 Adapter: ISA adapter VCore: +1.12 V (min = +0.00 V, max = +1.74 V) in1: +11.56 V (min = +7.92 V, max = +0.84 V) ALARM AVCC: +3.38 V (min = +0.14 V, max = +2.08 V) ALARM 3VCC: +3.34 V (min = +0.02 V, max = +0.64 V) ALARM in4: +1.70 V (min = +1.12 V, max = +0.10 V) ALARM in5: +2.04 V (min = +0.54 V, max = +0.51 V) ALARM in6: +3.69 V (min = +0.15 V, max = +5.32 V) VSB: +3.39 V (min = +2.08 V, max = +1.22 V) ALARM VBAT: +3.30 V (min = +0.03 V, max = +0.62 V) ALARM in9: +0.00 V (min = +0.01 V, max = +0.06 V) ALARM Case Fan: 1278 RPM (min = 33750 RPM, div = 8) ALARM CPU Fan: 1430 RPM (min = 508 RPM, div = 16) Aux Fan: 975 RPM (min = 168750 RPM, div = 8) ALARM fan4: 1430 RPM (min = 42187 RPM, div = 8) ALARM fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM Sys Temp: +31.0°C (high = +98.0°C, hyst = +2.0°C) sensor = thermistor CPU Temp: +13.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode AUX Temp: +33.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor cpu0_vid: +0.000 V
Para aquellos que tengan una placa base ASUS P5Q-E o similar, el problema es que el chip encargado de controlar todos estos aspectos es el Winbond w83667hg, el cual aún no está soportado en la versión actual del kernel (2.6.27-11) ni por lm-sensors. Cuando lanzamos sensor-detect nos aparecerá que se ha detectado dicho chip pero el nombre del driver que lo soporta es “to-be-writen”, es decir, que todavía no se ha programado. Sin embargo podemos usar uno de los chips hermanos a este para ver la mayoría de datos en nuestra placa. Para ello debemos ejecutar la siguiente línea:
sudo modprobe w83627ehf force_id=0x8860
o si queremos que esto sea permanente, añadir la siguiente línea al fichero /etc/modules
w83627ehf force_id=0x8860
Una vez hecho esto si ejecutamos el comando sensors, se mostraran todos los datos acerca de los fanspeeds, voltajes y temperaturas.
I think that I have not spoken yet about lm-sensors in the blog. The suite of applications lm-sensors includes a set of tools to monitorize certain characteristics of the hardware and to control them. The stuffs to monitorize are usually temperatures, voltages and speeds of the fans that we have installed in our computer. I don’t intend to make a tutorial about the use of lm-sensors because there is already much written in the web about this program, but at least I’ll give you the basic information of use to those who have never heard about It. The reason to write this post is that the last motherboards incoming to the market often include new chips, and sometimes these are not enterely supported by the Linux kernel or lm-sensors. My motherboard (Asus P5Q-E) has a chip which has not reveived support yet (w83667hg), but the module that supports another chip (w83627ehf) very similar can show almost all the data we need to know about out motherboard. Then I’ll show you how to use lm-sensors for all those who have this chip.
The use of lm-sensors is very simple. First install it, then run the detect-sensors command as root to recognize the modules that must be loaded in our pc, and finally runs sensors to see all the information from the modules identified. At the end of the second step we are given a list of modules to load and asked us if we want to add these modules in /etc/modules to be loaded at the beginning of the system load, so we say yes and ready. If we want to immediately check how the program runs we should load the modules by hand with
sudo modprobe module-name
Once the modules are loaded run sensors and it should appear something like this:
$ sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +37.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0001 Adapter: ISA adapter Core 1: +34.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0002 Adapter: ISA adapter Core 2: +39.0°C (high = +74.0°C, crit = +100.0°C) coretemp-isa-0003 Adapter: ISA adapter Core 3: +36.0°C (high = +74.0°C, crit = +100.0°C) w83627ehf-isa-0290 Adapter: ISA adapter VCore: +1.12 V (min = +0.00 V, max = +1.74 V) in1: +11.56 V (min = +7.92 V, max = +0.84 V) ALARM AVCC: +3.38 V (min = +0.14 V, max = +2.08 V) ALARM 3VCC: +3.34 V (min = +0.02 V, max = +0.64 V) ALARM in4: +1.70 V (min = +1.12 V, max = +0.10 V) ALARM in5: +2.04 V (min = +0.54 V, max = +0.51 V) ALARM in6: +3.69 V (min = +0.15 V, max = +5.32 V) VSB: +3.39 V (min = +2.08 V, max = +1.22 V) ALARM VBAT: +3.30 V (min = +0.03 V, max = +0.62 V) ALARM in9: +0.00 V (min = +0.01 V, max = +0.06 V) ALARM Case Fan: 1278 RPM (min = 33750 RPM, div = 8) ALARM CPU Fan: 1430 RPM (min = 508 RPM, div = 16) Aux Fan: 975 RPM (min = 168750 RPM, div = 8) ALARM fan4: 1430 RPM (min = 42187 RPM, div = 8) ALARM fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM Sys Temp: +31.0°C (high = +98.0°C, hyst = +2.0°C) sensor = thermistor CPU Temp: +13.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode AUX Temp: +33.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor cpu0_vid: +0.000 V
For those who have a motherboard ASUS P5Q-E or similar, the problem is that the chip to control all these aspects is the Winbond w83667hg, which is not yet supported in the current kernel (2.6.27-11) or lm-sensors. When we launched our sensor-detect appears that the chip has been detected but the name of the driver that supports it is “to-be-writen”, that is, that has not been codified yet. However we can use one of the brother chips to see most of data of our motherboard. We must run the following line:
sudo modprobe w83627ehf force_id=0x8860
Or if we want that it will be permanent, add the following line to the /etc/modules file
w83627ehf force_id=0x8860
Once done if we run the sensors command, all the data about fanspeeds, voltages and temps will be shown.
loading...




loading...
Hello,
In fact, I have the same problem with an Intel Core 2 duo. I can’t get the fan speed and the voltage when running sensors. this what I get :
________________________________________________
user@laptop:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +59.0°C (crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +56.0°C (crit = +100.0°C)
—————————————————————
I have tried to add a module by running:
________________________________________________
user@laptop:~$ modprobe w83627ehf force_id = 0×8860
FATAL: Error inserting w83627ehf (/lib/modules/2.6.24-23-generic/kernel/drivers/hwmon/w83627ehf.ko): Operation not permitted
————————————————————–
I think that this module is not compatible with my Mother Board, but I don’t know what module to use.
In fact, I want to have the Information about the Fan Speed to be able to control it. I have the fan speed proportional to the use of the CPU, which bothers me. ( I want to control the fan Speed using “pwmconfig” ) .
I have:
Ubuntu Hardy; Kernel version: 2.6.24-23-generic
Intel Core 2 Duo 2.4Ghz 800Mhz 4MB
loading...
Hi Zepto, first you should know what it’s the chip that have your motherboard. After that go to http://www.lm-sensors.org/wiki/Devices and to see what is the minimum version of the kernel and if you need to up grade it, or apply any trick to be able to see the fans, voltages and temperatures of your motherboard.
Regards.
loading...
Hi Piponazo.
I installed the last version of Ubuntu 8.10 and lm-sensors worked fine.
this what i get when typing sensors.
—————————————————————-
diablo@tiar-laptop:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +46.0°C (crit = +110.0°C)
temp2: +51.0°C (crit = +120.0°C)
temp3: +0.0°C (crit = +120.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +45.0°C (high = +100.0°C, crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +42.0°C (high = +100.0°C, crit = +100.0°C)
w83627ehf-isa-fff8
Adapter: ISA adapter
VCore: +2.04 V (min = +2.04 V, max = +2.04 V) ALARM
in1: +13.46 V (min = +13.46 V, max = +13.46 V) ALARM
AVCC: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
3VCC: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
in4: +2.04 V (min = +2.04 V, max = +2.04 V) ALARM
in5: +2.04 V (min = +2.04 V, max = +2.04 V) ALARM
in6: +6.53 V (min = +6.53 V, max = +6.53 V) ALARM
VSB: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
VBAT: +4.08 V (min = +4.08 V, max = +4.08 V) ALARM
in9: +2.04 V (min = +2.04 V, max = +2.04 V) ALARM
Case Fan: 0 RPM (min = 0 RPM, div = 128) ALARM
CPU Fan: 0 RPM (min = 0 RPM, div = 128) ALARM
Aux Fan: 0 RPM (min = 0 RPM, div = 128) ALARM
Sys Temp: -1.0°C (high = -1.0°C, hyst = -1.0°C) ALARM sensor = diode
CPU Temp: +0.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = diode
AUX Temp: +0.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = diode
cpu0_vid: +1.219 V
—————————————————————–
thank you for your help.
loading...
Maybe you could make changes to the page name lm-sensors con placas Asus P5Q-E | La plaga Tux to something more suited for your content you write. I liked the post however.