Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2012 13:39:00 -0800 (PST)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-bluetooth@FreeBSD.org, freebsd-usb@FreeBSD.org
Subject:   kern/174707: [PATCH] ng_ubt: Add vendor IDs for Broadcom USB dongles (BCM20702)
Message-ID:  <50da1cf4.e819700a.2eec.55fe@mx.google.com>
Resent-Message-ID: <201212252140.qBPLe0Br005910@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50da1cf4.e819700a.2eec.55fe>