aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvm03 <vasy@vasy.ru>2017-01-20 16:34:32 +0300
committervm03 <vasy@vasy.ru>2017-01-20 21:55:06 +0300
commit40d784fd8a762f1377d180a51332be63c72c5d2f (patch)
tree66997ea9094b96147d4629ea487ea980d72f9795
parent14adb9e88745cb72e5adfc37c44bef2078f96233 (diff)
fm: add brcm service
Change-Id: Ie905f373174675e90d1f6791972aef02f2b5b21c
-rw-r--r--rootdir/init.qcom.rc7
-rw-r--r--rootdir/ueventd.qcom.rc3
2 files changed, 10 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 8a1a999..765d7f8 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -526,6 +526,13 @@ service brcm_hwaddrs2 /system/bin/bdaddr_loader
oneshot
disabled
+# brcm-uim-sysfs (BT/FM/ANT+)
+service uim /system/bin/brcm-uim-sysfs
+ class late_start
+ user root
+ group bluetooth net_bt_admin net_bt
+ seclabel u:r:uim:s0
+
on property:init.svc.brcm_hwaddrs=stopped
chmod 644 /data/misc/wifi/config
chmod 644 /data/misc/bdaddr
diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc
index 29d4e0b..bacea64 100644
--- a/rootdir/ueventd.qcom.rc
+++ b/rootdir/ueventd.qcom.rc
@@ -197,3 +197,6 @@
# Begin Immersion changes
/dev/tspdrv 0660 system system
# End Immersion changes
+
+# BT/FM/ANT+ V4L2
+/dev/brcm_bt_drv 0660 bluetooth net_bt_stack