From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 23 03:23:36 2009 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 1E35510656AA for ; Mon, 23 Nov 2009 03:23:36 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id E4EE28FC2F for ; Mon, 23 Nov 2009 03:23:35 +0000 (UTC) Received: by pwj15 with SMTP id 15so3459010pwj.3 for ; Sun, 22 Nov 2009 19:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=KyDk5sTvpKtrvXICGmFNe/jargnecH2PFsuUaRmJDOI=; b=ZcORgvy75lyUR4+NTzzD3xx52pT+AJyY6tAxtJA3NvU7YQFO+s0IPIBcvzL319MPnE otGlG41fid1Dwg/bsYOslB0Rzjk3uunEdsKnXODLu9zT09FTp98R/zncEmkMcNKb4O04 g25URI4Tcc1Ib4wP1vugbSqvfWKa3TyzixHkc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=A6BpzmK2FkCehIE2HJ0M7V/qjD5n4Q48JtG4RVusWflMyyoFl7nImEhHNoBy03Ri4u 06g/A6eaN/f4iq/UXy8CZl2Iz1Nxyf2hbPlSj2BU8dNRPowA50sybNP4YvNH8yvcDfsM uM35tikFvE540p4c6cTs3pJy+k+HlWV6odUi8= MIME-Version: 1.0 Received: by 10.114.165.20 with SMTP id n20mr5896379wae.6.1258946615378; Sun, 22 Nov 2009 19:23:35 -0800 (PST) In-Reply-To: <20091123014916.GA20648@potato> References: <20091121184335.GA2008@potato> <1258883126.052713.723.nullmailer@galant.ukfsn.org> <20091123014916.GA20648@potato> Date: Sun, 22 Nov 2009 19:23:35 -0800 Message-ID: From: Maksim Yevmenkin To: John Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: Problems getting the bluetooth stack to start 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: Mon, 23 Nov 2009 03:23:36 -0000 On Sun, Nov 22, 2009 at 5:49 PM, John wrote: [...] everything up to this point looks good > What I can't work out now is why i can't see the channels: > > potato# l2ping -a 00:0a:d9:3e:70:24 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=0 time=500.567 ms result=0 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=1 time=31.890 ms result=0 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=2 time=31.895 ms result=0 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=3 time=31.897 ms result=0 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=4 time=32.900 ms result=0 > 0 bytes from 00:0a:d9:3e:70:24 seq_no=5 time=30.906 ms result=0 this looks fine > potato# l2control -a 00:0a:d9:3e:70:24 Read_Channel_List > l2control: Could not bind socket, bdaddr=00:0a:d9:3e:70:24: Network is > down this will not work. as per l2control(8) man page " The l2control utility connects to the local device with the specified BD_ADDR and attempts to send the specified command. " i.e. l2control(8) will display _local_ l2cap channels (basically l2cap connections). you dont have any l2cap channels (i.e. connections). i'm guessing you want to see the services offered on your t610 phone. you need to use sdpcontrol(8) for this. > I have paired the handset with the device and it shows the fqdn of the > freebsd machine. If I do sdpcontrol -a 00:0a:d9:3e:70:24 browse I get > pages of output. yes, this will tell you service names and service parameters > But! If I do rfcomm_sppd -a 00:0a:d9:3e:70:24 -t /dev/ttyp6 I see this > in messages: > > Nov 23 01:38:24 potato rfcomm_sppd: Could not open(/dev/ptyp6). > Input/output error well, it could not open /dev/ptyp6? is it busy? did you try different terminal? > any ideas? I think the l2control error and the rfcomm one may be > related, but I haven't a clue how to resolve the issue. l2control(8) is not an issue you. rfcomm_sppd(1) had problem with opening master pty. thanks max