From 5b9ef2255799ff6c115ce5c04a5967f4473d19ef Mon Sep 17 00:00:00 2001 From: "Arun Kumar K.R" Date: Fri, 13 Jul 2012 21:36:57 -0700 Subject: [PATCH] init.qcom.rc: set permission of node hpd to system graphics Change-Id: I6570f8711ac8823e1c25498cc2b5b5bfeebd476f --- rootdir/etc/init.qcom.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 9c866b67..caf6025d 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -97,7 +97,8 @@ on boot # create symlink for fb1 as HDMI symlink /dev/graphics/fb1 /dev/graphics/hdmi - # Remove write permissions to video related nodes + # setup permissions for fb1 related nodes + chown system graphics /sys/class/graphics/fb1/hpd chmod 0664 /sys/devices/virtual/graphics/fb1/hpd chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d