尝试连接蓝牙耳机时,在 arch 上出现奇怪的 Pulseaudio + Bluez 交互错误

尝试连接蓝牙耳机时,在 arch 上出现奇怪的 Pulseaudio + Bluez 交互错误

我在 arch linux 上,想通过 bluetoothctl 通过蓝牙连接我的 Bose QC 35 II 耳机。行为非常奇怪。我可以毫无问题地发出配对命令。然后我发出连接命令。我从已连接的耳机获得音频反馈。约 6 秒后,耳机再次断开连接。

系统配置

bluetoothctl: 5.71
pulseaudio 16.1
extra/bluez 5.71-2
Bluetooth adapter: ISY IBT-1000 5.0

根据建议,我已将ControllerMode = bredr/etc/bluetooth/main.conf(来自https://flx.ai/2019/bose-qc35ii-linux#deactivate-bluetooth-le

运行时错误

这是我运行 bluetoothctl 命令时的输出:

CHG] Device 04:52:C7:7B:4F:43 Connected: yes
[Bose QuietComfort 35]# [NEW] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep3
[Bose QuietComfort 35]# [NEW] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep1
<SNIP>
/hci0/dev_04_52_C7_7B_4F_43/sep51
[Bose QuietComfort 35]# [DEL] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep19
[Bose QuietComfort 35]# [DEL] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep49
[Bose QuietComfort 35]# [DEL] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep17
[Bose QuietComfort 35]# [DEL] Endpoint /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep33
[Bose QuietComfort 35]# [DEL] Transport /org/bluez/hci0/dev_04_52_C7_7B_4F_43/sep1/fd0
[Bose QuietComfort 35]# [DEL] Player /org/bluez/hci0/dev_04_52_C7_7B_4F_43/player0 [default]
[Bose QuietComfort 35]# Agent unregistered
[Bose QuietComfort 35]# [DEL] Controller 00:0A:CD:42:F7:50 archdesktop [default]
Waiting to connect to bluetoothd...[bluetooth]# Agent registered

也许更重要的是日志 -xfe 输出:

Dec 29 12:44:12 archdesktop pulseaudio[67328]: Daemon already running.
Dec 29 12:44:19 archdesktop pulseaudio[67151]: Battery Level: 90%
Dec 29 12:44:19 archdesktop pulseaudio[67151]: Dock Status: undocked
Dec 29 12:44:27 archdesktop pulseaudio[67151]: org.bluez.BatteryProviderManager1.UnregisterBatteryProvider() Failed: org.bluez.Error.DoesNotExist:Provider does not exist

最后一个错误暗示 bluez 电池组件出了问题。我考虑过修补代码,但我没有在系统上执行此操作的技能,而且我不知道这是否会破坏其他东西

有人知道我下一步可以尝试什么吗?

相关内容