连接到任何设备时蓝牙超时

连接到任何设备时蓝牙超时

我的蓝牙设置一直运行良好,直到几天前,当我配对第二个设备时(这可能是巧合)。从这次起,我的机器不再连接任何蓝牙设备。我无法追踪问题,因为似乎每次都会收到不同的错误消息,但我会尝试描述该行为。

删除 /var/lib/bluetooth 并尝试全新安装蓝牙堆栈后,我打开 bluetoothctl

[bluetooth]# scan on
<devices omitted>
[bluetooth]# pair F2:F6:5A:BE:53:F0

此时,bluetoothctl 声称已连接,但pulseaudio 未显示已连接的扬声器。我可以使用disconnect F2:F6:5A:BE:53:F0,但journalctl显示

bluetoothd[5072]: Disconnecting failed: already disconnected

此后,尝试再次连接到设备会导致超时。

蓝牙放入日志中的一些杂项错误

bluetoothd[7750]: Sap driver initialization failed.
bluetoothd[7750]: sap-server: Operation not permitted (1)
kernel: debugfs: File 'le_min_key_size' in directory 'hci0' already present!
kernel: debugfs: File 'le_max_key_size' in directory 'hci0' already present!

我正在运行 NixOS 20.03、内核 5.4.41、蓝牙 5.53。很高兴提供更多信息,我只是想再次听到来自我电脑的声音。

相关内容