启动至桌面后蓝牙鼠标冻结 3-5 秒

启动至桌面后蓝牙鼠标冻结 3-5 秒

我使用的是 pop os 20.04,它基本上是 Ubuntu 的衍生版本。

从这个版本开始,我遇到了蓝牙鼠标的问题

当我启动计算机时,加载桌面(gnome)后,鼠标将在 30 秒后变得无响应,我必须再等待 5 秒,直到它再次开始工作,就好像整个蓝牙堆栈以某种方式重新启动一样。

我正在探索journalctl,我发现会发生什么:

Jun 07 12:04:34 pop-os systemd[1]: systemd-localed.service: Succeeded.
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: removing device Surface Mouse
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Option "fd" "64"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) event17 - Surface Mouse: device removed
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) UnloadModule: "libinput"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) systemd-logind: releasing fd for 13:81
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: removing device Surface Mouse Consumer Control
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Option "fd" "63"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) UnloadModule: "libinput"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) systemd-logind: not releasing fd for 13:82, still in use
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: removing device Surface Mouse Consumer Control
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Option "fd" "63"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) event18 - Surface Mouse Consumer Control: device removed
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) UnloadModule: "libinput"
Jun 07 12:04:39 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) systemd-logind: releasing fd for 13:82
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:44 pop-os bluetoothd[746]: bt_uhid_send: Invalid argument (22)
Jun 07 12:04:45 pop-os kernel: input: Surface Mouse as /devices/virtual/misc/uhid/0005:045E:0919.0005/input/input24
Jun 07 12:04:45 pop-os kernel: input: Surface Mouse Consumer Control as /devices/virtual/misc/uhid/0005:045E:0919.0005/input/input25
Jun 07 12:04:45 pop-os kernel: input: Surface Mouse as /devices/virtual/misc/uhid/0005:045E:0919.0005/input/input26
Jun 07 12:04:45 pop-os kernel: input: Surface Mouse as /devices/virtual/misc/uhid/0005:045E:0919.0005/input/input27
Jun 07 12:04:45 pop-os kernel: hid-generic 0005:045E:0919.0005: input,hidraw3: BLUETOOTH HID v1.32 Mouse [Surface Mouse] on 80:91:33:f1:98:10
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: Adding input device Surface Mouse (/dev/input/mouse2)
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) No input driver specified, ignoring this device.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) This device may have been added with another device file.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: Adding input device Surface Mouse (/dev/input/event19)
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) No input driver specified, ignoring this device.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) This device may have been added with another device file.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: Adding input device Surface Mouse (/dev/input/event20)
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) No input driver specified, ignoring this device.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) This device may have been added with another device file.
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) config/udev: Adding input device Surface Mouse Consumer Control (/dev/input/event18)
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Surface Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) Using input driver 'libinput' for 'Surface Mouse Consumer Control'
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 63 paused 0
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Surface Mouse Consumer Control: always reports core events
Jun 07 12:04:45 pop-os /usr/lib/gdm3/gdm-x-session[1182]: (**) Option "Device" "/dev/input/event18"

基本上一段时间后,当桌面加载时 config/udev 将删除蓝牙鼠标,一段时间后将再次重新添加它。

造成这种行为的原因是什么以及如何解决?

任何帮助都值得感激!

相关内容