diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2013-03-22 08:48:29 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2013-03-22 08:48:29 +0900 |
commit | ee672ece1a5fbe6a70ab31eb1bcdfe1ede22a770 (patch) | |
tree | b9c2f8aa10ebd7dc342bbcb320837fc04b58f603 /scripts | |
parent | 4ac3bb83dbc47c947cf7890d9d2323c6f6186ad5 (diff) | |
download | bluetooth-firmware-bcm-ee672ece1a5fbe6a70ab31eb1bcdfe1ede22a770.tar.gz bluetooth-firmware-bcm-ee672ece1a5fbe6a70ab31eb1bcdfe1ede22a770.tar.bz2 bluetooth-firmware-bcm-ee672ece1a5fbe6a70ab31eb1bcdfe1ede22a770.zip |
Merge branch 'master' into tizen_2.1
Change-Id: I68ecb9f9f58954c847085c996e53cbe094fcf8db
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bt-dev-end.sh | 4 | ||||
-rwxr-xr-x | scripts/bt-dev-start-c210.sh | 4 | ||||
-rwxr-xr-x | scripts/bt-dev-start-e4412.sh | 2 | ||||
-rwxr-xr-x | scripts/bt-set-addr.sh | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/scripts/bt-dev-end.sh b/scripts/bt-dev-end.sh index ef4731e..cb57537 100755 --- a/scripts/bt-dev-end.sh +++ b/scripts/bt-dev-end.sh @@ -17,11 +17,11 @@ if [ $REVISION_NUM == "0006" ]; then exit 0 fi -killall hciattach - # Turn off Bluetooth Chip rfkill block bluetooth +killall hciattach + #if [ -e /sys/class/gpio/gpio17/value ] #then # # Reset BT chip diff --git a/scripts/bt-dev-start-c210.sh b/scripts/bt-dev-start-c210.sh index d87f35d..386fd24 100755 --- a/scripts/bt-dev-start-c210.sh +++ b/scripts/bt-dev-start-c210.sh @@ -22,7 +22,7 @@ then mknod $BT_UART_DEVICE c 204 64 fi -if [ ! -e /opt/etc/.bd_addr ] +if [ ! -e /csa/bluetooth/.bd_addr ] then # Set BT address /usr/bin/setbd @@ -39,7 +39,7 @@ else echo "Bluetooth device is DOWN" echo "Registering Bluetooth device" - $BCM_TOOL $BT_UART_DEVICE -FILE=/usr/etc/bluetooth/$BCM_FIRMWARE -BAUD=$UART_SPEED -ADDR=/opt/etc/.bd_addr -SETSCO=0,0,0,0,0,0,0,3,3,0 -LP > /dev/null 2>&1 + $BCM_TOOL $BT_UART_DEVICE -FILE=/usr/etc/bluetooth/$BCM_FIRMWARE -BAUD=$UART_SPEED -ADDR=/csa/bluetooth/.bd_addr -SETSCO=0,0,0,0,0,0,0,3,3,0 -LP > /dev/null 2>&1 # Attaching Broadcom device if (/usr/sbin/hciattach $BT_UART_DEVICE -s $UART_SPEED $BT_CHIP_TYPE $UART_SPEED flow); then diff --git a/scripts/bt-dev-start-e4412.sh b/scripts/bt-dev-start-e4412.sh index 96023e5..5c58e8c 100755 --- a/scripts/bt-dev-start-e4412.sh +++ b/scripts/bt-dev-start-e4412.sh @@ -25,7 +25,7 @@ then mknod $BT_UART_DEVICE c 204 64 fi -if [ ! -e /opt/etc/.bd_addr ] +if [ ! -e /csa/bluetooth/.bd_addr ] then # Set BT address /usr/bin/setbd diff --git a/scripts/bt-set-addr.sh b/scripts/bt-set-addr.sh index 57b2d02..8fcb3f2 100755 --- a/scripts/bt-set-addr.sh +++ b/scripts/bt-set-addr.sh @@ -4,7 +4,7 @@ # Script for setting Bluetooth Address # -if [ -e /opt/etc/.bd_addr ] +if [ -e /csa/bluetooth/.bd_addr ] then echo "Already .bd_addr exists" exit 0 |