![笔记本电脑内置键盘停止工作](https://linux22.com/image/1159778/%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91%E5%86%85%E7%BD%AE%E9%94%AE%E7%9B%98%E5%81%9C%E6%AD%A2%E5%B7%A5%E4%BD%9C.png)
升级软件包后,console-setup
console-setup-linux
keyboard-configuration
我的笔记本内置键盘停止响应任何操作/按键。我可以使用 USB 外接键盘,但内置键盘不工作,但如果我进行实时启动并使用其他操作系统或 Linux 发行版,内置键盘就可以工作。我已按照所有键盘调试检测检查并查看dmesg
日志/var/log/Xorg.0.log
,发现键盘已连接。这种行为对我来说很奇怪
cat /var/log/Xorg.0.log | grep 'XINPUT'
[ 43.824] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[ 43.840] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 43.856] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 43.904] (II) XINPUT: Adding extended input device "VGA WebCam: VGA WebCam" (type: KEYBOARD, id 9)
[ 43.956] (II) XINPUT: Adding extended input device "ELAN0501:00 04F3:3060 Touchpad" (type: TOUCHPAD, id 10)
[ 43.980] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[ 44.004] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 12)
[ 18853.582] (II) XINPUT: Adding extended input device "C8:F2:30:D1:57:CE" (type: KEYBOARD, id 13)
日志的其他部分::
[ 18853.362] (II) config/udev: Adding input device C8:F2:30:D1:57:CE (/dev/input/event14)
[ 18853.494] (**) C8:F2:30:D1:57:CE: Applying InputClass "libinput keyboard catchall"
[ 18853.505] (II) Using input driver 'libinput' for 'C8:F2:30:D1:57:CE'
[ 18853.505] (**) C8:F2:30:D1:57:CE: always reports core events
[ 18853.505] (**) Option "Device" "/dev/input/event14"
[ 18853.506] (**) Option "_source" "server/udev"
[ 18853.548] (II) event14 - C8:F2:30:D1:57:CE: is tagged by udev as: Keyboard
[ 18853.548] (II) event14 - C8:F2:30:D1:57:CE: device is a keyboard
[ 18853.548] (II) event14 - C8:F2:30:D1:57:CE: device removed
[ 18853.582] (**) Option "config_info" "udev:/sys/devices/virtual/input/input16/event14"
[ 18853.582] (II) XINPUT: Adding extended input device "C8:F2:30:D1:57:CE" (type: KEYBOARD, id 13)
[ 18853.582] (**) Option "xkb_model" "pc105"
[ 18853.583] (**) Option "xkb_layout" "us"
[ 18853.583] (WW) Option "xkb_variant" requires a string value
[ 18853.583] (WW) Option "xkb_options" requires a string value
[ 18853.626] (II) event14 - C8:F2:30:D1:57:CE: is tagged by udev as: Keyboard
[ 18853.626] (II) event14 - C8:F2:30:D1:57:CE: device is a keyboard