init.qcom.rc: set permission of node hpd to system graphics

Change-Id: I6570f8711ac8823e1c25498cc2b5b5bfeebd476f
This commit is contained in:
Arun Kumar K.R 2012-07-13 21:36:57 -07:00
parent 24f2959aff
commit 5b9ef22557
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ on boot
# create symlink for fb1 as HDMI # create symlink for fb1 as HDMI
symlink /dev/graphics/fb1 /dev/graphics/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/hpd
chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode
chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d