From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 3 23:42:42 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F44716A509; Wed, 3 Jan 2007 23:42:42 +0000 (UTC) (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 DCFFF13C455; Wed, 3 Jan 2007 23:42:41 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 019B13BF35; Wed, 3 Jan 2007 17:42:41 -0600 (CST) 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 30095-01-88; Wed, 3 Jan 2007 17:42:40 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id 9D2383BEEF; Wed, 3 Jan 2007 17:42:40 -0600 (CST) Message-ID: <459C3F6F.4060506@savvis.net> Date: Wed, 03 Jan 2007 15:42:39 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: Mario Sergio Fujikawa Ferreira References: <20061229020205.89726.qmail@exxodus.fedaykin.here> <4595817A.1030306@savvis.net> <20070103090652.61464.qmail@exxodus.fedaykin.here> <459BEC7A.3010407@savvis.net> <20070103232635.45425.qmail@exxodus.fedaykin.here> In-Reply-To: <20070103232635.45425.qmail@exxodus.fedaykin.here> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: FreeBSD_Bluetooth Subject: Re: Add support for ACER Zeevo BT-500 Bluetooth USB Adapter? 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: Wed, 03 Jan 2007 23:42:42 -0000 Mario Sergio Fujikawa Ferreira wrote: > On Wed, Jan 03, 2007 at 09:48:42AM -0800, Maksim Yevmenkin wrote: >> please kldload ng_ubt(4) _*before*_ attaching the device (or re-plug the >> device after you have loaded ng_ubt(4)). > > Okay, I attached the usb device AFTER kldload. > > Here is the output > > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 > ubt0: Could not detect isoc-in endpoint > device_attach: ubt0 attach returned 6 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Zeevo product 0x07d0, rev 1.10/1.34, addr 2 > ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x3 > ubt0: Could not detect isoc-in endpoint > device_attach: ubt0 attach returned 6 just as i suspected. the device does not present second interface with usb isoc. endpoints. imo, this violates bluetooth v1.1 specification (chapter h2). the reason it works on linux is because hci_usb driver treats isoc. endpoints as optional and does not insists on them being present (isoc. points are usually used to transfer voice data). ng_ubt(4) could be extended to add quirks for some devices. however, i'd have to get my hands on the broken device so i can write and test the code. in the mean time, you could hack ng_ubt(4) to make sure it does not require isoc. endpoints. if you get it to work, please post patches here. thanks, max