diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-11-25 16:58:33 +0100 |
---|---|---|
committer | Chirayu Desai <chirayudesai1@gmail.com> | 2014-11-28 19:30:11 +0530 |
commit | d09aa420677b047f39717496182614121d27b962 (patch) | |
tree | 3205f21052b87bd4d9eea10b5719413f1bdcbcec /rootdir | |
parent | eb46a57e3ee8fd36aff4d8968c5f7d0ea9a34d17 (diff) |
Bluetooth updates
* Update permissions for Lollipop
* Remove hci_qcomm_init as it is for qcom bt and we have bcm
* Remove btnv, not used by open libbt-vendor, nor by us.
Change-Id: I8d9f610129af5e3f298eed1def3d0211244c344e
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.qcom.rc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index a6fe971..df7d88f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -57,11 +57,11 @@ on init # Bluetooth address setting setprop ro.bt.bdaddr_path "/data/etc/bluetooth_bdaddr" - chown bluetooth net_bt_stack ro.bt.bdaddr_path + chown bluetooth bluetooth ${ro.bt.bdaddr_path} # bluetooth LPM - chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm - chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite + chown bluetooth bluetooth /proc/bluetooth/sleep/lpm + chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 @@ -124,13 +124,13 @@ on boot write /sys/module/msm_thermal/core_control/enabled 1 write /sys/module/qpnp_power_on/parameters/forcecrash_on 1 - exec /system/bin/btnvtool -O - chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type - chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state + + chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type + chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state chmod 0660 /sys/class/rfkill/rfkill0/state - chown bluetooth net_bt_stack /dev/ttyHS0 + chown bluetooth bluetooth /dev/ttyHS0 chmod 0660 /dev/ttyHS0 - chown bluetooth net_bt_stack /sys/devices/platform/msm_serial_hs.0/clock + chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock # Create QMUX deamon socket area @@ -138,7 +138,7 @@ on boot chmod 2770 /dev/socket/qmux_radio mkdir /dev/socket/qmux_audio 0770 media audio chmod 2770 /dev/socket/qmux_audio - mkdir /dev/socket/qmux_bluetooth 0770 bluetooth net_bt_stack + mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth chmod 2770 /dev/socket/qmux_bluetooth mkdir /dev/socket/qmux_gps 0770 gps gps chmod 2770 /dev/socket/qmux_gps @@ -397,7 +397,7 @@ on property:init.svc.wpa_supplicant=stopped service qmuxd /system/bin/qmuxd class main user radio - group radio audio bluetooth gps qcom_diag net_bt_stack + group radio audio bluetooth gps qcom_diag # SONY: TrimArea Daemon # Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb)) |