我有一个键一直被按下,即使断开键盘并换成另一个键盘也是如此。
操作系统:Linux Mint 18.3
$ xev | grep 'keycode'
state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x110, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
state 0x110, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
已经尝试:
$ xmodmap -e 'keycode 221 = '
# And
$ xmodmap -e 'keycode 221 = NoSymbol'
当我多次按下该`
键时,我得到以下信息:
``ῢ``ῢ``ῢῢῢ``ῢ``
我使用的Linux内核是:
4.13.0.32
4.14.0
和设备:
$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0458:0186 KYE Systems Corp. (Mouse Systems)
Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
关于如何修复此错误有什么建议吗?
答案1
这是 OP 的解决方案,最初作为对问题的编辑发布。它应该是一个答案。
发现
/dev/input/event3: PEAQ WMI hotkeys
导致错误的原因。$ sudo evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: Power Button /dev/input/event1: Power Button /dev/input/event2: Video Bus /dev/input/event3: PEAQ WMI hotkeys /dev/input/event4: HDA Intel HDMI HDMI/DP,pcm=3 /dev/input/event5: HDA Intel HDMI HDMI/DP,pcm=7 /dev/input/event6: HDA Intel HDMI HDMI/DP,pcm=8 /dev/input/event7: HDA Intel PCH Rear Mic /dev/input/event8: HDA Intel PCH Line /dev/input/event9: HDA Intel PCH Line Out /dev/input/event10: KYE SYSTEMS CORP. Wired Mouse /dev/input/event11: Logitech USB Keyboard /dev/input/event12: Logitech USB Keyboard
我停止了
sudo rmmod peaq_wmi
更多信息请点击这里:
https://askubuntu.com/questions/995819/touchpad-gestures-and-holding-keys-does-not-work