sm8550-common: init: Add Init-Service for fan service on Kalama HHG
Add service to control fan speed and could be enabled by setting property. Change-Id: I17037028c506095210ee89002413adc920c29147
This commit is contained in:
@@ -181,6 +181,18 @@ on early-boot && property:persist.vendor.pcie.boot_option=*
|
|||||||
write /sys/bus/platform/devices/1c00000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
write /sys/bus/platform/devices/1c00000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
||||||
write /sys/bus/platform/devices/1c08000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
write /sys/bus/platform/devices/1c08000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
|
||||||
|
|
||||||
|
service fan_control_turn_on /vendor/bin/fan_service 1
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service fan_control_turn_off /vendor/bin/fan_service 0
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
||||||
override
|
override
|
||||||
class hal
|
class hal
|
||||||
|
Reference in New Issue
Block a user