Return-Path: From: Vijaykumar Dadmode To: "'Johan Hedberg'" CC: "'linux-bluetooth@vger.kernel.org'" Subject: RE: Bluetooth LE scan/pair using MGMT_OPS on Ubuntu 12.04 fails. Date: Wed, 13 Jun 2012 11:58:51 +0000 Message-ID: References: <20120613093544.GA3842@x220.ger.corp.intel.com> <20120613100450.GA4803@x220.ger.corp.intel.com> In-Reply-To: <20120613100450.GA4803@x220.ger.corp.intel.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: -----Original Message----- From: Johan Hedberg [mailto:johan.hedberg@gmail.com] Sent: Wednesday, June 13, 2012 3:35 PM To: Vijaykumar Dadmode Cc: 'linux-bluetooth@vger.kernel.org' Subject: Re: Bluetooth LE scan/pair using MGMT_OPS on Ubuntu 12.04 fails. Hi Vijay, On Wed, Jun 13, 2012, Vijaykumar Dadmode wrote: > On Wed, Jun 13, 2012, Vijaykumar Dadmode wrote: > > Hi, > > > > On Ubuntu 12.04 using Management OPS , when I launch the "Bluetooth New Device Setup" wizard, it does not show any device, but on console it will find LE Devices. Works good on Ubuntu 10.04. > > > > $ hcitool lescan > > Scanning ... > > 00:12:03:19:xx:yy Keyboard > > > > mgmt_start_discovery() returns write error "Unknown error 524" > > > > if (write(mgmt_sock, buf, sizeof(buf)) < 0) > > return -errno; > > >> You'd need to be more specific of exactly what kernel version and what > >> user space version of BlueZ you have. The management interface is only > >> expected to work properly with latest user space bluez.git and kernel > >> version 3.4 or later. And for LE you'll want to use the latest > >> bluetooth.git or bluetooth-next.git or wait until the 3.5 kernel gets > >> released. > > Sorry about that. Yes I am using latest from bluez.git and kernel from bluetooth-next. > > BlueZ userspace version: latest clone from "git://git.kernel.org/pub/scm/bluetooth/bluez.git". > Kernel version: 3.4.0-rc5 >>>> bluetooth-next is currently based on top of 3.5-rc1 so it seems you have >>>> an old kernel. Please do a fresh pull from the user space and kernel >>>> trees and try again. >From git I see not many changes being committed after 3.4.0-rc5. Which Ubuntu version is it tested/works using "Bluetooth New Device Setup" wizard and MGMT_OPS? Johan To report this email as spam click https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== . Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog