summaryrefslogtreecommitdiffstats
path: root/agl-systemd/99-basesystem.rules
diff options
context:
space:
mode:
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-30 15:55:03 +0900
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-30 16:34:40 +0900
commit96b0b0d6ac11323456912b3148b8d183ee9c627a (patch)
tree5e4668350012285fb831c58ef20d4930421f2a2b /agl-systemd/99-basesystem.rules
parentb852ab28854769b90e68a474d479fcde33e5b950 (diff)
Reworked by rearranging agl-systemd's recipe
The current AGL is running the process as root user. Therefore, there is no need to configure the capability. This patch changes the script to not run the capability setting. I'm not sure if these scripts are working as expected now. Toyota will not implement the capability settings this time. This will be worked out in future Production Readiness activities. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ie425edd64441f7526f0774e75011b594802fbd4a
Diffstat (limited to 'agl-systemd/99-basesystem.rules')
-rwxr-xr-xagl-systemd/99-basesystem.rules11
1 files changed, 11 insertions, 0 deletions
diff --git a/agl-systemd/99-basesystem.rules b/agl-systemd/99-basesystem.rules
new file mode 100755
index 0000000..dd4e245
--- /dev/null
+++ b/agl-systemd/99-basesystem.rules
@@ -0,0 +1,11 @@
+#modify sound related device permissions
+
+SUBSYSTEM=="sound",MODE="0666"
+
+#modify dri related device permissions
+
+SUBSYSTEM=="drm",MODE="0777"
+
+#modify agl/evk related device permissions
+
+SUBSYSTEM=="evk",KERNEL=="agl/evk",MODE="0666"