Skip to contentSkip to conversation

Help to pairing a bluetooth headset

DISCUSSION Sébastien Dailly 1 participant 1 message Sep 13, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore 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 :

Quoted 3 lines
$ hcitool scan
Scanning ...
        0C:A6:94:37:F5:1D       PhilipsBT

But the connection fail :

Quoted 3 lines
# hcitool cc 0C:A6:94:37:F5:1D
$ hcitool con
Connections:

Here is a dump from hcidump :

Quoted 13 lines
$ hcidump -X
HCI sniffer - Bluetooth packet analyzer ver 5.21
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

    status 0x00 handle 1 bdaddr 0C:A6:94:37:F5:1D type ACL encrypt 0x00
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Read Remote Supported Features (0x0b) plen 11

    status 0x00 handle 1
    Features: 0xff 0xfe 0x0f 0xc6 0x8b 0xef 0x59 0x83
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

Quoted 8 lines
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

    status 0x00 bdaddr 0C:A6:94:37:F5:1D name 'PhilipsBT'
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Disconnect (0x01|0x0006) status 0x00 ncmd 1
Quoted 1 line

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 :

Quoted 3 lines
# 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 !

Signature · 1 line
Sébastien Dailly