CONFIG_THERMAL=y # CONFIG_THERMAL_HWMON is not set CONFIG_THERMAL_PM8901=y CONFIG_THERMAL_PM8058=y # CONFIG_THERMAL_MSM_POPMEM is not set CONFIG_THERMAL_TSENS=y
我看了一下driver,大概知道溫度資訊似乎可以從sysfs取得,所以上console去看了一下:
# ls -l /sys/class/thermal total 0 lrwxrwxrwx 1 0 0 0 May 3 16:07 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0 lrwxrwxrwx 1 0 0 0 May 3 15:42 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1 lrwxrwxrwx 1 0 0 0 May 3 16:07 thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2