从睡眠状态恢复后,蓝牙出现段错误

从睡眠状态恢复后,蓝牙出现段错误

我将鼠标与 USB 适配器配对,并在 bluetoothctl 中信任鼠标。从睡眠状态恢复时,从 bluetoothctl 屏幕打印来看,连接似乎已成功恢复。但是鼠标无法使用。查看配对设备,鼠标不见了。在 bluetoothctl 中使用配对命令会导致 bluetoothd 出现段错误。

USB dongle: CSR 8510
    ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
kernel at 5.0.0-29
bluez                                         5.48-0ubuntu3.1

syslog中的错误如下:

bluetoothd[1156]: Endpoint registered: sender=:1.90 path=/MediaEndpoint/A2DPSource
bluetoothd[1156]: Endpoint registered: sender=:1.90 path=/MediaEndpoint/A2DPSink
bluetoothd[1156]: bt_uhid_send: Invalid argument (22)
bluetoothd[1156]: message repeated 4 times: [ bt_uhid_send: Invalid argument (22)]
bluetoothd[1156]: Error reading PNP_ID value: Unexpected error code
bluetoothd[1156]: Error reading PNP_ID value: Request attribute has encountered an unlikely error
bluetoothd[1156]: Pair device timed out for hci0
bluetoothd[1156]: Pair device timed out for hci0
bluetoothd[1156]: Pair device timed out for hci0
bluetoothd[1156]: Pair device timed out for hci0
kernel: [29452.939601] bluetoothd[1156]: segfault at 0 ip 000055951130a576 sp 00007ffd80ad8450 error 4 in bluetoothd[5595112a1000+f3000]
systemd[1]: bluetooth.service: Main process exited, code=dumped, status=11/SEGV
systemd[1]: bluetooth.service: Failed with result 'core-dump'.

有时,它还会出现另一个问题:

gnome-shell[1646]: Error setting property 'Powered' on interface org.bluez.Adapter1: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.226 was not provided by any .service files (g-dbus-error-quark, 2)
gnome-shell[2035]: Error setting property 'Powered' on interface org.bluez.Adapter1: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.226 was not provided by any .service files (g-dbus-error-quark, 2)

这是已知的错误还是我的配置有误?如果这是已知的错误,该如何解决?

相关内容