thermal: allow thermal_controld to overwrite CDEV state
Bug: 236698810 Test: adb shell setprop persist.vendor.disable.thermal.control 1 Change-Id: I71a34a4563c4b799ed1bd8fddac2f26f1b97431d
This commit is contained in:
parent
06bad57683
commit
210934874c
1 changed files with 9 additions and 0 deletions
|
@ -976,14 +976,23 @@ on property:vendor.thermal.link_ready=1
|
|||
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/trip_point_0_temp
|
||||
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/trip_point_0_hyst
|
||||
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/emul_temp
|
||||
chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
|
||||
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
|
||||
chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
|
||||
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
|
||||
chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
|
||||
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
|
||||
chmod 664 /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
|
||||
chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
|
||||
chmod 664 /dev/thermal/cdev-by-name/tpu_cooling/user_vote
|
||||
chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
|
||||
chmod 664 /dev/thermal/cdev-by-name/fcc/cur_state
|
||||
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
|
||||
chmod 664 /dev/thermal/cdev-by-name/dc_icl/cur_state
|
||||
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
|
||||
chmod 664 /dev/thermal/cdev-by-name/wlc_fcc/cur_state
|
||||
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
|
||||
chmod 664 /dev/thermal/cdev-by-name/usbc-port/cur_state
|
||||
chown system system /dev/thermal/cdev-by-name/usbc-port/cur_state
|
||||
|
||||
on charger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue