summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorxkeita <keita_nya@live.jp>2017-06-24 21:27:03 +0000
committerxkeita <keita_nya@live.jp>2017-06-25 00:30:16 +0000
commitfa44b7ffcb052f88b2c625bb5ea57773292354e3 (patch)
tree49bcdace0d2f560e17f43bf6f83daff010a55310 /rootdir
parentd711888175862c0636accd642bc043ebd3fdca83 (diff)
shinano: init: Update bluetooth init
- Based on stock .291 kernel - Removed proto entries (they aren't used with IOCTL wake controller) - bluetooth timeout ms is no longer used by libbt Change-Id: Iddafa7217ea84238cdbe218c24ecf2f85cac615c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 41543cb..d3bb53a 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -51,13 +51,13 @@ on init
# Bluetooth address setting
setprop ro.bt.bdaddr_path "/data/etc/bluetooth_bdaddr"
- chown bluetooth bluetooth ${ro.bt.bdaddr_path}
+ chown bluetooth bluetooth ro.bt.bdaddr_path
+ #Enable Bluetooth HFP 1.6
setprop ro.bluetooth.hfp.ver 1.6
+
+ #Disable Bluetooth A2DP SNK
setprop bluetooth.a2dp.sink.enabled false
- setprop bluetooth.enable_timeout_ms 12000
- chown bluetooth net_bt_admin /proc/bluetooth/wakeup/proto
- chmod 0664 /proc/bluetooth/wakeup/proto
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
@@ -110,8 +110,8 @@ on boot
chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
- # BT DUN port-bridge
- chmod 0660 /dev/smd7
+ # BT DUN port-bridge
+ chmod 0660 /dev/smd7
chown bluetooth bluetooth /dev/smd7
chmod 0660 /sys/class/rfkill/rfkill0/state