当我第一次启动 Ubuntu 时,华硕 X455LF-WX055T 上的触摸板工作正常,但是当我将其暂停后唤醒时,触摸板不工作。
在我暂停之前,我的xinput list
包含PS/2 FocalTech FocalTech Touchpad
:
xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech K270 id=10 [slave pointer (2)]
⎜ ↳ Logitech M315/M235 id=11 [slave pointer (2)]
⎜ ↳ PS/2 FocalTech FocalTech Touchpad id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB2.0 VGA UVC WebCam id=12 [slave keyboard (3)]
↳ Asus WMI hotkeys id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
当我将其暂停后唤醒时,我的xinput list
不包含PS/2 FocalTech FocalTech Touchpad
但它被替换了(?)在AT Raw Set 2 keyboard id=15 [slave keyboard (3)]
我暂停之前不存在:
xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech K270 id=10 [slave pointer (2)]
⎜ ↳ Logitech M315/M235 id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB2.0 VGA UVC WebCam id=12 [slave keyboard (3)]
↳ Asus WMI hotkeys id=13 [slave keyboard (4)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
↳ AT Raw Set 2 keyboard id=15 [slave keyboard (3)]
我尝试过
从“暂停后触摸板不起作用”
我尝试创建一个/etc/pm/sleep.d/0000trackpad
包含以下内容的文件:
#!/bin/sh
case "$1" in
resume)
DISPLAY=:0.0 su USER -c '/usr/bin/synclient TouchpadOff=0' ;;
esac
和
#!/bin/sh
case "$1" in
suspend|hibernate)
modprobe -r psmouse ;;
resume|thaw)
modprobe psmouse ;;
esac
但两者都不起作用。
从“如何让华硕 x450L 上的触摸板正常工作?”
psmouse.proto=bare
像这样添加内核启动参数/etc/default/grub
:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash psmouse.proto=bare
然后用更新 grubsudo update-grub
但仍然不起作用。
我的 BIOS 也是最新的。