From owner-freebsd-bluetooth@FreeBSD.ORG Sat Oct 4 07:53:13 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C505D1065688 for ; Sat, 4 Oct 2008 07:53:13 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 195FE8FC12 for ; Sat, 4 Oct 2008 07:53:12 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([77.232.23.6]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id m947r9dH005591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Oct 2008 11:53:10 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Km1wq-0009hD-Sa; Sat, 04 Oct 2008 11:53:08 +0400 From: Vladimir Grebenschikov To: Maksim Yevmenkin In-Reply-To: References: <3a386af20809261420j535680e8pf44453dbf6f84b20@mail.gmail.com> <1223034512.1842.111.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Sat, 04 Oct 2008 11:53:08 +0400 Message-Id: <1223106788.4832.25.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth audio (once again) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 07:53:13 -0000 =F7 Fri, 03/10/2008 =D7 09:45 -0700, Maksim Yevmenkin =D0=C9=DB=C5=D4: > > > sco sockets support was also added, however 1) sco sockets hook is > > > *not* connected by default and 2) there are some known problems with > > > the code. more specifically problems are related to "broken" bluetoo= th > > > devices and the way they report sco buffer size/packet count. i happ= en > > > to have few of those devices. we need to have a way to handle those > > > kind of devices nicely. > > > > I have Platronics P590 headset with advanced audio and Nokia headset. I > > may to check them against our bluetooth stack. I bit strange that I can inquiry and l2ping device, but can't list services: # l2ping -a p590 0 bytes from p590 seq_no=3D0 time=3D1794.348 ms result=3D0x6=20 0 bytes from p590 seq_no=3D1 time=3D2023.401 ms result=3D0x6=20 0 bytes from p590 seq_no=3D2 time=3D1761.475 ms result=3D0x6=20 ^C # l2control -a p590 Read_Channel_List l2control: Could not bind socket, bdaddr=3D00:19:7f:1b:de:77: Network is down # Should I do "pairing" somehow ? > ok.be warned, you will need to write some code for that. its > relatively simple. basically open an rfcomm socket and then open a sco > socket. i can provide examples if you want me to. Please, send me an example if you have. --=20 Vladimir B. Grebenschikov vova@fbsd.ru