Tizen 2.0 release 2.0alpha master 2.0_alpha submit/master/20120920.150936
authorJaekyun Lee <jkyun.lee@samsung.com>
Tue, 21 Aug 2012 10:26:50 +0000 (19:26 +0900)
committerJaekyun Lee <jkyun.lee@samsung.com>
Tue, 21 Aug 2012 10:26:50 +0000 (19:26 +0900)
CMakeLists.txt
debian/bluetooth-firmware-bcm.install [moved from debian/bt-firmware-43xx.install with 76% similarity]
debian/bluetooth-firmware-bcm.postinst.in [moved from debian/bt-firmware-43xx.postinst.in with 100% similarity]
debian/changelog
debian/control
debian/rules
packaging/bluetooth-firmware-bcm.spec [moved from packaging/bt-firmware-43xx.spec with 69% similarity]
scripts/bt-dev-start.sh

index 8608e04..c0285fa 100644 (file)
@@ -1,7 +1,7 @@
 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}")
similarity index 76%
rename from debian/bt-firmware-43xx.install
rename to debian/bluetooth-firmware-bcm.install
index 4ae9840..a99d1b4 100644 (file)
@@ -1,3 +1,2 @@
 usr/bin/*
 usr/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
-usr/etc/bluetooth/*
index b06cbd4..fb08aec 100755 (executable)
@@ -1,3 +1,9 @@
+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
index ec8cb24..91d830a 100644 (file)
@@ -1,23 +1,23 @@
-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.
index 116771c..531d1a1 100755 (executable)
@@ -97,7 +97,7 @@ binary-arch: build install
 #      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
similarity index 69%
rename from packaging/bt-firmware-43xx.spec
rename to packaging/bluetooth-firmware-bcm.spec
index 67c8dbb..5c06516 100644 (file)
@@ -1,13 +1,13 @@
-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
 
index 842cc14..7a3e70f 100755 (executable)
@@ -1,17 +1,16 @@
 #!/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-`
@@ -40,7 +39,7 @@ else
        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