"No temperature information is available" although machine does have thermal sensors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Won't Fix
|
Wishlist
|
Unassigned | ||
landscape-client (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: landscape-client
My machine 'grace' (GA-890GPA-UD3H motherboard) has thermal information available through libsensors and hddtemp, and this shows up in the Gnome sensors-applet. However, Landscape says just 'No temperature information is available.'
Running 'sensors' on the command line shows:
mbp@grace% sensors
it8720-isa-0228
Adapter: ISA adapter
in0: +1.20 V (min = +0.00 V, max = +4.08 V)
in1: +1.50 V (min = +0.00 V, max = +4.08 V)
in2: +3.25 V (min = +0.00 V, max = +4.08 V)
in3: +2.96 V (min = +0.00 V, max = +4.08 V)
in4: +3.09 V (min = +0.00 V, max = +4.08 V)
in5: +2.16 V (min = +0.00 V, max = +4.08 V)
in6: +4.08 V (min = +0.00 V, max = +4.08 V)
in7: +2.93 V (min = +0.00 V, max = +4.08 V)
Vbat: +3.23 V
fan1: 5578 RPM (min = 0 RPM)
fan2: 1240 RPM (min = 0 RPM)
fan3: 2500 RPM (min = 0 RPM)
fan5: 2343 RPM (min = 0 RPM)
temp1: +48.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: +42.0°C (low = +127.0°C, high = +80.0°C) sensor = thermal diode
temp3: +45.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
cpu0_vid: +0.513 V
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +0.0°C (high = +70.0°C, crit = +67.0°C)
They do not come up as acpi sensors.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: landscape-client 1.5.5.1-
ProcVersionSign
Uname: Linux 2.6.35-23-generic x86_64
Architecture: amd64
Date: Tue Nov 23 13:59:41 2010
EcryptfsInUse: Yes
ProcEnviron:
PATH=(custom, user)
LANG=en_AU.utf8
SHELL=/bin/zsh
SourcePackage: landscape-client
This happens because we use acpi to get the thermal data, and this seems to work only for laptops.
A workaround is to use a custom graph to plot the desired output of the sensors command. Here is an example:
https:/ /help.landscape .canonical. com/CustomGraph s/Examples# lm-sensors
That being said, we could probably fallback to lm-sensors if there is no temperature being reported by acpi.
One of the concerns I have is that the output of sensors is not always accurate and can be confusing, with names we have no idea what they represent, like temp1, temp2, etc.
In my laptop, for example, I have 16 values for "temp" alone when using the "ISA adapter", and two values for the "Virtual Device" adapter. I have no idea how we could decide programatically which values to use in the graph. What I usually do is pick the one that looks more reasonable, or agrees with what I see in the computer BIOS, and stick to that.