linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Vijaykumar Dadmode <Vijaykumar.Dadmode@csr.com>
Cc: "'linux-bluetooth@vger.kernel.org'" <linux-bluetooth@vger.kernel.org>
Subject: Re: Bluetooth LE scan/pair using MGMT_OPS on Ubuntu 12.04 fails.
Date: Wed, 13 Jun 2012 12:35:44 +0300	[thread overview]
Message-ID: <20120613093544.GA3842@x220.ger.corp.intel.com> (raw)
In-Reply-To: <F82830D409D80E4881C83250E051B74B4A151824@banasiexm01.ASIA.ROOT.PRI>

Hi Vijay,

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.

Johan

  reply	other threads:[~2012-06-13  9:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F82830D409D80E4881C83250E051B74B4784BC9E@banasiexm01.ASIA.ROOT.PRI>
2011-10-19 13:10 ` Query regarding BLE GetPrimaryServices() Vijaykumar Dadmode
2011-10-19 13:30   ` Anderson Lizardo
2011-10-21 12:06     ` Vijaykumar Dadmode
2011-10-21 12:29       ` Anderson Lizardo
2011-10-21 13:04         ` Ajay Pillai
2011-10-21 14:07           ` Claudio Takahasi
2012-01-03  9:47 ` Multiple Thermometer device connections Vijaykumar Dadmode
2012-06-13  9:18   ` Bluetooth LE scan/pair using MGMT_OPS on Ubuntu 12.04 fails Vijaykumar Dadmode
2012-06-13  9:35     ` Johan Hedberg [this message]
2012-06-13  9:51       ` Vijaykumar Dadmode
2012-06-13 10:04         ` Johan Hedberg
2012-06-13 11:58           ` Vijaykumar Dadmode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120613093544.GA3842@x220.ger.corp.intel.com \
    --to=johan.hedberg@gmail.com \
    --cc=Vijaykumar.Dadmode@csr.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).