更新至 Ubuntu 22.04 后蓝牙耳机无法连接

Gre*_*n绿色 9 headphones bluetooth 22.04

当我将 Ubuntu 从 20.04 更新到 22.04 后,我的系统无法再连接到我的华为 Freebuds 3 蓝牙耳机。当我单击设备列表中的耳机时,它会尝试连接一段时间,直到停止。我已经删除了该设备并尝试再次配对,但结果相同。

\n

我尝试按照这篇博客文章bluetoothctl中的描述在命令行上建立连接,但结果是相同的,并且没有报告任何错误。是否有一个蓝牙命令行工具可以实际输出有用的日志/错误消息?

\n

此外,我尝试了这个建议,但重新安装pulseaudio-module-bluetooth后,sudo pactl https://askubuntu.com/a/1369477/515475报告错误

\n
Connection error: Connection refused\npa_context_new() failed: Connection refused\n
Run Code Online (Sandbox Code Playgroud)\n

pactl list modules显示:

\n
Module #10\n    Name: module-bluetooth-discover\n    Argument: \n    Usage count: k. A.\n    Properties:\n        module.author = "Jo\xc3\xa3o Paulo Rechi Vita"\n        module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"\n        module.version = "15.99.1"\n\nModule #11\n    Name: module-bluez5-discover\n    Argument: \n    Usage count: k. A.\n    Properties:\n        module.author = "Jo\xc3\xa3o Paulo Rechi Vita"\n        module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"\n        module.version = "15.99.1"\n\n
Run Code Online (Sandbox Code Playgroud)\n

Gre*_*n绿色 17

我刚刚设法解决了它。这个答案几乎解决了我的问题。重新安装模块后,我应该首先卸载该模块,然后再重新加载它。此外,我不应该使用sudo,这不需要root权限。

sudo apt install --reinstall pulseaudio-module-bluetooth
pactl unload-module module-bluetooth-discover
pactl load-module module-bluetooth-discover
Run Code Online (Sandbox Code Playgroud)

  • 我尝试了第三个,当我执行“sudo”和“失败:没有这样的实体”而没有“sudo”时,我得到“pa_context_connect()失败:连接被拒绝” (3认同)