summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--bluetooth/vnd_espresso.txt12
-rwxr-xr-xinit.espresso.rc9
3 files changed, 13 insertions, 9 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index cdbafd3..97a9a73 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -90,6 +90,7 @@ BOARD_LEGACY_NL80211_STA_EVENTS := true
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/p3100/bluetooth
+BOARD_BLUEDROID_VENDOR_CONF := device/samsung/p3100/bluetooth/vnd_espresso.txt
# Security
BOARD_USES_SECURE_SERVICES := true
diff --git a/bluetooth/vnd_espresso.txt b/bluetooth/vnd_espresso.txt
new file mode 100644
index 0000000..b17d53c
--- /dev/null
+++ b/bluetooth/vnd_espresso.txt
@@ -0,0 +1,12 @@
+BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyO1"
+FW_PATCHFILE_LOCATION = "/vendor/firmware/"
+FW_PATCH_SETTLEMENT_DELAY_MS = 50
+UART_TARGET_BAUD_RATE = 3000000
+LPM_IDLE_TIMEOUT_MULTIPLE = 5
+BTVND_DBG = FALSE
+BTHW_DBG = TRUE
+VNDUSERIAL_DBG = FALSE
+UPIO_DBG = FALSE
+SCO_PCM_IF_CLOCK_RATE = 0
+PCM_DATA_FMT_FILL_METHOD = 3
+PCM_DATA_FMT_FILL_NUM = 3
diff --git a/init.espresso.rc b/init.espresso.rc
index 3cb1418..d04744a 100755
--- a/init.espresso.rc
+++ b/init.espresso.rc
@@ -268,15 +268,6 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \
group drmrpc
neshot
-service hciattach /system/bin/brcm_patchram_plus --enable_hci --no2bytes --enable_lpm \
- --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download \
- --patchram /vendor/firmware/BCM4330.hcd /dev/ttyO1
- class main
- user bluetooth
- group bluetooth net_bt_admin
- disabled
- oneshot
-
service orientationd /system/bin/orientationd
class main
user compass