summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2021-12-07 21:44:15 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2021-12-09 00:27:48 +0800
commite68dc5939f5ebf971d2169634b8cc51ae0fa8bbf (patch)
tree8227a98daccebc1e27981f8983a600f2a59217c1
parentb96fc216575927fa1467782d14dc778cee0e7036 (diff)
downloadbeagle-x15-e68dc5939f5ebf971d2169634b8cc51ae0fa8bbf.tar.gz
ueventd.beagle_x15board.rc: set /dev/ion accessible for all users
otherwise, we will see following errors in the logcat, 11-26 22:23:56.590 497 694 D C2Store : Using ION 11-26 22:23:56.590 497 694 E ion : open /dev/ion failed: Permission denied and cause the build failed to boot to the homescreen Fixes: 179289210 Test: booted with the 4.14, 4.19, 5.4, android-mainline kernels Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: I1b55693427cd1c3953d577dce0c93c5215c475a0
-rw-r--r--ueventd.beagle_x15board.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ueventd.beagle_x15board.rc b/ueventd.beagle_x15board.rc
index 42fdd37..cea043d 100644
--- a/ueventd.beagle_x15board.rc
+++ b/ueventd.beagle_x15board.rc
@@ -4,3 +4,8 @@ modalias_handling enabled
# for android sync framework
/dev/pvr_sync 0666 system graphics
/dev/pvrsrvkm 0666 system graphics
+
+# for C2Store use, do not really care about the graphics group here
+# but it seems to be used by the gralloc.am57x.so library too,
+# set it to graphics for now
+/dev/ion 0666 system graphics