diff --git a/redfin/init.redfin.rc b/redfin/init.redfin.rc index 7dd8762..48e4652 100644 --- a/redfin/init.redfin.rc +++ b/redfin/init.redfin.rc @@ -31,3 +31,7 @@ on property:sys.retaildemo.enabled=1 on property:sys.retaildemo.enabled=0 write /sys/class/thermal/cdev-by-name/dc_icl/cur_state 0 + +on late-init + chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_temp + chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_hyst diff --git a/thermal_info_config_redfin.json b/thermal_info_config_redfin.json index ed834d9..c47a398 100644 --- a/thermal_info_config_redfin.json +++ b/thermal_info_config_redfin.json @@ -269,6 +269,55 @@ "VrThreshold":"NAN", "Multiplier":0.001, "Monitor":true + }, + { + "Name":"panel-audio-therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "41.0", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 1.9, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001, + "Monitor":true + }, + { + "Name":"sdm-therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "HotHysteresis":[ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "VrThreshold":"NAN", + "Multiplier":0.001 } ], "CoolingDevices":[