-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPUTemp displaying temp of wrong sensor #39
Comments
hmm - from here and the linked StackOverflow Q&A - the CPUTemp sensor is pulling its value from /sys/class/thermal/thermal_zoneN/tmp which corresponds to the first CPU core. If you can think of a better algorithm, please let me know. thanks. |
All I can say is that the indicator displays the temperature exactly as the linux kernel sees it - the kernel always writes its CPU based temperatures to a known location. I don't know what acpi does but I guess it interrogates a whole load of other data - puts it into a big pot - runs a load of calculations over it and out pops a number which you can see... |
Hi, do we need install of lm-sensors to get temp readout? In the now discontinued indicator-sensors, it would pick temperature up without the need of lm-sensors. |
All versions of the indicator displayed whatever the kernel saw. Over time the kernel parameter has changed. I have not dug into lm sensors but it may be interesting if someone does to see which kernel parameter it uses |
I have the same issue. In my case $ sensors
radeon-pci-0500
Adapter: PCI adapter
temp1: +35.0°C (crit = +120.0°C, hyst = +90.0°C)
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage: +1.20 V (min = +0.80 V, max = +1.60 V)
CPU/NB Voltage: +1.15 V (min = +0.80 V, max = +1.60 V)
CPU VDDA Voltage: +2.53 V (min = +2.00 V, max = +3.00 V)
DRAM Voltage: +1.57 V (min = +1.40 V, max = +1.90 V)
HT Voltage: +1.22 V (min = +0.80 V, max = +1.50 V)
NB Voltage: +1.12 V (min = +0.90 V, max = +1.35 V)
SB Voltage: +1.11 V (min = +0.80 V, max = +1.50 V)
+3.3V Voltage: +3.31 V (min = +2.97 V, max = +3.63 V)
+5V Voltage: +5.00 V (min = +4.50 V, max = +5.50 V)
+12V Voltage: +12.11 V (min = +10.20 V, max = +13.80 V)
CPU Temperature: +41.0°C (high = +40.0°C, crit = +90.0°C)
MB Temperature: +39.0°C (high = +35.0°C, crit = +95.0°C)
NB Temperature: +45.0°C (high = +65.0°C, crit = +95.0°C)
SB Temperature: +44.0°C (high = +35.0°C, crit = +75.0°C)
OPT_TEMP1 Temperature: +0.0°C (high = +0.0°C, crit = +90.0°C)
OPT_TEMP2 Temperature: +0.0°C (high = +0.0°C, crit = +90.0°C)
OPT_TEMP3 Temperature: +0.0°C (high = +0.0°C, crit = +90.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +0.0°C (high = +70.0°C)
(crit = +90.0°C, hyst = +85.0°C)
|
HI all ,
save this code in a executable shell script and call it from indicator-sysmonitor. |
CPUTemp is showing it8620-isa-0a30 temp3: which always remains at +28.0°C
It should be showing coretemp-isa-0000 Physical id 0 (at the point I ran sensors in the example below this was +38.0°C)
This is the output of sensors on my Ubuntu 15.10 computer:
sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +105.0°C)
temp2: +29.8°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +38.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +36.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +38.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +36.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +35.0°C (high = +80.0°C, crit = +100.0°C)
it8620-isa-0a30
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28726279-cputemp-displaying-temp-of-wrong-sensor?utm_campaign=plugin&utm_content=tracker%2F1443743&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1443743&utm_medium=issues&utm_source=github).Adapter: ISA adapter
in0: +0.02 V (min = +0.00 V, max = +3.06 V)
in1: +2.03 V (min = +0.00 V, max = +3.06 V)
in2: +2.03 V (min = +0.00 V, max = +3.06 V)
in3: +1.98 V (min = +0.00 V, max = +3.06 V)
in4: +0.01 V (min = +0.00 V, max = +3.06 V)
in5: +1.75 V (min = +0.00 V, max = +3.06 V)
in6: +1.56 V (min = +0.00 V, max = +3.06 V)
3VSB: +3.38 V (min = +0.00 V, max = +6.12 V)
Vbat: +2.98 V
fan1: 826 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
temp1: +30.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: +127.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp3: +28.0°C (low = +127.0°C, high = +127.0°C) sensor = Intel PECI
intrusion0: ALARM
The text was updated successfully, but these errors were encountered: