Logitech USB 鼠标可以工作,但启动 X 后需要一分钟以上的时间进行初始化

Logitech USB 鼠标可以工作,但启动 X 后需要一分钟以上的时间进行初始化

我有一个罗技鼠标通过底座连接到我的 ThinkPad x270。

当我启动计算机时,X 启动了,但大约 1.5 分钟内我无法使用鼠标。

如果我在发生这种情况时跟踪日志,它看起来是这样的:

[    28.141] (**) Option "fd" "35"
[    28.142] (II) event5  - SynPS/2 Synaptics TouchPad: device removed
[    28.215] (II) intel(0): EDID vendor "CMN", prod id 4665
[    28.215] (II) intel(0): Printing DDC gathered Modelines:
[    28.215] (II) intel(0): Modeline "1920x1080"x0.0  138.78  1920 1966 1996 2080  1080 1082 1086 1112 +hsync -vsync (66.7 kHz eP)
[    29.154] (II) event5  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    29.156] (II) event5  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    32.527] (II) intel(0): resizing framebuffer to 4480x1440
[    32.561] (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (2560, 360), rotation normal, reflection none
[   156.842] (II) config/udev: Adding input device Logitech M510 (/dev/input/mouse3)
[   156.842] (II) No input driver specified, ignoring this device.
[   156.842] (II) This device may have been added with another device file.
[   156.891] (II) config/udev: Adding input device Logitech M510 (/dev/input/event11)
[   156.891] (**) Logitech M510: Applying InputClass "libinput pointer catchall"
[   156.891] (II) Using input driver 'libinput' for 'Logitech M510'
[   156.892] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 54 paused 0
[   156.892] (**) Logitech M510: always reports core events
[   156.892] (**) Option "Device" "/dev/input/event11"
[   156.892] (**) Option "_source" "server/udev"
[   156.894] (II) event11 - Logitech M510: is tagged by udev as: Mouse
[   156.894] (II) event11 - Logitech M510: device is a pointer
[   156.894] (II) event11 - Logitech M510: device removed
[   156.894] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0006/0003:046D:4051.0007/input/input22/event11"
[   156.894] (II) XINPUT: Adding extended input device "Logitech M510" (type: MOUSE, id 20)
[   156.894] (**) Option "AccelerationScheme" "none"
[   156.895] (**) Logitech M510: (accel) selected scheme none/0
[   156.895] (**) Logitech M510: (accel) acceleration factor: 2.000
[   156.895] (**) Logitech M510: (accel) acceleration threshold: 4
[   156.896] (II) event11 - Logitech M510: is tagged by udev as: Mouse
[   156.896] (II) event11 - Logitech M510: device is a pointer

正如您所看到的,从 32 到 156 它什么也没做,突然它决定检测到我的鼠标并开始工作。

为什么会这样?我该如何修复?

答案1

尝试

systemd-analyze blame    

这将列出导致启动速度变慢的因素。然后搜索耗时较长的因素(超过 10 秒)

相关内容