# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # bluez-firmware # bluez-firmware/Makefile # bluez-firmware/distinfo # bluez-firmware/pkg-descr # bluez-firmware/pkg-message # bluez-firmware/pkg-plist # echo c - bluez-firmware mkdir -p bluez-firmware > /dev/null 2>&1 echo x - bluez-firmware/Makefile sed 's/^X//' >bluez-firmware/Makefile << 'END-of-bluez-firmware/Makefile' X# New ports collection makefile for: bluez-firmware X# Date created: 30 July 2007 X# Whom: dirkx@webweaving.org X# X# $FreeBSD: ports/comms/bluez-firmware/Makefile,v 1.1 2007/09/06 04:50:54 edwin Exp $ X# X XPORTNAME= bluez-firmware XPORTVERSION= 1.2 XCATEGORIES= comms kld XMASTER_SITES= http://bluez.sourceforge.net/download/ X XMAINTAINER= dirkx@webweaving.org XCOMMENT= Firmware for the D-Link BCM2033 bluetooth adaptor for use by bcmfw(1) X XGNU_CONFIGURE= yes XCONFIGURE_ARGS+=--prefix=${PREFIX} X Xpost-install: X @${CAT} pkg-message X X.include END-of-bluez-firmware/Makefile echo x - bluez-firmware/distinfo sed 's/^X//' >bluez-firmware/distinfo << 'END-of-bluez-firmware/distinfo' XMD5 (bluez-firmware-1.2.tar.gz) = 1cc3cefad872e937e05de5a0a2b390dd XSHA256 (bluez-firmware-1.2.tar.gz) = b6119e118fabc6bd34584afcbe6fff00a44caeb64152b02ed57c6fba9fd99eec XSIZE (bluez-firmware-1.2.tar.gz) = 370623 END-of-bluez-firmware/distinfo echo x - bluez-firmware/pkg-descr sed 's/^X//' >bluez-firmware/pkg-descr << 'END-of-bluez-firmware/pkg-descr' XFirmware for the Broadcom BCM2033 chip based Bluetooth USB devices. To Xbe downloaded with bcmfw(1). The ubtbcmfw(4) and ng_ubt(4) kernel Xmodules need to be installed. END-of-bluez-firmware/pkg-descr echo x - bluez-firmware/pkg-message sed 's/^X//' >bluez-firmware/pkg-message << 'END-of-bluez-firmware/pkg-message' X XNOTICE X====== X XYou need to have the ubtbcmfw(8) and ng_ubt(8) kernel modules Xin our kernel. This can be accomplished by adding the following Xlines to /boot/loader.conf: X X ubtbcmfw_load=yes X ng_ubt_load=yes X XFurthermore you need to ensure that the bcmfw(1) utility downloads Xthe firmware into the dongle on insertion. This can be done by Xadding the followign lines to /etc/devd.conf (devd(8) should run Xby default): X X # Requires the port BCM2033 to be installed X # and the ubtbcmfw(8) and ng_ubt(8) kernel modules X # to be loaded prior to insertion. X # X attach 100 { X match "vendor" "0x0a5c"; X match "product" "0x2033"; X 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"; X } X XOr alternatively load these files manually with: X X cd /usr/local/lib/firmware X bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin X Xyou should then see the following lines in your dmesg(8): X X ubtbcmfw0: on uhub0 X ubtbcmfw0: at uhub0 port 2 (addr 7) disconnected X ubtbcmfw0: detached X ubt0: on uhub0 X ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 X ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 X END-of-bluez-firmware/pkg-message echo x - bluez-firmware/pkg-plist sed 's/^X//' >bluez-firmware/pkg-plist << 'END-of-bluez-firmware/pkg-plist' Xlib/firmware/BCM2033-MD.hex Xlib/firmware/BCM2033-FW.bin Xlib/firmware/BCM-LEGAL.txt Xlib/firmware/STLC2500_R4_00_03.ptc Xlib/firmware/STLC2500_R4_00_06.ssf Xlib/firmware/STLC2500_R4_02_02_WLAN.ssf Xlib/firmware/STLC2500_R4_02_04.ptc X@dirrmtry lib/firmware END-of-bluez-firmware/pkg-plist exit