本周,我在联想 P14 上安装了 Ubuntu 20.04 LTS。最初,包括触摸板在内的所有东西都可以开箱即用。但今天,我的触摸板停止工作了。因为在另一个论坛上有人问了这个问题,试图提供帮助的人要求新输入和xinput 列表属性“SynPS/2 Synaptics 触摸板”(提问者没有进一步回复),我想在这里做同样的事情。
$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎜ ↳ TPPS/2 Elan TrackPoint id=14 [slave pointer (2)]
⎜ ↳ Logitech Wireless Mouse MX Master 3 id=16 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated I id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)]
↳ Logitech Wireless Mouse MX Master 3 id=17 [slave keyboard (3)]
$ xinput list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (155): 1
Coordinate Transformation Matrix (157): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (296): 1
libinput Tapping Enabled Default (297): 0
libinput Tapping Drag Enabled (298): 1
libinput Tapping Drag Enabled Default (299): 1
libinput Tapping Drag Lock Enabled (300): 0
libinput Tapping Drag Lock Enabled Default (301): 0
libinput Tapping Button Mapping Enabled (302): 1, 0
libinput Tapping Button Mapping Default (303): 1, 0
libinput Natural Scrolling Enabled (304): 1
libinput Natural Scrolling Enabled Default (305): 0
libinput Disable While Typing Enabled (306): 1
libinput Disable While Typing Enabled Default (307): 1
libinput Scroll Methods Available (308): 1, 1, 0
libinput Scroll Method Enabled (309): 1, 0, 0
libinput Scroll Method Enabled Default (310): 1, 0, 0
libinput Click Methods Available (311): 1, 1
libinput Click Method Enabled (312): 1, 0
libinput Click Method Enabled Default (313): 1, 0
libinput Middle Emulation Enabled (314): 0
libinput Middle Emulation Enabled Default (315): 0
libinput Accel Speed (316): 0.000000
libinput Accel Speed Default (317): 0.000000
libinput Left Handed Enabled (318): 0
libinput Left Handed Enabled Default (319): 0
libinput Send Events Modes Available (277): 1, 1
libinput Send Events Mode Enabled (278): 0, 0
libinput Send Events Mode Enabled Default (279): 0, 0
Device Node (280): "/dev/input/event8"
Device Product ID (281): 2, 7
libinput Drag Lock Buttons (320): <no items>
libinput Horizontal Scroll Enabled (321): 1
PS:我不明白是什么解决了这个问题这个问题。我尝试关闭我的 MX Master 3,但对触摸板没有影响。
答案1
同样在这里。
过了一段时间,触摸板停止工作。但是,按钮和旋钮仍在工作。当我将 BIOS 的配置更改为使用粘性 Fn 键时,我发现了这个问题。我还将 Fn 换成了 Ctrl。我不太习惯新的配置,所以我不小心按下了 Ctrl(Fn 功能)和 +V。之后(我正在用 vim 编写一些代码),v 字母开始一直打印,触摸板停止工作。
重新启动解决了这个问题,但我尝试使用kill -9
命令终止该进程。尽管命令已处理,但 Ubuntu 并未终止它。
重启后,正如我所说,一切都正常了。但是我发现这个登录dmesg
Apr 11 13:39:28 mgs-p14 kernel: [ 1.979870] psmouse serio1: synaptics: Your touchpad (PNP: LEN2064 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to [email protected].
Apr 11 13:39:28 mgs-p14 kernel: [ 2.055943] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
Apr 11 13:39:28 mgs-p14 kernel: [ 2.055958] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
Apr 11 13:39:28 mgs-p14 kernel: [ 2.106618] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6
Apr 11 13:39:28 mgs-p14 kernel: [ 2.141437] EXT4-fs (nvme0n1p2): re-mounted. Opts: errors=remount-ro
Apr 11 13:39:28 mgs-p14 kernel: [ 2.147929] lp: driver loaded but no devices found
Apr 11 13:39:28 mgs-p14 kernel: [ 2.151433] ppdev: user-space parallel port driver
这是 ubuntu 识别的设备 ─$ cat /proc/bus/input/devices | grep -A 20 Synaptic
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse0 event5
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=660800011000003
我在这里找到了一些可能有帮助的故障排除教程。当我再次遇到此问题时,我会按照它进行操作,并告知您 https://wiki.ubuntu.com/DebuggingTouchpadDetection