2011-09-12 22:20:26 |
Andreas Hasenack |
description |
Looks like /proc/api/thermal_zone doesn't exist in natty anymore, perhaps others. In lucid it still exists. This breaks the temperature plugin in the sense that no temperature is reported anymore not even for laptops.
What is present in natty is /sys/class/thermal:
andreas@nsn2:~/canonical/source/landscape-client/trunk$ l /sys/class/thermal/
total 0
drwxr-xr-x 2 root root 0 2011-09-12 09:07 .
drwxr-xr-x 49 root root 0 2011-09-12 09:07 ..
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
Of which, in my case, only thermal_zone{0,1} have temp:
andreas@nsn2:~/canonical/source/landscape-client/trunk$ l /sys/class/thermal/*/temp
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/thermal/thermal_zone0/temp
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/thermal/thermal_zone1/temp
My machine is a thinkpad t61. |
Looks like /proc/api/thermal_zone doesn't exist in natty anymore, perhaps others. In lucid it still exists. This breaks the temperature plugin in the sense that no temperature is reported anymore not even for laptops.
What is present in natty is /sys/class/thermal:
andreas@nsn2:~/canonical/source/landscape-client/trunk$ l /sys/class/thermal/
total 0
drwxr-xr-x 2 root root 0 2011-09-12 09:07 .
drwxr-xr-x 49 root root 0 2011-09-12 09:07 ..
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
Of which, in my case, only thermal_zone{0,1} have temp:
andreas@nsn2:~/canonical/source/landscape-client/trunk$ l /sys/class/thermal/*/temp
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/thermal/thermal_zone0/temp
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/thermal/thermal_zone1/temp
These also exist in lucid. I don't know about hardy.
My machine is a thinkpad t61. |
|