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/ virtual/ thermal/ cooling_ device0 virtual/ thermal/ cooling_ device1 virtual/ thermal/ cooling_ device2 virtual/ thermal/ thermal_ zone0 virtual/ thermal/ thermal_ zone1
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/
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device1 -> ../../devices/
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 cooling_device2 -> ../../devices/
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone0 -> ../../devices/
lrwxrwxrwx 1 root root 0 2011-09-12 09:07 thermal_zone1 -> ../../devices/
Of which, in my case, only thermal_zone{0,1} have temp:
andreas@ nsn2:~/ canonical/ source/ landscape- client/ trunk$ l /sys/class/ thermal/ */temp thermal/ thermal_ zone0/temp thermal/ thermal_ zone1/temp
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/
-r--r--r-- 1 root root 4.0K 2011-09-12 12:13 /sys/class/
My machine is a thinkpad t61.