Comment 2 for bug 1490347

Another attempt, this time with

$ sudo /usr/sbin/bluetoothd -nd

and the log-file is attached.

$ bluetoothctl
[NEW] Controller 00:1F:3A:E0:0A:AF hephaestion.lan.iam.tj [default]
[NEW] Device 00:0A:95:4B:BD:C2 Apple Wireless Keyboard
[NEW] Device 00:07:61:3B:86:98 Bluetooth Travel Mouse
[bluetooth]# devices
Device 00:0A:95:4B:BD:C2 Apple Wireless Keyboard
Device 00:07:61:3B:86:98 Bluetooth Travel Mouse
[bluetooth]# paired-devices
Device 00:07:61:3B:86:98 Bluetooth Travel Mouse
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1F:3A:E0:0A:AF Discovering: yes
[CHG] Device 00:07:61:3B:86:98 Connected: yes
[CHG] Device 00:0A:95:4B:BD:C2 LegacyPairing: yes
[CHG] Device 00:0A:95:4B:BD:C2 RSSI: -50
[Bluetooth Travel Mouse]# pair 00:0A:95:4B:BD:C2
Attempting to pair with 00:0A:95:4B:BD:C2
[agent] PIN code: 614003
[agent] PIN code: 201404
[agent] PIN code: 653338
Request PIN code
[agent] Enter PIN code: 1234
Failed to pair: org.bluez.Error.AuthenticationFailed