忽略 USB 鼠标,因为:(EE)输入设备太多。如何修复?

忽略 USB 鼠标,因为:(EE)输入设备太多。如何修复?

USB 鼠标在一段时间后停止工作(有时重新启动可以解决问题,但 (1) 有时不能,并且 (2) 频繁重新启动不是我想要的)。检查后,/var/log/Xorg.0.log我看到以下消息序列,其中显然包含错误 (EE) 消息:

[ 82489.053] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82489.053] (II) No input driver specified, ignoring this device.
[ 82489.053] (II) This device may have been added with another device file.
[ 82489.146] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82489.146] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82489.146] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82489.146] (**) A4Tech USB Mouse: always reports core events
[ 82489.146] (**) Option "Device" "/dev/input/event261"
[ 82489.146] (**) Option "_source" "server/udev"
[ 82489.225] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82489.225] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82489.225] (II) event261 - A4Tech USB Mouse: device removed
[ 82489.264] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82489.264] (II) UnloadModule: "libinput"

到目前为止还没有找到可靠的解决方法,尽管一些猜测(例如删除笔记本电脑电源管理工具)仍在继续。有什么建议吗?

Ubuntu 18.04.1 LTS/戴尔 Latitude 3440/A4Tech N60-F

更新:当然,重新插入另一个 USB 不起作用。在 16.04 下,问题仍然存在。

更新2: sudo rmmod usbhid+sudo modprobe usbhid没有帮助。

更新3:

$ grep -i mouse /var/log/Xorg.0.log
[    20.301] (==) modeset(0): Silken mouse enabled
[    20.601] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   199.907] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[   199.966] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event9)
[   199.966] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[   199.966] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[   199.966] (**) A4Tech USB Mouse: always reports core events
[   200.040] (II) event9  - A4Tech USB Mouse: is tagged by udev as: Mouse
[   200.041] (II) event9  - A4Tech USB Mouse: device is a pointer
[   200.041] (II) event9  - A4Tech USB Mouse: device removed
[   200.080] (II) XINPUT: Adding extended input device "A4Tech USB Mouse" (type: MOUSE, id 13)
[   200.083] (**) A4Tech USB Mouse: (accel) selected scheme none/0
[   200.083] (**) A4Tech USB Mouse: (accel) acceleration factor: 2.000
[   200.083] (**) A4Tech USB Mouse: (accel) acceleration threshold: 4
[   200.141] (II) event9  - A4Tech USB Mouse: is tagged by udev as: Mouse
[   200.141] (II) event9  - A4Tech USB Mouse: device is a pointer
[ 62443.191] (II) config/udev: removing device A4Tech USB Mouse
[ 62443.191] (II) event9  - A4Tech USB Mouse: device removed
[ 82222.732] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82222.814] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82222.814] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82222.814] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82222.814] (**) A4Tech USB Mouse: always reports core events
[ 82222.872] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82222.872] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82222.872] (II) event261 - A4Tech USB Mouse: device removed
[ 82222.912] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82233.442] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82233.552] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82233.552] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82233.552] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82233.552] (**) A4Tech USB Mouse: always reports core events
[ 82233.649] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82233.649] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82233.649] (II) event261 - A4Tech USB Mouse: device removed
[ 82233.680] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82244.848] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82244.929] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82244.929] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82244.929] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82244.929] (**) A4Tech USB Mouse: always reports core events
[ 82245.008] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82245.008] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82245.008] (II) event261 - A4Tech USB Mouse: device removed
[ 82245.040] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82282.414] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82282.485] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82282.485] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82282.485] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82282.485] (**) A4Tech USB Mouse: always reports core events
[ 82282.540] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82282.540] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82282.541] (II) event261 - A4Tech USB Mouse: device removed
[ 82282.584] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82489.053] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82489.146] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82489.146] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82489.146] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82489.146] (**) A4Tech USB Mouse: always reports core events
[ 82489.225] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82489.225] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82489.225] (II) event261 - A4Tech USB Mouse: device removed
[ 82489.264] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 82802.434] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 82802.528] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 82802.528] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 82802.529] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 82802.529] (**) A4Tech USB Mouse: always reports core events
[ 82802.588] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 82802.588] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 82802.588] (II) event261 - A4Tech USB Mouse: device removed
[ 82802.624] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 84382.375] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 84382.477] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 84382.477] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 84382.477] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 84382.477] (**) A4Tech USB Mouse: always reports core events
[ 84382.537] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 84382.537] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 84382.537] (II) event261 - A4Tech USB Mouse: device removed
[ 84382.576] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 86931.932] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 86932.033] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 86932.033] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 86932.033] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 86932.033] (**) A4Tech USB Mouse: always reports core events
[ 86932.092] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 86932.092] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 86932.092] (II) event261 - A4Tech USB Mouse: device removed
[ 86932.132] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[ 87803.804] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1)
[ 87803.901] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event261)
[ 87803.901] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 87803.901] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 87803.901] (**) A4Tech USB Mouse: always reports core events
[ 87803.960] (II) event261 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 87803.960] (II) event261 - A4Tech USB Mouse: device is a pointer
[ 87803.960] (II) event261 - A4Tech USB Mouse: device removed
[ 87803.996] (EE) Too many input devices. Ignoring A4Tech USB Mouse

更新4:尝试后,sudo modprobe -r psmouse鼠标恢复了功能(不是立即恢复,我不得不等待至少 30 秒),但触摸板却坏了。现在正在寻找恢复触摸板的方法。grep -i mouse /var/log/Xorg.0.log(它的尾部)的输出现在如下:

[189654.285] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event489)
[189654.285] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[189654.285] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[189654.285] (**) A4Tech USB Mouse: always reports core events
[189654.344] (II) event489 - A4Tech USB Mouse: is tagged by udev as: Mouse
[189654.345] (II) event489 - A4Tech USB Mouse: device is a pointer
[189654.345] (II) event489 - A4Tech USB Mouse: device removed
[189654.384] (EE) Too many input devices. Ignoring A4Tech USB Mouse
[189689.204] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse0)
[189689.296] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event6)
[189689.296] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[189689.296] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[189689.296] (**) A4Tech USB Mouse: always reports core events
[189689.356] (II) event6  - A4Tech USB Mouse: is tagged by udev as: Mouse
[189689.356] (II) event6  - A4Tech USB Mouse: device is a pointer
[189689.356] (II) event6  - A4Tech USB Mouse: device removed
[189689.396] (II) XINPUT: Adding extended input device "A4Tech USB Mouse" (type: MOUSE, id 12)
[189689.399] (**) A4Tech USB Mouse: (accel) selected scheme none/0
[189689.399] (**) A4Tech USB Mouse: (accel) acceleration factor: 2.000
[189689.399] (**) A4Tech USB Mouse: (accel) acceleration threshold: 4
[189689.457] (II) event6  - A4Tech USB Mouse: is tagged by udev as: Mouse
[189689.457] (II) event6  - A4Tech USB Mouse: device is a pointer

答案1

在终端中尝试:sudo modprobe -r psmouse

答案2

打开终端窗口并尝试以下命令重新激活触摸板:

sudo modprobe psmouse

相关内容