linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Sébastien Dailly" <sebastien@chimrod.com>
To: linux-bluetooth@vger.kernel.org
Subject: Help to pairing a bluetooth headset
Date: Sat, 13 Sep 2014 10:35:05 +0200	[thread overview]
Message-ID: <541401B9.5070807@chimrod.com> (raw)

Hello,

I'm trying to pair my linux sound server (X is not installed) with a 
bluetooth headset.

The bluetooth headset is correctly recognized by bluez :

> $ hcitool scan
> Scanning ...
>         0C:A6:94:37:F5:1D       PhilipsBT

But the connection fail :

> # hcitool cc 0C:A6:94:37:F5:1D
> $ hcitool con
> Connections:

Here is a dump from hcidump :

> $ hcidump -X
> HCI sniffer - Bluetooth packet analyzer ver 5.21
> device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
>> HCI Event: Command Status (0x0f) plen 4
>     Create Connection (0x01|0x0005) status 0x00 ncmd 1
>> HCI Event: Connect Complete (0x03) plen 11
>     status 0x00 handle 1 bdaddr 0C:A6:94:37:F5:1D type ACL encrypt 0x00
>> HCI Event: Command Status (0x0f) plen 4
>     Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
>> HCI Event: Read Remote Supported Features (0x0b) plen 11
>     status 0x00 handle 1
>     Features: 0xff 0xfe 0x0f 0xc6 0x8b 0xef 0x59 0x83
>> HCI Event: Command Status (0x0f) plen 4
>     Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> HCI Event: Remote Name Req Complete (0x07) plen 255
>     status 0x00 bdaddr 0C:A6:94:37:F5:1D name 'PhilipsBT'
>> HCI Event: Command Status (0x0f) plen 4
>     Disconnect (0x01|0x0006) status 0x00 ncmd 1
>> HCI Event: Disconn Complete (0x05) plen 4
>     status 0x00 handle 1 reason 0x16
>     Reason: Connection Terminated by Local Host


Here is what I get with bt-device connection :

> # bt-device -c 0C:A6:94:37:F5:1D
> Connecting to: 0C:A6:94:37:F5:1D
> Error: Device not found.

What can I do to manage the connection ?

(I'm not registered to the ml, please cc me in the answer).

Thanks !

-- 
Sébastien Dailly

                 reply	other threads:[~2014-09-13  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=541401B9.5070807@chimrod.com \
    --to=sebastien@chimrod.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).