From owner-freebsd-bluetooth@FreeBSD.ORG Fri Sep 26 22:04:50 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 470C01065695 for ; Fri, 26 Sep 2008 22:04:50 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id CA0B38FC2F for ; Fri, 26 Sep 2008 22:04:49 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so753683fgb.35 for ; Fri, 26 Sep 2008 15:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cwRK1pULN1//B8lFJuT+tuiM9MvEBZEJHA8zSFvrwU0=; b=FmYXbeHJFtwnePE3YLqdfYxPsIYhLdOgBRmIJ2HALuyHhH+pIui9JFWYe/LIqv2dN2 Gb69Fi4eXRYtp8NliJjnScqu4wC/cwUJ9rp1S/B9TQsgtoJPp/V3QbZoLwmXXt1nC2uz UHvZ8348Rg6CVopyUXpnffHLtP2EQeHe54il4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PnVT+qnddMokwVbw8z462OZ/YBjQFHI9uI9jsrbGDtvREORRsmv8EmNxu828UeZZri 7zfq8UIvPOrB5dFHHu/77+3oxWT9KqJ6M4uICm8M80+YdU2KNxsIWTHQ67AkVsEYl9r0 QRlvNdP535fLi+N+AcIO6t2dOcWrZU1ztV6Rg= Received: by 10.86.94.11 with SMTP id r11mr1792561fgb.0.1222466688323; Fri, 26 Sep 2008 15:04:48 -0700 (PDT) Received: by 10.86.62.1 with HTTP; Fri, 26 Sep 2008 15:04:48 -0700 (PDT) Message-ID: Date: Fri, 26 Sep 2008 15:04:48 -0700 From: "Maksim Yevmenkin" To: "Federico Lorenzi" In-Reply-To: <3a386af20809261420j535680e8pf44453dbf6f84b20@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a386af20809261420j535680e8pf44453dbf6f84b20@mail.gmail.com> 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 List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 22:04:50 -0000 On 9/26/08, Federico Lorenzi wrote: > Hi everyone, > > I've read quite a few times on this list in the past that Bluetooth > audio support on FreeBSD was, for the most part. done. According to > previous posts, SCO audio has been successfully received (and there is > code in someone's private CVS repo to do so). The major problem seemed > to be a question of how to integrate this with the current FreeBSD > audio system. That aside, could I make a request to the person who has > this code (IIRC Maksim Yevmenkin) to release it? Even if it's horribly > broken and barely works, it'll still be a starting point for working > on something in userland. (For those noobs like me who won't dare > touch anything kernel side :() the code _is_ in src. isoc transfer support was added to ng_ubt(4). there are some known problems, at least in some cases system crashes when usb dongle is simply disconnected (without shutting down the stack first). the stack trace ends up deep in the usb guts and i had no time to look at it. 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" bluetooth devices and the way they report sco buffer size/packet count. i happen to have few of those devices. we need to have a way to handle those kind of devices nicely. before doing anything else, we need to fix existing code. thanks, max