From owner-freebsd-stable@FreeBSD.ORG Mon May 4 10:50:42 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03EBC106564A for ; Mon, 4 May 2009 10:50:42 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4FE518FC24 for ; Mon, 4 May 2009 10:50:41 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-85-201.lns10.adl6.internode.on.net [121.45.85.201]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n44AoR9b031760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 4 May 2009 20:20:27 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Mon, 4 May 2009 20:20:23 +0930 User-Agent: KMail/1.9.10 References: <49FBF3C2.8010809@bsdforen.de> <20090502114958.76c46f25@gluon.draftnet> <49FC3BB9.6000200@bsdforen.de> In-Reply-To: <49FC3BB9.6000200@bsdforen.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1988435.eiRNpCTbIG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200905042020.24783.doconnor@gsoft.com.au> X-Spam-Score: -2.41 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Bruce Cran , Dominic Fandrey Subject: Re: bluetooth troubleshooting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 10:50:42 -0000 --nextPart1988435.eiRNpCTbIG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sat, 2 May 2009, Dominic Fandrey wrote: > # hccontrol -n ubt0hci inquiry > Inquiry complete. Status: No error [00] > > is pretty lame compared to what should appear according to the > handbook: > > % hccontrol -n ubt0hci inquiry > Inquiry result, num_responses=3D1 > Inquiry result #0 > BD_ADDR: 00:80:37:29:19:a4 > Page Scan Rep. Mode: 0x1 > Page Scan Period Mode: 00 > Page Scan Mode: 00 > Class: 52:02:04 > Clock offset: 0x78ef > Inquiry complete. Status: No error [00] Depends what's in range. Your command indicates to me that there are no _discoverable_ BT modules=20 in range. (Note the discoverable part :) BTW the '-n ubt0hci' is optional if you only have one BT controller. If it isn't discoverable you can do something like.. sdpcontrol -a pda browse (I entered pda into /etc/bluetooth/hosts). If it doesn't show anything (like my phone) you need to bruteforce=20 search for services (I don't understand the rationale of that but=20 that's the way it is), eg.. sh -c 'for i in \ CIP CTP DUN FAX FTRN GN HID HSET LAN NAP OPUSH SP; do \ sdpcontrol -a pda search $i; done' There's a command in Bluez which does this for you but the above would=20 tell you a reasonable amount. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1988435.eiRNpCTbIG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBJ/shw5ZPcIHs/zowRAj4FAJ4nFkw9aGCPINPckbUe++Z2RW/rlwCdH0Vm IOECxiuZE8hAK5j7AjoeJNM= =un7/ -----END PGP SIGNATURE----- --nextPart1988435.eiRNpCTbIG--