Fix: ノートPCがスリープ復帰後にタッチパッドが動かない件を直す
広告
この不具合は launchpad で報告されている:Elantech touchpad stops working after suspend。
スリープから復帰するたびに、「psmouse モジュールを手動でアンロード&ロード」しないといけない。
広告

というわけで、解決策はスクリプトを書くこと。
sudo vim /lib/systemd/system-sleep/trackpoint
中身はこう:
#!/bin/sh
case $1/$2 in
pre/*)
echo "Going to $2..."
# Place your pre suspend commands here, or `exit 0` if no pre suspend action required
modprobe -r psmouse
;;
post/*)
echo "Waking up from $2..."
# Place your post suspend (resume) commands here, or `exit 0` if no post suspend action required
sleep 2
modprobe psmouse
;;
esac
実行権限を付けるのを忘れずに。
sudo chmod +x /lib/systemd/system-sleep/trackpoint
再起動して快適に。
リンク: https://askubuntu.com/questions/671910/touchpad-not-working-after-suspending-laptop https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490130
コメントは中国語の本家サイトで受け付けています。このミラーは閲覧専用です。