After I updated Ubuntu from 20.04 to 22.04, my system cannot connect to my Huawei Freebuds 3 bluetooth headphones anymore. When I click on the headphones in the devices list, it tries to connect for a while, until it stops. I already removed the device and tried to pair again, but with the same result.
I tried to establish an connection on the command-line via bluetoothctl as described in this blog article, but the result is the same, and it doesn't report any error. Is there a command-line tool for bluetooth that actually outputs a useful log/error message?
Furthermore, I tried this suggestion, but after re-installing pulseaudio-module-bluetooth, sudo pactl https://askubuntu.com/a/1369477/515475 reports the error
Connection error: Connection refused
pa_context_new() failed: Connection refused
pactl list modules shows:
Module #10
Name: module-bluetooth-discover
Argument:
Usage count: k. A.
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
module.version = "15.99.1"
Module #11
Name: module-bluez5-discover
Argument:
Usage count: k. A.
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
module.version = "15.99.1"
Failed to unload module: Module module-bluetooth-discover not loaded– destroyer22719 Feb 27 '23 at 21:01pa_context_connect() failed: Connection refusedwhen I dosudoandFailure: No such entitywithoutsudo– destroyer22719 Mar 25 '23 at 17:50Failure: No such entitytoo – Lost Crotchet Jun 03 '23 at 23:11~$ pactl unload-module module-bluetooth-discover Failed to unload module: Module module-bluetooth-discover not loaded ~$ pactl load-module module-bluetooth-discover Failure: No such entity
– The Dan Jul 19 '23 at 23:55pulseaudio-module-bluetoothsuccessfully, then got the errorFailed to unload module: Module module-bluetooth-discover not loadedon the second command andFailure: No such entityon the third. However, I could connect to the headphones nonetheless. Maybe the second and third command aren't always needed. – Green绿色 Jul 22 '23 at 03:13