1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

New port: comms/bluez-firmware Firmware for the D-Link BCM2033 bluetooth

Firmware 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.

PR:		ports/115036
Submitted by:	Dirk-Willem van Gulik <dirkx@joost.com>
This commit is contained in:
Edwin Groothuis 2007-09-06 04:50:54 +00:00
parent e90091facc
commit aa6fbc1bb5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198895
6 changed files with 76 additions and 0 deletions

View File

@ -11,6 +11,7 @@
SUBDIR += bforce
SUBDIR += bforce-kst
SUBDIR += birda
SUBDIR += bluez-firmware
SUBDIR += bpl+
SUBDIR += cdr_read
SUBDIR += chu

View File

@ -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>

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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