Comment 16 for bug 1035431

Revision history for this message
Markus Grobelin (grobi-6) wrote : Re: bluetooh-wizard failed to connect to a keyboard

Couldn't pair my Logitech k810 keyboard & Parrot by Starck speaker aswell with those bluetooth gui tools - it just crashes when it would come up to enter the pairing PIN.

Systems I'm using are on Mint 14 Nadia (htpc) and Ubuntu 12.10 Quantal (laptop).

Jake Brown's comment #9 describes how to workaround this issue!

My notes:

# sniff bluetooth traffic in a terminal
sudo apt-get install bluez-hcidump
sudo hcidump -XYt # ...writes a lot of debug information to stdout

# scan for bluetooth devices
hcitool scan
Scanning ...
 00:1F:20:91:99:CE Logitech K810

# open an other terminal, add the device
sudo bluez-simple-agent hci0 00:1F:20:91:99:CE

# switch back to terminal with hcidump output & look for a row containing the passkey (pin) - here: 919878
[...]
2013-03-15 19:03:23.734363 > HCI Event: IO Capability Response (0x32) plen 9
    bdaddr 00:1F:20:*:*:* capability 0x02 oob 0x00 auth 0x04
    Capability: KeyboardOnly (OOB data not present)
    Authentication: General Bonding (No MITM Protection)
2013-03-15 19:03:24.694362 > HCI Event: User Passkey Notification (0x3b) plen 10
    bdaddr 00:1F:20:*:*:* passkey 919878
[...]

# Type pin with bluetooth keys and hit enter;
# make connection trusted & connect
sudo bluez-test-device trusted 00:1F:20:91:99:CE yes
sudo bluez-test-input connect 00:1F:20:91:99:CE

# for Parrot pin is '0000', to connect use...
sudo bluez-test-audio connect XX:XX:XX:XX:XX:XX