From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B6422138A1F for ; Wed, 23 Apr 2014 13:26:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C0BFE09EC; Wed, 23 Apr 2014 13:26:15 +0000 (UTC) Received: from ccs.covici.com (ccs.covici.com [70.109.53.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FC65E08BB for ; Wed, 23 Apr 2014 13:26:13 +0000 (UTC) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.7) with ESMTP id s3NDQCkl009729 for ; Wed, 23 Apr 2014 09:26:13 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] bluez 5 not connecting In-reply-to: <5357B6B3.90203@iinet.net.au> References: <53578420.1040604@iinet.net.au> <27409.1398254378@ccs.covici.com> <5357B6B3.90203@iinet.net.au> Comments: In-reply-to William Kenworthy message dated "Wed, 23 Apr 2014 20:48:51 +0800." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 Date: Wed, 23 Apr 2014 09:26:12 -0400 Message-ID: <9728.1398259572@ccs.covici.com> From: covici@ccs.covici.com Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 4aad3467-6791-49bc-b2b3-63d2e4a3c897 X-Archives-Hash: 4c8048b1212e2707c643d1ffa69a1f1b William Kenworthy wrote: > On 04/23/14 19:59, covici@ccs.covici.com wrote: > > William Kenworthy wrote: > > > >> The bluez-5 stack is causing me some problems. It will pair but then > >> says its not paired so wont connect. Googling shows lots of problems > >> with many saying it suddenly starts working and they don't know what > >> happened! > >> > >> The BT dongle worked fine under bluez-3 and 4. The other end is an > >> arduino which needs to be connected via an rfcomm channel (for serial > >> comms) and the hardware on both ends has been working for literally years. > >> > >> After upgrading to bluez-5 it stopped working. > >> > >> I used bluetoothctl to pair it and info shows it paired and trusted, but > >> I cant connect to it: > >> > >> [bluetooth]# info 00:11:03:17:01:12 > >> Device 00:11:03:17:01:12 > >> Name: anubis > >> Alias: anubis > >> Class: 0x001f00 > >> Paired: yes > >> Trusted: yes > >> Blocked: no > >> Connected: no > >> LegacyPairing: yes > >> UUID: Serial Port > >> (00001101-0000-1000-8000-00805f9b34fb) > >> [bluetooth]# connect 00:11:03:17:01:12 > >> Attempting to connect to 00:11:03:17:01:12 > >> [CHG] Device 00:11:03:17:01:12 Connected: yes > >> Failed to connect: org.bluez.Error.NotAvailable > >> [CHG] Device 00:11:03:17:01:12 Connected: no > >> [bluetooth]# > >> > >> > >> What am I missing/misunderstanding? > > > > Make sure you have at least 5.14, below that mine did not work at all. > > Try the connect from blutoothctl and seewhat it says. Also, you have to > > put the device up before you do anything, such as hciconfig hci0 up > > whereas before you did not have to do this. > > > > Hi John, the above is bluez 5.15, and the messages above including from > the connect command are using bluetoothctl ... > > Had a play with hcitool and and I cant get a connect with that either. > Tried updating bluez to 5.17 and still nothing. Can you do hcitool scan? If not, do hciconfig hci0 up or whatever your device name if you have more than one. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com