当我启动我的 Dell Inspiron 7566 笔记本电脑并显示 Kubuntu 登录屏幕时,键盘和鼠标不起作用。X 抱怨:
[ 16.130] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.130] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.130] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.130] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.130] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.130] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[ 16.130] (II) No input driver specified, ignoring this device.
[ 16.130] (II) This device may have been added with another device file.
[ 16.131] (II) config/udev: Adding input device Holtek USB Gaming Mouse (/dev/input/event5)
[ 16.131] (II) No input driver specified, ignoring this device.
[ 16.131] (II) This device may have been added with another device file.
[ 16.131] (II) config/udev: Adding input device Holtek USB Gaming Mouse (/dev/input/event6)
[ 16.131] (II) No input driver specified, ignoring this device.
[ 16.131] (II) This device may have been added with another device file.
[ 16.131] (II) config/udev: Adding input device Holtek USB Gaming Mouse (/dev/input/mouse0)
[ 16.131] (II) No input driver specified, ignoring this device.
[ 16.131] (II) This device may have been added with another device file.
[ 16.131] (II) config/udev: Adding input device Integrated Webcam (/dev/input/event17)
[ 16.131] (II) No input driver specified, ignoring this device.
[ 16.131] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device 2.4G Gaming Dongle (/dev/input/event9)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device 2.4G Gaming Dongle (/dev/input/mouse1)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device 2.4G Gaming Dongle (/dev/input/event10)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event12)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.132] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[ 16.132] (II) No input driver specified, ignoring this device.
[ 16.132] (II) This device may have been added with another device file.
[ 16.133] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[ 16.133] (II) No input driver specified, ignoring this device.
[ 16.133] (II) This device may have been added with another device file.
[ 16.133] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 16.133] (II) No input driver specified, ignoring this device.
[ 16.133] (II) This device may have been added with another device file.
[ 16.133] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event11)
[ 16.133] (II) No input driver specified, ignoring this device.
[ 16.133] (II) This device may have been added with another device file.
[ 16.133] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[ 16.133] (II) No input driver specified, ignoring this device.
[ 16.133] (II) This device may have been added with another device file.
[ 16.134] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event16)
[ 16.134] (II) No input driver specified, ignoring this device.
[ 16.134] (II) This device may have been added with another device file.
这个问题很可能是由昨天的升级引起的 xserver-xorg-core 至 2:1.18.4-0ubuntu0.1。看来这个包与许多与输入处理相关的包冲突/破坏。升级日志:
Start-Date: 2017-03-09 16:49:09
Install: xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2, automatic)
Upgrade: libnm-glib4:amd64 (1.2.2-0ubuntu0.16.04.4, 1.2.6-0ubuntu0.16.04.1), libgtk-3-common:amd64 (3.18.9-1ubuntu3.1, 3.18.9-1ubuntu3.2), libgtk-3-0:amd64 (3.18.9-1ubuntu3.1, 3.18.9-1ubuntu3.2), primus-libs:amd64 (0~20150328-1, 20150328-3~xenialppa1), primus-libs:i386 (0~20150328-1, 20150328-3~xenialppa1), libnm0:amd64 (1.2.2-0ubuntu0.16.04.4, 1.2.6-0ubuntu0.16.04.1), network-manager:amd64 (1.2.2-0ubuntu0.16.04.4, 1.2.6-0ubuntu0.16.04.1), libnm-util2:amd64 (1.2.2-0ubuntu0.16.04.4, 1.2.6-0ubuntu0.16.04.1), libxnvctrl0:amd64 (378.09-0ubuntu0~gpu16.04.1, 378.13-0ubuntu0~gpu16.10.2), libgtk-3-bin:amd64 (3.18.9-1ubuntu3.1, 3.18.9-1ubuntu3.2), primus-libs-ia32:i386 (0~20150328-1, 20150328-3~xenialppa1), bumblebee:amd64 (3.2.1-10, 3.2.1-96~xenialppa1), nvidia-settings:amd64 (378.09-0ubuntu0~gpu16.04.1, 378.13-0ubuntu0~gpu16.10.2)
Remove: xserver-xorg-video-qxl-hwe-16.04:amd64 (0.1.4-3ubuntu3~16.04.1), xserver-xorg-video-vesa-hwe-16.04:amd64 (1:2.3.4-1build2~16.04.1), xserver-xorg-video-amdgpu-hwe-16.04:amd64 (1.1.2-1~16.04.1), primus:amd64 (0~20150328-1), xserver-xorg-input-synaptics-hwe-16.04:amd64 (1.8.3-1ubuntu1~16.04.1), xserver-xorg-hwe-16.04:amd64 (1:7.7+13ubuntu4~16.04.2), xserver-xorg-video-all-hwe-16.04:amd64 (1:7.7+13ubuntu4~16.04.2), xserver-xorg-video-fbdev-hwe-16.04:amd64 (1:0.4.4-1build5~16.04.1), xserver-xorg-video-vmware-hwe-16.04:amd64 (1:13.1.0-2ubuntu3~16.04.1), xorg:amd64 (1:7.7+13ubuntu3), xserver-xorg-video-intel-hwe-16.04:amd64 (2:2.99.917+git20160706-1ubuntu1~16.04.1), xserver-xorg-core-hwe-16.04:amd64 (2:1.18.4-1ubuntu6.1~16.04.1), xserver-xorg-input-wacom-hwe-16.04:amd64 (1:0.33.0-0ubuntu1~16.04.1), xserver-xorg-input-evdev-hwe-16.04:amd64 (1:2.10.2-1ubuntu1~16.04.1), xserver-xorg-video-nouveau-hwe-16.04:amd64 (1:1.0.12-2~16.04.1), xserver-xorg-input-all-hwe-16.04:amd64 (1:7.7+13ubuntu4~16.04.2), xserver-xorg-video-radeon-hwe-16.04:amd64 (1:7.7.1-1~16.04.1), xserver-xorg-video-ati-hwe-16.04:amd64 (1:7.7.1-1~16.04.1)
End-Date: 2017-03-09 16:51:18
Start-Date: 2017-03-09 16:55:20
Install: libindicator7:amd64 (12.10.2+16.04.20151208-0ubuntu1, automatic), libindicator3-7:amd64 (12.10.2+16.04.20151208-0ubuntu1, automatic), libappindicator3-1:amd64 (12.10.1+16.04.20170215-0ubuntu1, automatic), libappindicator1:amd64 (12.10.1+16.04.20170215-0ubuntu1), libdbusmenu-gtk3-4:amd64 (16.04.1+16.04.20160927-0ubuntu1, automatic), indicator-application:amd64 (12.10.1+16.04.20170120-0ubuntu1, automatic)
End-Date: 2017-03-09 16:55:21
如何修复 X 服务器中缺失的输入驱动程序?我可以避免降级有问题的软件包吗?
答案1
最有可能的是,可以通过运行
sudo apt install xserver-xorg-hwe-16.04 xserver-xorg-input-all-hwe-16.04
您有一个新的 HWE 堆栈,但安装了一个旧的xserver-xorg-core
。
有两个代表用户空间图形堆栈的包。xserver-xorg
和xserver-xorg-hwe-16.04
。它们都有很多依赖项。
安装时它们会互相替换。因此,如果您有堆栈hwe-16.04
,则需要所有xserver-xorg-*
软件包都带有-hwe-16.04
。