Return-Path: Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bluez5 pairing devices From: Marcel Holtmann In-Reply-To: Date: Thu, 19 Mar 2015 09:02:49 -0700 Cc: Szymon Janc , "linux-bluetooth@vger.kernel.org" Message-Id: <03048CAB-EDA3-46D6-A65B-BB17927B1F7E@holtmann.org> References: <,<46068BD2-CF33-4617-80DB-5AE5C1FCA364@holtmann.org> <,<,<12627750.IG3ACNRtuD@leonov> <>>> <, <,<440EB08C-2BD4-4373-B3DC-80361AA74722@holtmann.org> <,>>>> <, <>> To: Ssagarr Patil Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Sagar, >>>>>> # bluetoothctl >>>>>> [bluetooth]# power on >>>>>> No default controller available >>>>>> [bluetooth]# >>>>> >>>>> you need a running bluetoothd for bluetoothctl. >>>>> >>>> Isnt bluetoothd part of bluez5 stack ? as I am not able to see it. >>>> >>> A further debug showed me this: >>> >>> Mar 19 12:51:51 evm systemd[1]: Starting Bluetooth service... >>> Mar 19 12:51:51 evm bluetoothd[189]: Bluetooth daemon 5.29 >>> Mar 19 12:51:51 evm systemd[1]: Started Bluetooth service. >>> Mar 19 12:51:51 evm bluetoothd[189]: Starting SDP server >>> Mar 19 12:51:51 evm bluetoothd[189]: Bluetooth management interface 1.1 initialized >>> Mar 19 12:51:51 evm bluetoothd[189]: Failed to read info for index 54749: Invalid Index (0x11) >> >> this looks like an endian bug to me. That is no a valid index. Unless you really added 54749 Bluetooth dongles on your system. So something is screwed up that that needs to be investigated. >> > Not sure what?s wrong here! because I have ported v3.5 bluetooth stack. maybe the backport has some issues that got fixed. The latest stable kernel is 3.19.2. > Is it true we cannot pair LE devices in bluez4.101 ? LE support with BlueZ 4 is limited to not really working at all. So if want to work on LE, then you need mgmt API support and a recent Bluetooth subsystem and BlueZ 5. Regards Marcel