CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(FindPkgConfig)
-pkg_check_modules(package REQUIRED glib-2.0 dbus-glib-1 vconf)
+pkg_check_modules(package REQUIRED glib-2.0 vconf)
FOREACH(flag ${package_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
usr/bin/*
usr/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
-usr/etc/bluetooth/*
+bluetooth-firmware-bcm (0.1.3) unstable; urgency=low
+
+ * rename bt-firmware-43xx to bluetooth-firmware-bcm
+
+ -- Jaekyun Lee <jkyun.lee@samsung.com> Sat, 11 Aug 2012 14:26:05 +0900
+
bt-firmware-43xx (0.1.2) unstable; urgency=low
* Fix set bd bug as TAPI IMEI API deprecated
-Source: bt-firmware-43xx
+Source: bluetooth-firmware-bcm
Section: devel
Priority: optional
Maintainer: DoHyun Pyun <dh79.pyun@samsung.com>, ChanYeol Park <chanyeol.park@samsung.com>, Girish A J <girish.joshi@samsung.com>, InJun Yang <injun.yang@samsung.com>, Jaekyun Lee <jkyun.lee@samsung.com>
Uploaders: Sunil Behera <sunil.behera@samsung.com>, Syam Sidhardhan <s.syam@samsung.com>
-Build-Depends: debhelper (>= 5), libglib2.0-dev, libdbus-glib-1-dev, libvconf-dev
+Build-Depends: debhelper (>= 5), libglib2.0-dev, libvconf-dev
Standards-Version: 3.7.2
Homepage: N/A
-Package: bt-firmware-43xx
+Package: bluetooth-firmware-bcm
Architecture: any
Section: utils
Depends: ${shlibs:Depends}, ${misc:Depends}, bluetooth-tools
Description: firmware and tools
firmware and tools
-Package: bt-firmware-43xx-dbg
+Package: bluetooth-firmware-bcm-dbg
Section: debug
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, bt-firmware-43xx (= ${Source-Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, bluetooth-firmware-bcm (= ${Source-Version})
Description: Tools for bluetooth-firmware-bcm (unstripped)
The package contains detached debugging symbols for the binary packages
produced by the bt-firmware-43xx soruce.
# dh_installinfo
dh_installman
dh_link
- dh_strip --dbg-package=bt-firmware-43xx-dbg
+ dh_strip --dbg-package=bluetooth-firmware-bcm-dbg
dh_compress
dh_fixperms
# dh_perl
-Name: bt-firmware-43xx
+Name: bluetooth-firmware-bcm
Summary: firmware and tools for bluetooth
-Version: 0.1.2
+Version: 0.1.3
Release: 1
-Group: TO_BE_FILLED
-License: TO_BE_FILLED
-Source0: bluetooth-firmware-bcm-%{version}.tar.gz
+Group: Hardware Support/Handset
+License: Apache
+# NOTE: Source name does not match package name. This should be
+# resolved in the future, by I don't have that power. - Ryan Ware
+Source0: %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(dbus-glib-1)
-BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
BuildRequires: cmake
#!/bin/sh
-#
# Script for registering Broadcom UART BT device
-#
-PLUGIN_DIR=
BT_UART_DEVICE=/dev/ttySAC0
BT_CHIP_TYPE=bcm2035
-BCM_TOOL=$PLUGIN_DIR/usr/bin/bcmtool_4330b1
-BCM_FIRMWARE=BCM4330B1_002.001.003.0221.0265.hcd
+BCM_TOOL=/usr/bin/bcmtool_4330b1
-BT_PLATFORM_DEFAULT_HCI_NAME="TIZEN_BT"
+BT_PLATFORM_DEFAULT_HCI_NAME="TIZEN-Mobile"
UART_SPEED=921600
+#set default firmware
+BCM_FIRMWARE=BCM4330B1_002.001.003.0221.0265.hcd
+
REVISION_NUM=`grep Revision /proc/cpuinfo | awk "{print \\$3}"`
REVISION_HIGH=`echo $REVISION_NUM| cut -c1-2`
REVISION_LOW=`echo $REVISION_NUM| cut -c3-`
echo "Bluetooth device is DOWN"
echo "Registering Bluetooth device"
- $BCM_TOOL $BT_UART_DEVICE -FILE=$PLUGIN_DIR/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=/opt/etc/.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