Thank you Pierre for the solution. I had the same problem and tried
everything. Lost a lot of time on this stupid problem. I cannot believe
this is happening in Ubuntu in 2020. This kind of BS keeps me from
recommending Linux to regular computer users!
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1869857
Title:
[Intel 7265][Regression] Ultimate Ears BOOM speaker disconnects
immediately after pairing
Status in bluez package in Ubuntu:
Invalid
Bug description:
Laptop: Dell Inspiron 7370
CID: 201704-25503
Ubuntu version: 20.04 daily
Linux kernel: 5.4.0-18-generic
Bluez: 5.53-0ubuntu2
Summary
===
BT earphones/speaker cannot be connected either using GNOME control
center, either using bluetoothctl. I've tried with previous versions
of the kernel as well (5.4.0-14, 5.4.0-9) and it exhibits the same
issue, so I believe this is a problem with bluez.
However, the same procedure works fine on Ubuntu 19.10 (kernel
5.3.0-18, bluez 5.50), so I think it's a regression in bluez.
Steps to reproduce
==
1. Open GNOME control center, go to Bluetooth, make sure it's turned on
2. Put the BT device in pairing mode (usually, long press on the Power button)
-> in g-c-c, the device appears as "Not Set Up" (OK)
3. Click on the device to pair it
-> the device is briefly marked as "Connected", then immediately switches
to "Disconnected" (Not OK)
The attached btmon logs (5.4.0-18-btmon-speaker.log) show what happens
when I follow steps 1-3 above.
I tried the same procedure on a 19.10 live usb (kernel 5.3.0-18, bluez
5.50) and it works fine (see attached logs 5.3.0-18-btmon-speaker.log)
Back to Ubuntu 20.04, if I try to pair and connect the device using
bluetoothctl, it fails:
$ sudo bluetoothctl
Agent registered
[CHG] Controller C8:21:58:B7:2E:82 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller C8:21:58:B7:2E:82 Discovering: yes
[NEW] Device 88:C6:26:1A:9E:AF UE BOOM
[CHG] Device 61:E5:46:38:58:8B RSSI: -86
[CHG] Device 61:E5:46:38:58:8B ManufacturerData Key: 0x004c
[CHG] Device 61:E5:46:38:58:8B ManufacturerData Value:
0c 0e 08 c5 ea 55 99 d4 da 92 56 98 49 f3 8b 13 .UV.I...
[CHG] Device 38:F9:D3:3D:A2:CC RSSI: -87
[CHG] Device 7D:2A:91:B5:44:07 RSSI: -90
[CHG] Device 7D:2A:91:B5:44:07 TxPower: 12
[CHG] Device 56:AE:9C:58:00:BA RSSI: -87
[CHG] Device 56:AE:9C:58:00:BA TxPower: 12
[CHG] Device 28:11:A5:B6:FE:DD RSSI: -86
[CHG] Device 75:79:4D:66:E9:FF RSSI: -81
[CHG] Device 75:79:4D:66:E9:FF TxPower: 12
[CHG] Device 31:DD:66:D7:C9:3D RSSI: -87
[bluetooth]# scan off
Discovery stopped
[CHG] Controller C8:21:58:B7:2E:82 Discovering: no
[CHG] Device 31:DD:66:D7:C9:3D RSSI is nil
[CHG] Device 75:79:4D:66:E9:FF TxPower is nil
[CHG] Device 75:79:4D:66:E9:FF RSSI is nil
[CHG] Device 28:11:A5:B6:FE:DD RSSI is nil
[CHG] Device 56:AE:9C:58:00:BA TxPower is nil
[CHG] Device 56:AE:9C:58:00:BA RSSI is nil
[CHG] Device 7D:2A:91:B5:44:07 TxPower is nil
[CHG] Device 7D:2A:91:B5:44:07 RSSI is nil
[CHG] Device 38:F9:D3:3D:A2:CC RSSI is nil
[CHG] Device 61:E5:46:38:58:8B RSSI is nil
[CHG] Device 88:C6:26:1A:9E:AF TxPower is nil
[CHG] Device 88:C6:26:1A:9E:AF RSSI is nil
[bluetooth]# pair 88:C6:26:1A:9E:AF
Attempting to pair with 88:C6:26:1A:9E:AF
[CHG] Device 88:C6:26:1A:9E:AF Connected: yes
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: -deca-fade-deca-deafdecacaff
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 1101--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 110a--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 110b--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 110c--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 110e--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 111e--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF UUIDs: 1200--1000-8000-00805f9b34fb
[CHG] Device 88:C6:26:1A:9E:AF ServicesResolved: yes
[CHG] Device 88:C6:26:1A:9E:AF Paired: yes
Pairing successful
[CHG] Device 88:C6:26:1A:9E:AF ServicesResolved: no
[CHG] Device 88:C6:26:1A:9E:AF Connected: no
[bluetooth]# trust 88:C6:26:1A:9E:AF
[CHG] Device 88:C6:26:1A:9E:AF Trusted: yes
Changing 88:C6:26:1A:9E:AF trust succeeded
[bluetooth]# connect 88:C6:26:1A:9E:AF
Attempting to connect to 88:C6:26:1A:9E:AF
Failed to connect: org.bluez.Error.Failed
[bluetooth]# connect 88:C6:26:1A:9E:AF
Attempting to connect to 88:C6:26:1A:9E:AF
Failed to connect: org.bluez.Error.Failed
Additional information
==
$ lspci -vv -s 01:00.0
01:00.0 Network controller: Intel Corporation