From d09aa420677b047f39717496182614121d27b962 Mon Sep 17 00:00:00 2001 From: Giulio Cervera Date: Tue, 25 Nov 2014 16:58:33 +0100 Subject: 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 --- rootdir/init.qcom.rc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'rootdir') 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)) -- cgit v1.2.3