IMX6Q 读取CPU温度命令

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
interactive conservative ondemand userspace powersave performance
device/fsl/mx6/init.rc:
on property:sys.boot_completed=1
# Set default CPU frequency governor
# Set timer 40ms, min sample 60ms,hispeed at cpufreq MAX freq in freq_table at load 40%
    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive

# cat /sys/devices/virtual/thermal/thermal_zone0/temp

55

# cat /sys/class/thermal/thermal_zone0/trip_point_0_type
critical
# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
100
# cat /sys/class/thermal/thermal_zone0/trip_point_1_type
hot
# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
90
# cat /sys/class/thermal/thermal_zone0/trip_point_2_type
active
# cat /sys/class/thermal/thermal_zone0/trip_point_2_temp
80

你可能感兴趣的:(linux系统)