aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.qcom.rc12
-rw-r--r--rootdir/ueventd.qcom.rc4
2 files changed, 7 insertions, 9 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index d88780d..aa8e7ad 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -59,8 +59,8 @@ on init
chown bluetooth bluetooth ${ro.bt.bdaddr_path}
# bluetooth LPM
- chown bluetooth bluetooth /proc/bluetooth/sleep/lpm
- chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite
+ chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
+ chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
@@ -107,12 +107,12 @@ on early-boot
on boot
write /sys/module/qpnp_power_on/parameters/forcecrash_on 1
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
+ chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
+ chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
chmod 0660 /sys/class/rfkill/rfkill0/state
- chown bluetooth bluetooth /dev/ttyHS0
+ chown bluetooth net_bt_stack /dev/ttyHS0
chmod 0660 /dev/ttyHS0
- chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
+ chown bluetooth net_bt_stack /sys/devices/platform/msm_serial_hs.0/clock
chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
# Create QMUX deamon socket area
diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc
index 52b8959..12b1afd 100644
--- a/rootdir/ueventd.qcom.rc
+++ b/rootdir/ueventd.qcom.rc
@@ -42,12 +42,12 @@
/dev/smd5 0660 system system
/dev/smd6 0660 system system
/dev/smd7 0660 bluetooth bluetooth
+/dev/ttyHS0 0660 bluetooth net_bt_stack
#permissions for CSVT
/dev/smd11 0660 radio radio
/dev/radio0 0640 system system
-/dev/rfcomm0 0660 bluetooth bluetooth
/dev/smdcntl0 0640 radio radio
/dev/smdcntl1 0640 radio radio
/dev/smdcntl2 0640 radio radio
@@ -137,8 +137,6 @@
/dev/msm_preproc_ctl 0660 system audio
/dev/msm_rtac 0660 system audio
/dev/msm_voicememo 0660 system audio
-/dev/smd3 0660 bluetooth net_bt_stack
-/dev/smd2 0660 bluetooth net_bt_stack
/dev/ttyHSL1 0660 system system
/dev/mdm 0660 system radio
/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio