summaryrefslogtreecommitdiffstats
path: root/recipes-config/unicens-config/files
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-07-04 09:05:11 -0400
committerScott Murray <scott.murray@konsulko.com>2019-07-04 09:05:11 -0400
commitcacd748d8ff65621a88bd35199414423392e0f4c (patch)
tree380dd6c87763f0c231cf2852e32e9624927a078b /recipes-config/unicens-config/files
parent9c3a673987e169539c75e6b57d80dd61f8eb78d9 (diff)
unicens-config: Add udev rules for inic devices
Install a udev rules file in the unicens-config recipe to set the group and SMACK label on the inic character devices so they are accessible by services with the new audio permission. Bug-AGL: SPEC-2591 Change-Id: I52135cf62ca8bfab0badd8850d49639d86ed73c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-config/unicens-config/files')
-rw-r--r--recipes-config/unicens-config/files/55-inic.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-config/unicens-config/files/55-inic.rules b/recipes-config/unicens-config/files/55-inic.rules
new file mode 100644
index 000000000..2da65cb80
--- /dev/null
+++ b/recipes-config/unicens-config/files/55-inic.rules
@@ -0,0 +1,4 @@
+# OS81118 devices for Microchip UNICENS
+KERNEL=="inic-usb-crx", SUBSYSTEM=="most_cdev_aim", GROUP="audio", SECLABEL{smack}="*"
+KERNEL=="inic-usb-ctx", SUBSYSTEM=="most_cdev_aim", GROUP="audio", SECLABEL{smack}="*"
+KERNEL=="inic-usb-itx1", SUBSYSTEM=="most_cdev_aim", GROUP="audio", SECLABEL{smack}="*"