kern/174707: [PATCH] ng_ubt: Add vendor IDs for Broadcom USB dongles (BCM20702)

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Dec 25 21:40:00 UTC 2012


>Number:         174707
>Category:       kern
>Synopsis:       [PATCH] ng_ubt: Add vendor IDs for Broadcom USB dongles (BCM20702)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 25 21:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD gibbon 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #66: Tue Dec 25 20:12:02 EET 2012 root at gibbon:/usr/obj/usr/src/sys/GIBBON amd64


	
>Description:
	There are a few Broadcom USB-Bluetooth modules out there in the wild that currently fail to be recognized by ng_ubt.

	They all have the same vendor ID and the product IDs are all quite
	similar (mine is 0x21e8, for example). Instead of adding several
	entries, it is possible to match all devices by checking the vendor and
	interface class/subclass/protocol, which are always the same.
>How-To-Repeat:
	
>Fix:
Patch (which can be easily MFCed) attached.

--- ng_ubt-bcm-entries.diff begins here ---
Index: netgraph/bluetooth/drivers/ubt/ng_ubt.c
===================================================================
--- netgraph/bluetooth/drivers/ubt/ng_ubt.c	(revision 244687)
+++ netgraph/bluetooth/drivers/ubt/ng_ubt.c	(working copy)
@@ -398,6 +398,10 @@
 
 	/* AVM USB Bluetooth-Adapter BlueFritz! v2.0 */
 	{ USB_VPI(USB_VENDOR_AVM, 0x3800, 0) },
+
+	/* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */
+	{ USB_VENDOR(USB_VENDOR_BROADCOM),
+	  USB_IF_CSI(UICLASS_VENDOR, 0x01, 0x01) },
 };
 
 /*
--- ng_ubt-bcm-entries.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list