summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-07-22 16:49:11 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-07-26 15:48:43 +0000
commit9a9df66b30166be11abee99a3dbfd5905b01de56 (patch)
treee5f30b3dbd2e734de99d15c329fa393fa02bfc50
parentafe3abb76d1a1b2945351fad48dce6d3a511ff31 (diff)
shinano: reconfigure bt for sony libbt
Change-Id: I8a756b1d9f35ef2c72062727858b16ef34e98cfa
-rw-r--r--bluetooth/vnd_shinano.txt5
-rw-r--r--proprietary-files.txt4
-rw-r--r--rootdir/init.qcom.rc4
3 files changed, 6 insertions, 7 deletions
diff --git a/bluetooth/vnd_shinano.txt b/bluetooth/vnd_shinano.txt
index 71eae53..d17d44e 100644
--- a/bluetooth/vnd_shinano.txt
+++ b/bluetooth/vnd_shinano.txt
@@ -1,12 +1,7 @@
BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyHS0"
FW_PATCHFILE_LOCATION = "/system/etc/firmware"
-BT_WAKE_VIA_PROC = TRUE
-UART_TARGET_BAUD_RATE = 4000000
LPM_IDLE_TIMEOUT_MULTIPLE = 5
-LPM_BT_WAKE_POLARITY = 0
-LPM_HOST_WAKE_POLARITY = 0
SCO_USE_I2S_INTERFACE = FALSE
-SCO_I2SPCM_IF_ROLE = 0
BTVND_DBG = FALSE
BTHW_DBG = TRUE
VNDUSERIAL_DBG = FALSE
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 2613328..1c5f543 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -38,6 +38,10 @@ bin/btnvtool
bin/hci_qcomm_init
vendor/lib/libbtnv.so
+# Bluetooth BLOBS
+lib/libbt-hci.so
+vendor/lib/libbt-vendor.so
+
# Camera
bin/mm-qcamera-daemon
etc/firmware/cpp_firmware_v1_1_1.fw
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 33ea61e..545567d 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -58,8 +58,8 @@ on init
chown bluetooth net_bt_stack 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 net_bt_stack /proc/bluetooth/wakeup/proto
+ chmod 0664 /proc/bluetooth/wakeup/proto
# Enable ramdumps from subsystems to dump
# Should be initialized during init