Dear Maintainer,
Attempting to pair with my bluetooth keyboard/mouse combo, the passkey
for completing the paring, that I'm supposed to enter on the keyboard
does not get shown. After a short period, the pairing is aborted as
unsuccesful. If I run hcidump at the same time, the passcode is
displayed, and entering leads to a succesful pairing.
It's of course possible that this is a bluez problem, but from my point
of view I have no way of telling.
Here's a hcidump of a succesful pairing (where the interface did not
show me the passkey, but I read it off hcidump). A bunch of additional
pairing chatter happens after that, of course:
HCI sniffer - Bluetooth packet analyzer ver 2.5
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
< HCI Command: Inquiry Cancel (0x01|0x0002) plen 0
Inquiry Cancel (0x01|0x0002) ncmd 1
status 0x00
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 90:7F:61:11:2D:1A ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Create Connection (0x01|0x0005) status 0x00 ncmd 1
status 0x00 handle 12 bdaddr 90:7F:61:11:2D:1A type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
handle 12 slots 5
status 0x00 handle 12
Features: 0xbf 0x06 0x86 0x78 0x18 0x1e 0x59 0x87
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
handle 12 page 1
Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
status 0x00 handle 12 page 1 max 1
Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 90:7F:61:11:2D:1A mode 2 clkoffset 0x0000
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
status 0x00 bdaddr 90:7F:61:11:2D:1A name 'ThinkPad Compact Bluetooth Keyboard with TrackPoint'
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 12
Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
bdaddr 90:7F:61:11:2D:1A
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 90:7F:61:11:2D:1A
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 90:7F:61:11:2D:1A
bdaddr 90:7F:61:11:2D:1A
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr 90:7F:61:11:2D:1A capability 0x01 oob 0x00 auth 0x03
Capability: DisplayYesNo (OOB data not present)
Authentication: Dedicated Bonding (MITM Protection)
IO Capability Request Reply (0x01|0x002b) ncmd 1
status 0x00 bdaddr 90:7F:61:11:2D:1A
bdaddr 90:7F:61:11:2D:1A capability 0x02 oob 0x00 auth 0x04
Capability: KeyboardOnly (OOB data not present)
Authentication: General Bonding (No MITM Protection)
bdaddr 90:7F:61:11:2D:1A passkey 360665
bdaddr 90:7F:61:11:2D:1A type 0
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 1
bdaddr 90:7F:61:11:2D:1A type 4
status 0x00 bdaddr 90:7F:61:11:2D:1A