Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bluez5 pairing devices From: Marcel Holtmann In-Reply-To: Date: Tue, 17 Mar 2015 09:42:44 -0700 Cc: "linux-bluetooth@vger.kernel.org" Message-Id: <46068BD2-CF33-4617-80DB-5AE5C1FCA364@holtmann.org> References: <,<94A95B77-D50A-4B0E-9038-424B14DFF965@holtmann.org> <>> <, <>> To: Ssagarr Patil Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Sagar, >>>>> I am very new to bluetooth, so sorry for a novice query. >>>>> >>>>> 1: I am using 2.6.37 Linux kernel, can bluez5 stack be used on this or should I use bluez4 ? >>>>> 2: With bluez5 I am able to scan devices and also see the device on other device but I am not able to pair them >>>>> Is there some sort of deamon required to pair them ? >>>> >>>> BlueZ 5 requires a Bluetooth subsystem with management API support. So at least kernel 3.4 or you have to use Linux backports to at least bring the Bluetooth subsystem to your 2.6.37 kernel. And I have heard of success from people doing that, but I have not personally done that. >>>> >>> Probably that would take me more time in back porting. In case of 2.6.37 what version of bluez4 would be best ? >> >> the Linux backports project does that automatically. Give it a try. You are not the person with this problem, but it is not something were BlueZ upstream will be of much assistance. >> > Any quick pointers on doing this ? https://backports.wiki.kernel.org/ >> I think that our android/README has even some instructions on how to get that started for an Android build. You might be able to adapt that quickly. >> > I am more interested in Linux. It is still running the same Linux kernel. That is why I said, you might be able to adapt that to your needs. Regards Marcel