summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-01-17 17:44:37 -0600
committerPraneeth Bajjuri2017-01-17 17:44:37 -0600
commit0ae05e7c46d1e66018ff408158219c437efdfb2e (patch)
tree9a5b724867e072f20a5bb8f69c7376bafb807897
parent1061301788276126ae0b3831fc2a5d462bab25f8 (diff)
downloaddevice-ti-am57xevm-0ae05e7c46d1e66018ff408158219c437efdfb2e.tar.gz
device-ti-am57xevm-0ae05e7c46d1e66018ff408158219c437efdfb2e.tar.xz
device-ti-am57xevm-0ae05e7c46d1e66018ff408158219c437efdfb2e.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 d30f01c..bf1cd0e 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 system system 27/dev/cmem 0660 system system