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 B510F138A1F for ; Wed, 23 Apr 2014 12:49:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 305BCE09DA; Wed, 23 Apr 2014 12:49:06 +0000 (UTC) Received: from icp-osb-irony-out7.external.iinet.net.au (icp-osb-irony-out7.external.iinet.net.au [203.59.1.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C528E09AE for ; Wed, 23 Apr 2014 12:49:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoEJAEO2V1NqRc4+/2dsb2JhbABZgwarbZlsgRkWdIIlAQEFgQkLDQsJJQ8CRhMGAgEBiDzPJxeOFkkWhCMEiWOPEoZaKItTgz4wgS4 X-IronPort-AV: E=Sophos;i="4.97,911,1389715200"; d="scan'208";a="517469322" Received: from unknown (HELO moriah.localdomain) ([106.69.206.62]) by icp-osb-irony-out7.iinet.net.au with ESMTP; 23 Apr 2014 20:49:01 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 97D1E38A6F for ; Wed, 23 Apr 2014 20:49:01 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cq9mhOzVomkP for ; Wed, 23 Apr 2014 20:48:51 +0800 (WST) Received: from [192.168.44.3] (moriah [192.168.44.3]) by moriah.localdomain (Postfix) with ESMTP id 73660108D7 for ; Wed, 23 Apr 2014 20:48:51 +0800 (WST) Message-ID: <5357B6B3.90203@iinet.net.au> Date: Wed, 23 Apr 2014 20:48:51 +0800 From: William Kenworthy User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 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 MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] bluez 5 not connecting References: <53578420.1040604@iinet.net.au> <27409.1398254378@ccs.covici.com> In-Reply-To: <27409.1398254378@ccs.covici.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9af2ec3a-4c89-4025-a9b1-4942f3cd9ed1 X-Archives-Hash: 8d69f35eaa5a57e79ac7a126f86f4d3a 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. BillK