diff options
author | Matthew Xie <mattx@google.com> | 2014-09-11 00:15:54 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2014-09-11 00:15:54 -0700 |
commit | 354446b24fa993d7e7414312ffe306213e9b5368 (patch) | |
tree | 33fe72b22d405481f874d178d24235bdfb99d946 /init.shamu.rc | |
parent | 9af2e9395a7b9c7161e91112e42d16d2ec1774be (diff) | |
download | shamu-354446b24fa993d7e7414312ffe306213e9b5368.tar.gz |
Assign bluetooth resources to bt stack group so that 2nd user can access
bug 17458717
Change-Id: Ibe9302b13ee7363369c40e62c7f625c38b8a8643
Diffstat (limited to 'init.shamu.rc')
-rw-r--r-- | init.shamu.rc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/init.shamu.rc b/init.shamu.rc index 1fce8aa9..9560e37f 100644 --- a/init.shamu.rc +++ b/init.shamu.rc @@ -113,29 +113,29 @@ on early-boot on boot insmod /system/lib/modules/adsprpc.ko insmod /system/lib/modules/mhi.ko - 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 bluetooth /proc/bluetooth/sleep/proto - chown bluetooth bluetooth /proc/bluetooth/sleep/lpm - chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite - chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_lpm - chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_btwrite + chown bluetooth net_bt_stack /sys/module/bluetooth_power/parameters/power + chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type + chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state + chown bluetooth net_bt_stack /proc/bluetooth/sleep/proto + chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm + chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite + chown bluetooth net_bt_stack /sys/module/hci_uart/parameters/ath_lpm + chown bluetooth net_bt_stack /sys/module/hci_uart/parameters/ath_btwrite chown system system /sys/module/sco/parameters/disable_esco - chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set + chown bluetooth net_bt_stack /sys/module/hci_smd/parameters/hcismd_set chmod 0660 /sys/module/bluetooth_power/parameters/power 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_stack /dev/ttyHS0 chmod 0660 /sys/module/hci_uart/parameters/ath_lpm chmod 0660 /sys/module/hci_uart/parameters/ath_btwrite 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 chmod 0660 /dev/ttyHS2 - chown bluetooth bluetooth /dev/ttyHS2 + chown bluetooth net_bt_stack /dev/ttyHS2 #Create QMUX deamon socket area mkdir /dev/socket/qmux_radio 0770 radio radio @@ -172,7 +172,7 @@ on boot #BT DUN port-bridge chmod 0660 /dev/smd7 - chown bluetooth bluetooth /dev/smd7 + chown bluetooth net_bt_stack /dev/smd7 #For bridgemgr daemon to inform the USB driver of the correct transport chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport |