3
0

galaxys2: add vendor bt conf, add bt-pan iface

Change-Id: Ida11505eaf2b4457a64a3d5c0ed6172f4e821378
This commit is contained in:
codeworkx 2012-12-10 20:43:51 +01:00
parent a636f884ed
commit ae51a7717f
4 changed files with 14 additions and 11 deletions

View File

@ -127,6 +127,7 @@ BOARD_LEGACY_NL80211_STA_EVENTS := true
# Bluetooth
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUEDROID_VENDOR_CONF := device/samsung/galaxys2-common/bluetooth/vnd_smdk4210.txt
# Vold
BOARD_VOLD_MAX_PARTITIONS := 12

View File

@ -0,0 +1,12 @@
BLUETOOTH_UART_DEVICE_PORT = "/dev/ttySAC0"
FW_PATCHFILE_LOCATION = "/system/bin/"
BT_WAKE_VIA_PROC = TRUE
LPM_IDLE_TIMEOUT_MULTIPLE = 5
BTVND_DBG = FALSE
BTHW_DBG = TRUE
VNDUSERIAL_DBG = FALSE
UPIO_DBG = FALSE
UART_TARGET_BAUD_RATE = 4000000
FW_PATCH_SETTLEMENT_DELAY_MS = 50
PCM_DATA_FMT_FILL_METHOD = 3
PCM_DATA_FMT_FILL_NUM = 3

View File

@ -380,16 +380,6 @@ service iprenew_p2p /system/bin/dhcpcd -n
disabled
oneshot
# for bluetooth
service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 \
--baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd \
--scopcm=0,0,0,0,0,0,0,3,3,0 /dev/ttySAC0
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
# bluetooth mac address
service bdaddr /system/bin/bdaddr_read
class main

View File

@ -80,7 +80,7 @@
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
should be empty. -->
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bnep\\d"</item>
<item>"bt-pan"</item>
</string-array>
<!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->