From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 10 09:37:16 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 F3FDF16A40F for ; Wed, 10 Jan 2007 09:37:15 +0000 (UTC) (envelope-from triosoft@triosoft.com.ua) Received: from mash.informjust.ua (mash.informjust.ua [193.111.173.17]) by mx1.freebsd.org (Postfix) with ESMTP id 3017813C448 for ; Wed, 10 Jan 2007 09:37:15 +0000 (UTC) (envelope-from triosoft@triosoft.com.ua) Received: from status.informjust.ua ([10.1.8.202]) by mash.informjust.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.65 (FreeBSD)) (envelope-from ) id 1H4ZZH-000Jax-PV; Wed, 10 Jan 2007 11:16:23 +0200 Received: from [10.2.113.65] (helo=zk.informjust.ua) by status.informjust.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1H4ZbV-0008eW-8V; Wed, 10 Jan 2007 11:18:41 +0200 Received: from sigterm.zk.informjust.ua ([10.2.113.30]) by zk.informjust.ua with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1H4ZbK-000MOg-Th; Wed, 10 Jan 2007 11:18:30 +0200 Message-ID: <45A4AF8F.90106@triosoft.com.ua> Date: Wed, 10 Jan 2007 11:19:11 +0200 From: "Alexander V. Ribchansky" User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: Iain Hibbert References: <45A3BAAB.4040903@zk.informjust.ua> <45A3D66C.2050605@savvis.net> <49327.91.124.7.194.1168371717.squirrel@webmail.ic.uz.ua> <45A3F31D.2060709@savvis.net> <1168378526.559195.4307.nullmailer@galant.ukfsn.org> In-Reply-To: <1168378526.559195.4307.nullmailer@galant.ukfsn.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: is bluetooth 2.0 speeds supported on freebsd? 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, 10 Jan 2007 09:37:16 -0000 Iain Hibbert ?????: > On Tue, 9 Jan 2007, Maksim Yevmenkin wrote: > > >> the main problem is time. basically i have to >> >> 2) read and understand bluetooth 2.0 spec; >> > > The HCI spec is not very different, just some extensions and a bit of > obsoletions. The biggest problem I found was that ADD_SCO_CON is > deprecated in favour of SETUP_SCO_CON but the 2.0 dongle I have doesn't > implement that and must use ADD_SCO_CON anyway. > > >> you could do a simple task of updating ng_hci.h headers to include all the >> 2.0+edr hci commands and events. i think someone already might have done a >> port of it. you are more then welcome to send patches to the list. >> > > the NetBSD (src/sys/netbt/) hci.h file contains all the 2.0 definitions.. > > I'm not sure exactly, what is required to support any extra speeds because > there is no command to say 'enable EDR now'. The only thing that might be > necessary in fact is to specify the packet types that may be used. > > IIRC, FreeBSD uses 0xffff as the packet type mask by default? > > Confusingly, the extra packet types are enabled by clearing the bits > unused in the earlier specifications. I only have one USB port so I can't > test throughput between v2.0 dongles, but have the following two devices > currently installed: > > (v1.1) > bt3c0: bdaddr 00:04:76:e1:4a:f5 flags 0x3 > ptype: [0xff1e] DM1 DH1 DM3 DH3 DM5 DH5 > > features: <3 slot> <5 slot> > > > > (v2.0 + EDR) > ubt0: bdaddr 00:08:1b:8d:ba:6d flags 0x3 > ptype: [0xcc18] DM1 DH1 DM3 DH3 DM5 DH5 2-DH1 3-DH1 2-DH3 3-DH3 2-DH5 3-DH5 > I'm a very-very newbie in bluetooth, but if the whole problem is to properly detect adapter capabilities and to properly config frame mask if adapter supports EDR, could someone tell me a place in src, where I should apply WHERRY DIRTY HACK to insist that adapter support EDR frames? just to test if it work with 2.0 adapter. Or I miss something, reading this thread? Thanks! -- AVR39-RIPE