我最近将笔记本电脑换成了华硕 A450L,并安装了最新的 ubuntu 15.04,但有一个烦人的错误,触摸板在挂起后不工作,需要重新启动才能使其再次工作。
挂起后,xinput 中不存在触摸板,这是挂起之前我的 xinput:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech 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 HD UVC WebCam id=10 [slave keyboard (3)]
↳ Asus WMI hotkeys id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
之后:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [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 HD UVC WebCam id=10 [slave keyboard (3)]
↳ Asus WMI hotkeys id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
使用这个技巧在挂起之前有效,但在挂起之后无效:
sudo rmmod psmouse
sudo modprobe psmouse
还有其他解决方法吗?
[更新]
甚至在休眠(磁盘暂停)后它还可以再次工作。
:~$ dmesg | grep serio1
[ 1.294732] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[ 1.793203] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f01)
[ 1.806832] psmouse serio1: elantech: Synaptics capabilities query result 0x00, 0x15, 0x0c.
[ 1.875780] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input5
...after suspend no additional output.
...after hibernate touchpad redetected again.
[ 2704.226793] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[ 2704.725799] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f01)
[ 2704.739412] psmouse serio1: elantech: Synaptics capabilities query result 0x00, 0x15, 0x0c.
[ 2704.808346] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input20