From owner-freebsd-bluetooth@FreeBSD.ORG Wed Jan 10 22:07:20 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 E8CFF16A412 for ; Wed, 10 Jan 2007 22:07:20 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smarthost01.eng.net (smarthost01.eng.net [213.130.146.173]) by mx1.freebsd.org (Postfix) with ESMTP id AF0E013C428 for ; Wed, 10 Jan 2007 22:07:20 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from netmail01.eng.net ([213.130.128.38] helo=rya-online.net) by smarthost01.eng.net with smtp (Exim 4.62) (envelope-from ) id 1H4lbF-0002AH-BF; Wed, 10 Jan 2007 22:07:18 +0000 Received: (nullmailer pid 480 invoked by uid 1000); Wed, 10 Jan 2007 21:44:21 -0000 Date: Wed, 10 Jan 2007 21:44:21 +0000 (GMT) To: "Alexander V\. Ribchansky" In-Reply-To: <45A4AF8F.90106@triosoft.com.ua> 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> <45A4AF8F.90106@triosoft.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1168465461.328656.2681.nullmailer@galant.ukfsn.org> From: Iain Hibbert 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 22:07:21 -0000 On Wed, 10 Jan 2007, Alexander V. Ribchansky wrote: > Iain Hibbert ?????: > > 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? You need to adjust the packet types that are allowed - look at sys/netgraph/bluetooth/hci/ng_hci_ulpi.c and search for CREATE_CON to see where the connection is made. Just a few lines down hardwire req->cp.pkt_type=0xcc18 which should enable all the packet types as above. To make it work properly, you would have to interpret the other packet types from the mask. regards, iain