From 3fd72b280ee3c5978a9bd33628ab2cf6e501c63e Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 1 Oct 2015 12:12:41 +0100 Subject: shinano-common: rootdir: Enable backlight trigger for LCD Disable backlight when blanked out. Ref: CRACKLING-626 Change-Id: Ifc698c1470b086b0e1f083c3c234f272988d108c --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 9eee4e9..df7039d 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -24,6 +24,9 @@ import /vendor/etc/init/hw/init.camera.rc on early-init mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 + # Turn off backlight on blank + write /sys/class/leds/lcd-backlight/trigger "backlight" + on init symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice -- cgit v1.2.3