Bluetooth: Change Group ID of bluetooth owned files
Change bluetooth owned files group ID to net_bt - Fixes BT turn on failure in Guest mode - Provide permission to ANT to access rfkill and serial driver with net_bt group id. Change-Id: I9d8f37faf9fd17b4560491735d273a14724f1c00
This commit is contained in:
parent
31578c11c3
commit
fd5aaad0a9
|
@ -69,8 +69,8 @@ on early-boot
|
|||
|
||||
on boot
|
||||
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth bluetooth /proc/bluetooth/sleep/proto
|
||||
chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_lpm
|
||||
chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_btwrite
|
||||
|
@ -80,7 +80,7 @@ on boot
|
|||
chmod 0660 /sys/module/hci_smd/parameters/hcismd_set
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/state
|
||||
chmod 0660 /proc/bluetooth/sleep/proto
|
||||
chown bluetooth bluetooth /dev/ttyHS0
|
||||
chown bluetooth net_bt /dev/ttyHS0
|
||||
chmod 0660 /sys/module/hci_uart/parameters/ath_lpm
|
||||
chmod 0660 /sys/module/hci_uart/parameters/ath_btwrite
|
||||
chmod 0660 /dev/ttyHS0
|
||||
|
@ -90,7 +90,7 @@ on boot
|
|||
chmod 0660 /dev/ttyHS2
|
||||
chown bluetooth bluetooth /dev/ttyHS2
|
||||
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/device/extldo
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/device/extldo
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/device/extldo
|
||||
|
||||
#Create QMUX deamon socket area
|
||||
|
@ -470,7 +470,7 @@ service btsnoop /system/bin/btsnoop
|
|||
service ftmd /system/bin/logwrapper /system/bin/ftmdaemon
|
||||
class late_start
|
||||
user root
|
||||
group bluetooth net_bt_admin misc net_bt_stack qcom_diag
|
||||
group bluetooth net_bt_admin misc net_bt_stack qcom_diag net_bt
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
|
|
Loading…
Reference in New Issue