summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2016-01-20 22:00:25 +0100
committerMax Weffers <rcstar6696@gmail.com>2017-01-30 15:30:30 +0100
commitcb803db5299496483da6d3a78cf2594f26e3b8ea (patch)
treeffdbd073906067d4732ef182e53ec13bab82c3d8
parent79b5447e6005e0e414eca79de3765e4c36708737 (diff)
Set s3d_mode permissions
Change-Id: I3d4d456b8cf09e9a5b98549ce38ad9a874f5e792
-rw-r--r--rootdir/init.qcom.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index aa8e7ad..19deebe 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -151,12 +151,14 @@ on boot
chown system system /sys/class/graphics/fb1/hdcp/tp
chown system graphics /sys/class/graphics/fb1/vendor_name
chown system graphics /sys/class/graphics/fb1/product_description
+ chown system graphics /sys/class/graphics/fb1/s3d_mode
chmod 0664 /sys/class/graphics/fb1/hpd
chmod 0664 /sys/class/graphics/fb1/hdcp/tp
chmod 0664 /sys/class/graphics/fb1/vendor_name
chmod 0664 /sys/class/graphics/fb1/product_description
chmod 0664 /sys/class/graphics/fb1/video_mode
chmod 0664 /sys/class/graphics/fb1/format_3d
+ chmod 0664 /sys/class/graphics/fb1/s3d_mode
# create symlink for fb1 as HDMI
symlink /dev/graphics/fb1 /dev/graphics/hdmi