aboutsummaryrefslogtreecommitdiff
path: root/comms/bluez-firmware
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-06 04:50:54 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-06 04:50:54 +0000
commitaa6fbc1bb59a8801416a4989162a976528c386bb (patch)
treea978900a89562a225ad2538532f51180676211fa /comms/bluez-firmware
parente90091facc524493f8fdb44a20385ea211c2abaa (diff)
downloadports-aa6fbc1bb59a8801416a4989162a976528c386bb.tar.gz
ports-aa6fbc1bb59a8801416a4989162a976528c386bb.zip
Notes
Diffstat (limited to 'comms/bluez-firmware')
-rw-r--r--comms/bluez-firmware/Makefile22
-rw-r--r--comms/bluez-firmware/distinfo3
-rw-r--r--comms/bluez-firmware/pkg-descr3
-rw-r--r--comms/bluez-firmware/pkg-message39
-rw-r--r--comms/bluez-firmware/pkg-plist8
5 files changed, 75 insertions, 0 deletions
diff --git a/comms/bluez-firmware/Makefile b/comms/bluez-firmware/Makefile
new file mode 100644
index 000000000000..fd84d2509f2a
--- /dev/null
+++ b/comms/bluez-firmware/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: bluez-firmware
+# Date created: 30 July 2007
+# Whom: dirkx@webweaving.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= bluez-firmware
+PORTVERSION= 1.2
+CATEGORIES= comms kld
+MASTER_SITES= http://bluez.sourceforge.net/download/
+
+MAINTAINER= dirkx@joost.com
+COMMENT= Firmware for the D-Link BCM2033 bluetooth adaptor for use by bcmfw(1)
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--prefix=${PREFIX}
+
+post-install:
+ @${CAT} pkg-message
+
+.include <bsd.port.mk>
diff --git a/comms/bluez-firmware/distinfo b/comms/bluez-firmware/distinfo
new file mode 100644
index 000000000000..cc562984b035
--- /dev/null
+++ b/comms/bluez-firmware/distinfo
@@ -0,0 +1,3 @@
+MD5 (bluez-firmware-1.2.tar.gz) = 1cc3cefad872e937e05de5a0a2b390dd
+SHA256 (bluez-firmware-1.2.tar.gz) = b6119e118fabc6bd34584afcbe6fff00a44caeb64152b02ed57c6fba9fd99eec
+SIZE (bluez-firmware-1.2.tar.gz) = 370623
diff --git a/comms/bluez-firmware/pkg-descr b/comms/bluez-firmware/pkg-descr
new file mode 100644
index 000000000000..53b397fbeff3
--- /dev/null
+++ b/comms/bluez-firmware/pkg-descr
@@ -0,0 +1,3 @@
+Formware for the Broadcom BCM2033 chip based Bluetooth USB devices. To
+be downloaded with bcmfw(1). The ubtbcmfw(4) and ng_ubt(4) kernel
+modules need to be installed.
diff --git a/comms/bluez-firmware/pkg-message b/comms/bluez-firmware/pkg-message
new file mode 100644
index 000000000000..937c37e059a1
--- /dev/null
+++ b/comms/bluez-firmware/pkg-message
@@ -0,0 +1,39 @@
+
+NOTICE
+======
+
+You need to have the ubtbcmfw(8) and ng_ubt(8) kernel modules
+in our kernel. This can be accomplished by adding the following
+lines to /boot/loader.conf:
+
+ ubtbcmfw_load=yes
+ ng_ubt_load=yes
+
+Furthermore you need to ensure that the bcmfw(1) utility downloads
+the firmware into the dongle on insertion. This can be done by
+adding the followign lines to /etc/devd.conf:
+
+ # Requires the port BCM2033 to be installed
+ # and the ubtbcmfw(8) and ng_ubt(8) kernel modules
+ # to be loaded prior to insertion.
+ #
+ attach 100 {
+ match "vendor" "0x0a5c";
+ match "product" "0x2033";
+ action "if test -d /usr/local/lib/firmware; then bcmfw -n $device-name -m /usr/local/lib/firmware/BCM2033-MD.hex -f /usr/local/lib/firmware/BCM2033-FW.bin; fi";
+ }
+
+or alternatively load these files manually with:
+
+ cd /usr/local/lib/firmware
+ bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin
+
+you should then see the following lines in your dmesg(8):
+
+ ubtbcmfw0: <vendor 0x0a5c product 0x2033, class 224/1, rev 1.01/0.a0, addr 7> on uhub0
+ ubtbcmfw0: at uhub0 port 2 (addr 7) disconnected
+ ubtbcmfw0: detached
+ ubt0: <Broadcom Corp. BCM2033, class 224/1, rev 1.01/0.a0, addr 7> on uhub0
+ ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
+ ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320
+
diff --git a/comms/bluez-firmware/pkg-plist b/comms/bluez-firmware/pkg-plist
new file mode 100644
index 000000000000..aba716171163
--- /dev/null
+++ b/comms/bluez-firmware/pkg-plist
@@ -0,0 +1,8 @@
+lib/firmware/BCM2033-MD.hex
+lib/firmware/BCM2033-FW.bin
+lib/firmware/BCM-LEGAL.txt
+lib/firmware/STLC2500_R4_00_03.ptc
+lib/firmware/STLC2500_R4_00_06.ssf
+lib/firmware/STLC2500_R4_02_02_WLAN.ssf
+lib/firmware/STLC2500_R4_02_04.ptc
+@dirrmtry lib/firmware