From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 26 17:02:07 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 1946C16A40A for ; Thu, 26 Apr 2007 17:02:07 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id C75E513C48A for ; Thu, 26 Apr 2007 17:02:06 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so320609ana for ; Thu, 26 Apr 2007 10:02:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=uBexvmuPd0sVqB9jl+CqP0P1dlT0VeVQTVwfAvLUsu4PSXg4M179Ko5lzqUx2ndmJMUVL5Mf1Sl7vb/ePZv40aiIT6hhj+UizUMaJlsavNYKXqbJcbzOl+n61VoD53tPqEHoN0Rln6vdOiP9YaOMzzXg4IBkUcqUBcRP9SqNV4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=juDLup6ssGWc7+I9CpCHwfMbk6wFwFSsaMIZFzmAn9DSRgfF52yIG8qxBsHF+lWUhgQa2z1rkj8OC0yiywr5mp+dhObj82eZzGPIJOoFksUs9QGWB7ehW+rsX/P/RVKnBBVirAY/JFPiK9rGkUrSjKK3yKoQJTMUnkeTTBdAdbc= Received: by 10.100.133.9 with SMTP id g9mr1290729and.1177606925693; Thu, 26 Apr 2007 10:02:05 -0700 (PDT) Received: by 10.100.111.18 with HTTP; Thu, 26 Apr 2007 10:02:05 -0700 (PDT) Message-ID: Date: Thu, 26 Apr 2007 10:02:05 -0700 From: "Maksim Yevmenkin" To: "=?GB2312?B?t73Wvg==?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704252313.37725.tscmga@gmail.com> Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: Is it easy to write an program to make FreeBSD supoort Headset ? 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: Thu, 26 Apr 2007 17:02:07 -0000 On 4/26/07, 方志 wrote: > "Isochronous USB transfers are broken.This means that the USB > device will not be able to transfer SCO date (voice)." (from man 4 > ng_utb) . > > Do you means that these functions > "ubt_isoc_in_start" > "ubt_isoc_in_complete" > "ubt_isoc_in_complete2" > "ubt_isoc_out_start" > "ubt_isoc_out_complete" > "ubt_isoc_out_complete2" > in /usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c dosen't work > properly? yes. when i initially wrote them, i had very little knowledge about usb isoc. transfers. right now (i'd like to think) i have a better understanding of usb isoc. transfers on freebsd and have some code (locally) that seems to work. > I didn't know the official documents on bluetooth and headset > profile are available freely on www.bluetooth.com but not on > www.bluetooth.org . i not sure what are you saying, but yes, bluetooth profile documents available at http://www.bluetooth.com/Bluetooth/Learn/Technology/Specifications/ and specifically headset http://www.bluetooth.com/NR/rdonlyres/5C0DEE05-84CD-4D79-BD52-7ECA283430A0/981/HSP_SPEC_V11.pdf thanks, max > > > > > > On 4/25/07, Maksim Yevmenkin wrote: > > On 4/25/07, zhengzhi wrote: > > > Hi. > > > I want to use my headset in FreeBSD now. I 've read some documents > > about > > > bluetooth , headset profile .Headset Control is the higher level layer of > > > SDP and RFCOMM ,and not complex.FreeBSD supports SDP and RFCOMM. > > > So What I have to do is implement the Headset Control layer and wrap it > > as > > > a audio device ? > > > > 1) sco support in ng_ubt(4) - some code exists but was not committed > > > > 2) sco sockets support - some code exists but was not committed > > > > 3) figure out a clean and good way to plug bluetooth sco into audio > > subsystem > > > > 4) actually implement headset profile > > > > item 1 to 3 are definitely kernel work. implementation of item 4 > > largely depends on implementation of item 3 and may or may not be in > > userspace. > > > > thanks, > > max > > >