[bluetooth] Connecting to Apple BT keyboard fails due to PIN prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Undecided
|
Unassigned | ||
bluez (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
ubuntu-system-settings (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Connecting to the latest generation Apple BT keyboard ( the one with the USB port & no batteries ) fails on an Ubuntu Touch device, as when you press the "Connect" button on the device page, a dialog titled "Bluetooth Pairing Request" is displayed, with the following text:
Please confirm that the PIN displayed on 'Magic Keyboard' matches this one: XXXXXX
The dialog has "Cancel" and "Confirm PIN" buttons.
The keyboard has no display on which a PIN could be displayed.
When using other devices ( Ubuntu Desktop 15.10, 16.04, Android, OS X, ... ) to connect this keyboard all that's necessary is to click/press the 'Connect' button in the appropriate place, and the keyboard automatically connects, and is usable with no other actions required from the user.
Reproduced on krillin ( rc-proposed/
Reproduced on arale ( rc-proposed/
Note, after dismissing the dialog, subsequent attempts to connect may not re-display the PIN dialog, instead nothing happens. I've found that this requires power cycling the keyboard to clear and cause the PIN dialog to be displayed again.
[bluetooth]# show
Controller B8:64:91:48:2B:1E
Name: Aquaris E4.5 Ubuntu Edition
Alias: Aquaris E4.5 Ubuntu Edition
Class: 0x1c020c
Powered: yes
Discoverable: no
Pairable: yes
UUID: Headset AG (00001112-
UUID: Generic Attribute Profile (00001801-
UUID: A/V Remote Control (0000110e-
UUID: Generic Access Profile (00001800-
UUID: PnP Information (00001200-
UUID: A/V Remote Control Target (0000110c-
UUID: Audio Source (0000110a-
UUID: Audio Sink (0000110b-
UUID: Message Notification Se.. (00001133-
UUID: Phonebook Access Server (0000112f-
Modalias: usb:v1D6Bp0246d0525
Discovering: no
[bluetooth]# devices
Device 18:EE:69:21:6C:D3 18-EE-69-21-6C-D3
Device DE:76:E2:04:9D:6F BB-9D6F
Device 7C:D1:C3:1C:B4:03 7C-D1-C3-1C-B4-03
Device 7C:D1:C3:19:2B:D8 7C-D1-C3-19-2B-D8
Device 84:38:35:67:0C:3D ubuntu-0
Device 04:69:F8:C2:A0:09 tony espy’s Keyboard
Device 00:21:3C:A0:14:A6 Jawbone ERA
Device 1C:1A:C0:B2:9A:D7 1C-1A-C0-B2-9A-D7
Device info *before* pairing attempt:
Device 04:69:F8:C2:A0:09
Name: tony espy’s Keyboard
Alias: tony espy’s Keyboard
Class: 0x002540
Icon: input-keyboard
Paired: no
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
Modalias: bluetooth:
No changes in any of the attributes after *after* the pairing attempt ( output of info command is the same ).
tags: | added: bluetooth |
tags: | added: bluez-touch |
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → nobody |
This is not necessarily a settings app failure. Can you follow https:/ /wiki.ubuntu. com/DebuggingBl uetooth and attach the necessary log files here so that we know what is going on?