summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-01-17 17:44:37 -0600
committerPraneeth Bajjuri2017-08-28 00:10:53 -0500
commitf8c1993842af8c59aaec5105d50bac2b465141ac (patch)
tree7b6c7257d31304ce6a0b04a77804dd6c99a573ed
parent2596655b69965076324f64d5db40a14e6b513854 (diff)
downloaddevice-ti-am57xevm-f8c1993842af8c59aaec5105d50bac2b465141ac.tar.gz
device-ti-am57xevm-f8c1993842af8c59aaec5105d50bac2b465141ac.tar.xz
device-ti-am57xevm-f8c1993842af8c59aaec5105d50bac2b465141ac.zip
Set 'media' user for i2c devices
The i2c devices are used by the radio and APPE user-space components, mainly to configure the analog codecs for DSP rendering and to configure radio tuners. The user/group is set to media:system in order to allow the APPE part to be started from the Audio HAL (which runs as the 'media' user). At the moment, not all i2c devices are accessed by the 'media' user but having them all accessible by media user provides more flexibility in case the analog codecs are moved to different i2c buses. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [migrate from jacinto6evm to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I397b8bd1becba40f78cc91d16838a062e6ee31d0
-rw-r--r--ueventd.am57xevmboard.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ueventd.am57xevmboard.rc b/ueventd.am57xevmboard.rc
index eee9597..9ca382c 100644
--- a/ueventd.am57xevmboard.rc
+++ b/ueventd.am57xevmboard.rc
@@ -18,10 +18,10 @@
18/dev/hci_tty 0666 bluetooth bluetooth 18/dev/hci_tty 0666 bluetooth bluetooth
19 19
20# Radio Tuners 20# Radio Tuners
21/dev/i2c-0 0660 system system 21/dev/i2c-0 0660 media system
22/dev/i2c-1 0660 system system 22/dev/i2c-1 0660 media system
23/dev/i2c-3 0660 system system 23/dev/i2c-3 0660 media system
24/dev/i2c-4 0660 system system 24/dev/i2c-4 0660 media system
25 25
26# cmem 26# cmem
27/dev/cmem 0660 media system 27/dev/cmem 0660 media system