From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 18 16:37:52 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9981516A41C for ; Mon, 18 Jul 2005 16:37:52 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13AF843D45 for ; Mon, 18 Jul 2005 16:37:52 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 3689C3BE7C; Mon, 18 Jul 2005 11:37:51 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10242-01-93; Mon, 18 Jul 2005 11:37:51 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 046063BE6E; Mon, 18 Jul 2005 11:37:50 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 18 Jul 2005 11:37:45 -0500 Received: from [10.254.186.111] ([64.14.1.106]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 18 Jul 2005 11:37:42 -0500 Message-ID: <42DBDAD9.2070101@savvis.net> Date: Mon, 18 Jul 2005 09:37:45 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rainer Goellner References: <42DA013A.3050900@jabbe.de> <42DAD3C5.9060800@savvis.net> <42DADF0D.4070509@jabbe.de> <42DB1141.1050008@savvis.net> <1121673347.22662.52.camel@pegasus> <42DBADCE.9090903@jabbe.de> In-Reply-To: <42DBADCE.9090903@jabbe.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jul 2005 16:37:42.0155 (UTC) FILETIME=[048CF5B0:01C58BB7] X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org Subject: Re: AVM BlueFritz! X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 16:37:52 -0000 Hello, >> there exists two AVM BlueFRITZ! dongles with different USB product ids: >> >> /* AVM BlueFRITZ! USB */ >> { USB_DEVICE(0x057c, 0x2200) }, >> >> /* AVM BlueFRITZ! USB v2.0 */ >> { USB_DEVICE(0x057c, 0x3800) }, >> >> The version 1.0 (with id 0x2200) needs a special driver and also a >> firmware download to work. The version 2.0 (with id 0x3800) is a >> standard H:2 dongle. They only didn't set the Bluetooth class for it. >> > That's all we need! Thank you very much. > > So, Maksim, would you please put the first pair of lines > into the array of ignored devices, the second one into > the array of broken devices? > > And document that damn thing in ng_ubt(4)! committed to -current. i will mfc it to releng_5/6 shortly. emax 2005-07-18 16:34:49 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/ubt ng_ubt.c Log: Add support for AVM BlueFRITZ! USB Bluetooth Adapter v2.0. It appears that there are at least two versions of the adapter. Version 1 (product ID 0x2200) of the adapter does not work with ng_ubt(4) and require special driver and firmware. Version 2 (product ID 0x3800) seems to work just fine, except it does not have bDeviceClass, bDeviceSubClass and bDeviceProtocol set to required (by specification) values. This change forces ng_ubt(4) to attach to the version 2 adapter. Obtained from: Marcel Holtmann Submitted by: Rainer Goellner Revision Changes Path 1.24 +1 -1 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c thanks, max