Author Topic: lm_sensors - sensors-detect  (Read 1489 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
lm_sensors - sensors-detect
« on: August 23, 2011, 06:36:08 AM »
On my Dell Laptop (Intel T8100 / ICH8 / 2.6.38.8-pclos3.pae) I'm used to have a gkrellm monitor including CPU temps, my system is actually fully updated and working.

However, while playing with the new kde-2011-06, kde-minime-2011-07 (an to some extent with the 64 bit test version), I noticed that the CPU temp sensors were not available, on the same laptop of course.

Installed lm_sensors package, and ran sensors-detect, nothing was found. After some comparison, found that the CPU temp sensors are available when the module coretemp is loaded, and that that modules is defined to be loaded in /etc/sysconfig/lm_sensors:

Quote
# Generated by sensors-detect on Sat Feb 19 20:34:42 2011
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="coretemp"

# For compatibility reasons, modules are also listed individually as variables
#    MODULE_0, MODULE_1, MODULE_2, etc.
# You should use BUS_MODULES and HWMON_MODULES instead if possible.

MODULE_0=coretemp

I have then removed the file /etc/sysconfig/lm_sensors and re-runned sensors-detect, which didn't find any sensors:
Quote
....
Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.

Anyone can confirm similar results ?

AS

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: lm_sensors - sensors-detect
« Reply #1 on: August 23, 2011, 06:44:36 AM »
i can ... and you have to use acpitemp to get temp of processor

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: lm_sensors - sensors-detect
« Reply #2 on: August 23, 2011, 06:52:34 AM »
i can ... and you have to use acpitemp to get temp of processor

May be I'm missing something here ... I actually do have temp sensors, as described in previous post.
I do not find sensors upon new installation of kde-2011-06/minime-2011-07/PCLinuxOS64-test01.

The question is: "is sensors-detect actually broken ?"

if I do not load coretemp module, I do not have any CPU temp sensors available in gkrellm, only the GPU temp sensor.

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: lm_sensors - sensors-detect
« Reply #3 on: November 22, 2011, 03:00:59 PM »
I have the same problem on my laptop. Anyone knows more about this?
For the whole world, you are someone.
For someone, you are the whole world.

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2144
Re: lm_sensors - sensors-detect
« Reply #4 on: November 22, 2011, 03:14:14 PM »
Quote
[wimwillemsen@localhost ~]$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:       +1.13 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:       +3.23 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:         +4.97 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:       +12.32 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:      2122 RPM  (min =  600 RPM)
CHASSIS1 FAN Speed: 1205 RPM  (min =  600 RPM)
CHASSIS2 FAN Speed: 1739 RPM  (min =  600 RPM)
POWER FAN Speed:       0 RPM  (min =  600 RPM)
CPU Temperature:     +39.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:      +48.0°C  (high = +45.0°C, crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +49.0°C  (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:       +46.0°C  (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:       +42.0°C  (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3:       +44.0°C  (high = +82.0°C, crit = +100.0°C)

[wimwillemsen@localhost ~]$

Maybe is the sensor chip (SMBus) not detected?

JohnW
« Last Edit: November 22, 2011, 03:18:15 PM by JohnW_57 »
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4004
Re: lm_sensors - sensors-detect
« Reply #5 on: November 22, 2011, 03:19:27 PM »
I have it on my laptop too (even when running the stock kernel), but as I only noticed the problem on 64-bit I assumed it was just because it's not finalised yet. If the newer 32-bit ISOs give the same result, there's a need to see what's changed.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2144
Re: lm_sensors - sensors-detect
« Reply #6 on: November 22, 2011, 03:24:27 PM »
More info for lm_sensors at: http://www.lm-sensors.org/

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10696
  • MLUs Forever!
Re: lm_sensors - sensors-detect
« Reply #7 on: November 23, 2011, 04:26:18 AM »
I have a different problem ........  seems some parts of my PC are hard frozen - according to this output ...  :D


[user@XPS ~]$ sensors
it8718-isa-0290
Adapter: ISA adapter
in0:          +1.10 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.82 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +2.99 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +2.98 V (min =  +0.00 V, max =  +4.08 V)
in4:          +2.96 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +0.00 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in6:          +0.11 V  (min =  +0.00 V, max =  +4.08 V)
5VSB:         +2.91 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.14 V
fan1:        1059 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:        5720 RPM  (min =    0 RPM)
temp1:        +44.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermal diode
temp2:        -78.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermal diode
temp3:        -68.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermal diode

cpu0_vid:    +1.550 V

[user@XPS ~]$


.......  and the 5V line reading  2.9V   ???  Probably is referring to 3V line ......

Essentially I cannot depend on the figures at all .......
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: lm_sensors - sensors-detect
« Reply #8 on: November 23, 2011, 04:37:31 AM »
tried it on my dell lappy and no sensors found.... yet gkrellm is showing two temps ?
Please Donate Today..Or I Will Make You Wish You Had

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: lm_sensors - sensors-detect
« Reply #9 on: November 23, 2011, 06:30:27 AM »
tried it on my dell lappy and no sensors found.... yet gkrellm is showing two temps ?


which Dell model ?

from http://www.lm-sensors.org/wiki/Devices
Quote
Dell    Inspiron, Latitude, Precision, Vostro
driver: i8k
interface: BIOS    
supported since kernel: 3.0 or  standalone driver    (2011-05-27)
The driver is old, but it did not implement the standard hwmon interface until kernel 3.0. Please test the standalone driver and report. The monitoring part should be working fine, but the fan speed control part is still experimental.


mine too is a Dell  ;)

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: lm_sensors - sensors-detect
« Reply #10 on: November 23, 2011, 09:10:11 AM »
older latitude D620
Please Donate Today..Or I Will Make You Wish You Had

Offline atolboo

  • Full Member
  • ***
  • Posts: 235
Re: lm_sensors - sensors-detect
« Reply #11 on: December 30, 2012, 02:36:56 AM »
tried it on my dell lappy and no sensors found.... yet gkrellm is showing two temps ?
Did you run (as root) ???
Code: [Select]
sensors-detectReference PARDUSWiKi: Gkrellm and lm sensors (except 'Check auto-load of kernel module')