Skip to content

Instantly share code, notes, and snippets.

@HighwayStar
Created February 9, 2020 14:04
Show Gist options
  • Select an option

  • Save HighwayStar/7d2d917cb511a3b7aa74301f5738ff86 to your computer and use it in GitHub Desktop.

Select an option

Save HighwayStar/7d2d917cb511a3b7aa74301f5738ff86 to your computer and use it in GitHub Desktop.
# SENSOR : ALIAS
debug
#Conf file: /vendor/etc/thermal-engine.conf
[SS-BATTERY-BL2]
algo_type ss
sampling 2000
sensor skin-msm-therm
device battery
set_point 45000
set_point_clr 43000
time_constant 0
[SS-GPU-BL2]
algo_type ss
sampling 1000
sensor skin-msm-therm
device gpu
set_point 46000
set_point_clr 44000
time_constant 0
device_max_limit 257000000
[SS-MSM-CPU-7-BL2]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 46000
set_point_clr 44000
time_constant 0
device_max_limit 1056000
[SS-BATTERY-BL]
algo_type ss
sampling 2000
sensor skin-msm-therm
device battery
set_point 44000
set_point_clr 42000
time_constant 0
[SS-GPU-BL]
algo_type ss
sampling 1000
sensor skin-msm-therm
device gpu
set_point 46000
set_point_clr 44000
time_constant 0
device_max_limit 257000000
[SS-MSM-CPU-7-BL]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 46000
set_point_clr 44000
time_constant 0
device_max_limit 825600
[SS-BATTERY-GAME]
algo_type ss
sampling 2000
sensor skin-msm-therm
device battery
set_point 44000
set_point_clr 42000
time_constant 0
[SS-GPU-GAME]
algo_type ss
sampling 1000
sensor skin-msm-therm
device gpu
set_point 49000
set_point_clr 46000
time_constant 0
device_max_limit 427000000
[SS-MSM-CPU-7-GAME-1]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 50000
set_point_clr 48000
time_constant 0
device_max_limit 1708800
[SS-MSM-CPU-7-GAME-0]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 48000
set_point_clr 46000
time_constant 0
device_max_limit 1920000
[SS-BATTERY-PERF]
algo_type ss
sampling 2000
sensor skin-msm-therm
device battery
set_point 44000
set_point_clr 42000
time_constant 0
[SS-GPU-PERF]
algo_type ss
sampling 1000
sensor skin-msm-therm
device gpu
set_point 90000
set_point_clr 80000
time_constant 0
device_max_limit 585000000
[SS-MSM-CPU-7-PERF]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 90000
set_point_clr 80000
time_constant 0
device_max_limit 2841600
[SS-BATTERY]
algo_type ss
sampling 2000
sensor skin-msm-therm
device battery
set_point 48000
set_point_clr 46000
time_constant 0
[SS-GPU]
algo_type ss
sampling 1000
sensor skin-msm-therm
device gpu
set_point 49000
set_point_clr 46000
time_constant 0
device_max_limit 345000000
[SS-MSM-CPU-7-2]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 52000
set_point_clr 50000
time_constant 0
device_max_limit 1401600
[SS-MSM-CPU-7-1]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 50000
set_point_clr 48000
time_constant 0
device_max_limit 1612800
[SS-MSM-CPU-7-0]
algo_type ss
sampling 200
sensor skin-msm-therm
device cpu7
set_point 48000
set_point_clr 46000
time_constant 0
device_max_limit 1920000
Thermal Zones
[THERMAL_ZONE_0]
algo_type user_space
sensor aoss0-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_1]
algo_type user_space
sensor cpu-0-0-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_2]
algo_type user_space
sensor cpu-0-1-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_3]
algo_type user_space
sensor cpu-0-2-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_4]
algo_type user_space
sensor cpu-0-3-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_5]
algo_type user_space
sensor cpuss-0-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_6]
algo_type user_space
sensor cpuss-1-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_7]
algo_type user_space
sensor cpu-1-0-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_8]
algo_type user_space
sensor cpu-1-1-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_9]
algo_type user_space
sensor cpu-1-2-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_10]
algo_type user_space
sensor cpu-1-3-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_11]
algo_type user_space
sensor cpu-1-4-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_12]
algo_type user_space
sensor cpu-1-5-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_13]
algo_type user_space
sensor cpu-1-6-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_14]
algo_type user_space
sensor cpu-1-7-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_15]
algo_type user_space
sensor gpuss-0-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_16]
algo_type user_space
sensor aoss-1-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_17]
algo_type user_space
sensor cwlan-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_18]
algo_type user_space
sensor video-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_19]
algo_type user_space
sensor ddr-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_20]
algo_type user_space
sensor q6-hvx-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_21]
algo_type user_space
sensor camera-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_22]
algo_type user_space
sensor cmpss-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_23]
algo_type user_space
sensor mdm-core-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_24]
algo_type user_space
sensor npu-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_25]
algo_type user_space
sensor mdm-vec-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_26]
algo_type user_space
sensor mdm-scl-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_27]
algo_type user_space
sensor gpuss-1-usr
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_28]
algo_type low_limits_floor
sensor cpu-1-7-lowf
polling_delay 0
passive_delay 0
set_temp 5000
clr_temp 10000
[THERMAL_ZONE_29]
algo_type low_limits_floor
sensor gpuss-0-lowf
polling_delay 0
passive_delay 0
set_temp 5000
clr_temp 10000
[THERMAL_ZONE_30]
algo_type low_limits_floor
sensor camera-lowf
polling_delay 0
passive_delay 0
set_temp 5000
clr_temp 10000
[THERMAL_ZONE_31]
algo_type low_limits_floor
sensor mdm-scl-lowf
polling_delay 0
passive_delay 0
set_temp 5000
clr_temp 10000
[THERMAL_ZONE_32]
algo_type step_wise
sensor gpuss-max-step
polling_delay 100
passive_delay 10
set_temp 85000
clr_temp 85000
device gpu
upper_limit 04
lower_limit 00
[THERMAL_ZONE_33]
algo_type step_wise
sensor apc-0-max-step
polling_delay 0
passive_delay 0
set_temp 120000
clr_temp 120000
[THERMAL_ZONE_34]
algo_type step_wise
sensor apc-1-max-step
polling_delay 0
passive_delay 0
set_temp 120000
clr_temp 120000
[THERMAL_ZONE_35]
algo_type step_wise
sensor pop-mem-step
polling_delay 0
passive_delay 10
set_temp 95000
clr_temp 95000
device cpu4+cpu5+cpu6+cpu7
upper_limit 16+16+16+19
lower_limit 00+00+00+00
[THERMAL_ZONE_36]
algo_type user_space
sensor lmh-dcvs-01
polling_delay 0
passive_delay 0
set_temp 85000
clr_temp 60000
[THERMAL_ZONE_37]
algo_type user_space
sensor lmh-dcvs-00
polling_delay 0
passive_delay 0
set_temp 85000
clr_temp 60000
[THERMAL_ZONE_38]
algo_type step_wise
sensor npu-step
polling_delay 0
passive_delay 10
set_temp 95000
clr_temp 95000
device npu
upper_limit 05
lower_limit 00
[THERMAL_ZONE_39]
algo_type step_wise
sensor cpu-0-0-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu0
upper_limit 18
lower_limit 18
[THERMAL_ZONE_40]
algo_type step_wise
sensor cpu-0-1-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu1
upper_limit 18
lower_limit 18
[THERMAL_ZONE_41]
algo_type step_wise
sensor cpu-0-2-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu2
upper_limit 18
lower_limit 18
[THERMAL_ZONE_42]
algo_type step_wise
sensor cpu-0-3-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu3
upper_limit 18
lower_limit 18
[THERMAL_ZONE_43]
algo_type step_wise
sensor cpu-1-0-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu4
upper_limit 17
lower_limit 17
[THERMAL_ZONE_44]
algo_type step_wise
sensor cpu-1-1-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu5
upper_limit 17
lower_limit 17
[THERMAL_ZONE_45]
algo_type step_wise
sensor cpu-1-2-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu6
upper_limit 17
lower_limit 17
[THERMAL_ZONE_46]
algo_type step_wise
sensor cpu-1-3-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu7
upper_limit 20
lower_limit 20
[THERMAL_ZONE_47]
algo_type step_wise
sensor cpu-1-4-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu4
upper_limit 17
lower_limit 17
[THERMAL_ZONE_48]
algo_type step_wise
sensor cpu-1-5-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu5
upper_limit 17
lower_limit 17
[THERMAL_ZONE_49]
algo_type step_wise
sensor cpu-1-6-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu6
upper_limit 17
lower_limit 17
[THERMAL_ZONE_50]
algo_type step_wise
sensor cpu-1-7-step
polling_delay 0
passive_delay 0
set_temp 110000
clr_temp 100000
device cpu7
upper_limit 20
lower_limit 20
[THERMAL_ZONE_51]
algo_type step_wise
sensor pop-mem-test
polling_delay 0
passive_delay 10
set_temp 125000
clr_temp 125000
device panel0-backlight+panel0-hbm+modem0_pa+modem0_proc+modem0_current+modem0_skin
upper_limit 1023+1023+03+03+03+03
lower_limit 00+00+00+00+00+00
[THERMAL_ZONE_52]
algo_type step_wise
sensor q6-hvx-step
polling_delay 0
passive_delay 10
set_temp 95000 105000
clr_temp 95000 100000
device cdsp cdsp
upper_limit 06 06
lower_limit 00 06
[THERMAL_ZONE_53]
algo_type step_wise
sensor pm8150_tz
polling_delay 0
passive_delay 100
set_temp 95000 115000 145000
clr_temp 95000 115000 145000
device cpu0+cpu1+cpu2+cpu3+cpu4+cpu5+cpu6+cpu7 cpu1+cpu2+cpu3+cpu4+cpu5+cpu6+cpu7
upper_limit 17+17+17+17+16+16+16+19 18+18+18+17+17+17+20
lower_limit 17+17+17+17+16+16+16+19 18+18+18+17+17+17+20
[THERMAL_ZONE_54]
algo_type user_space
sensor pm8150b-wp-therm
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_55]
algo_type step_wise
sensor pm8150b_tz
polling_delay 0
passive_delay 100
set_temp 95000 115000 145000
clr_temp 95000 115000 145000
device battery battery
upper_limit 05 06
lower_limit 05 06
[THERMAL_ZONE_56]
algo_type step_wise
sensor pm8150b-ibat-lvl0
polling_delay 0
passive_delay 0
set_temp 4500
clr_temp 4300
[THERMAL_ZONE_57]
algo_type step_wise
sensor pm8150b-ibat-lvl1
polling_delay 0
passive_delay 0
set_temp 5000
clr_temp 4800
[THERMAL_ZONE_58]
algo_type low_limits_cap
sensor pm8150b-vbat-lvl0
polling_delay 0
passive_delay 0
set_temp 2989
clr_temp 3189
[THERMAL_ZONE_59]
algo_type low_limits_cap
sensor pm8150b-vbat-lvl1
polling_delay 0
passive_delay 0
set_temp 2800
clr_temp 3000
[THERMAL_ZONE_60]
algo_type low_limits_cap
sensor pm8150b-vbat-lvl2
polling_delay 0
passive_delay 0
set_temp 2600
clr_temp 2800
[THERMAL_ZONE_61]
algo_type step_wise
sensor pm8150b-bcl-lvl0
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu+cpu4+cpu5
upper_limit 02+17+17
lower_limit 02+17+17
[THERMAL_ZONE_62]
algo_type step_wise
sensor pm8150b-bcl-lvl1
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu+cpu6+cpu7
upper_limit 04+17+20
lower_limit 04+17+20
[THERMAL_ZONE_63]
algo_type step_wise
sensor pm8150b-bcl-lvl2
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu
upper_limit 04
lower_limit 04
[THERMAL_ZONE_64]
algo_type low_limits_cap
sensor soc
polling_delay 0
passive_delay 100
set_temp 10
clr_temp 10
device cpu4+cpu5+cpu6+cpu7
upper_limit 17+17+17+20
lower_limit 17+17+17+20
[THERMAL_ZONE_65]
algo_type step_wise
sensor pm8150l_tz
polling_delay 0
passive_delay 100
set_temp 95000 115000 145000
clr_temp 95000 115000 145000
[THERMAL_ZONE_66]
algo_type low_limits_cap
sensor pm8150l-vph-lvl0
polling_delay 0
passive_delay 0
set_temp 2989
clr_temp 3189
[THERMAL_ZONE_67]
algo_type low_limits_cap
sensor pm8150l-vph-lvl1
polling_delay 0
passive_delay 0
set_temp 2750
clr_temp 2950
[THERMAL_ZONE_68]
algo_type low_limits_cap
sensor pm8150l-vph-lvl2
polling_delay 0
passive_delay 0
set_temp 2500
clr_temp 2700
[THERMAL_ZONE_69]
algo_type step_wise
sensor pm8150l-bcl-lvl0
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu+cpu4+cpu5
upper_limit 02+17+17
lower_limit 02+17+17
[THERMAL_ZONE_70]
algo_type step_wise
sensor pm8150l-bcl-lvl1
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu+cpu6+cpu7
upper_limit 04+17+20
lower_limit 04+17+20
[THERMAL_ZONE_71]
algo_type step_wise
sensor pm8150l-bcl-lvl2
polling_delay 0
passive_delay 100
set_temp 1
clr_temp 0
device gpu
upper_limit 04
lower_limit 04
[THERMAL_ZONE_72]
algo_type user_space
sensor wp-therm
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_73]
algo_type user_space
sensor xo-therm
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_74]
algo_type user_space
sensor skin-therm
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_75]
algo_type user_space
sensor pa-therm1
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_76]
algo_type user_space
sensor camera-flash-therm
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[THERMAL_ZONE_77]
algo_type user_space
sensor skin-msm-therm
polling_delay 0
passive_delay 0
set_temp 48000
clr_temp 44000
[THERMAL_ZONE_78]
algo_type user_space
sensor pa-therm2
polling_delay 0
passive_delay 0
set_temp 125000
clr_temp 124000
[Error_THERMAL_ZONE_79]
[Error_THERMAL_ZONE_80]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment