diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-13 20:54:44 +0100 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-13 20:56:17 +0100 |
commit | 4cf95bb3ead28152c73a143681b9ee43ddc268f0 (patch) | |
tree | cd019ee30db2a7f5f9a60c0d1ee9f2d77e090e3d | |
parent | 9ecbde37ce951782e10256e2ecceb85c1b95cb99 (diff) | |
download | device_samsung_p5100-4cf95bb3ead28152c73a143681b9ee43ddc268f0.zip device_samsung_p5100-4cf95bb3ead28152c73a143681b9ee43ddc268f0.tar.gz device_samsung_p5100-4cf95bb3ead28152c73a143681b9ee43ddc268f0.tar.bz2 |
p51xx: provide bluedroid config
Change-Id: I2c8ee22023b14662cbb91805993d6734ad92f9f3
-rw-r--r-- | BoardConfigCommon.mk | 1 | ||||
-rw-r--r-- | bluetooth/vnd_espresso10.txt | 12 | ||||
-rwxr-xr-x | init.espresso10.rc | 9 |
3 files changed, 13 insertions, 9 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 79a88d5..ef19da3 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/p5100/bluetooth +BOARD_BLUEDROID_VENDOR_CONF := device/samsung/p5100/bluetooth/vnd_espresso10.txt # Security BOARD_USES_SECURE_SERVICES := true diff --git a/bluetooth/vnd_espresso10.txt b/bluetooth/vnd_espresso10.txt new file mode 100644 index 0000000..b17d53c --- /dev/null +++ b/bluetooth/vnd_espresso10.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.espresso10.rc b/init.espresso10.rc index 6b7304c..f8cb6cf 100755 --- a/init.espresso10.rc +++ b/init.espresso10.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 |