Thinkpad 触摸板休眠唤醒后失效 - touchpad of thinkpad stop work after sleep

先交代下背景,我使用 Thinkpad T540P, 系统 manjaro linux,桌面环境deepin,最近发现合上电脑后再打开,那么触摸板将不再工作,换言之,系统休眠之后触摸板不再工作,这个问题好严重哦,每次不得不重启解决,之后觉得这非程序员的解决之道,所以Google了下,最终解决了问题,下面是解决方案。

English version:I am using Thinkpad T540P with manjaro deepin, recently I found my touchpad won't work after sleep and I must reboot it to solve. As we all know it isn't a programmer's style of solve problem, so I try to fix it by google and finally I fixed it here is how I do it.

1、编辑 /etc/default/grub 文件 (Edit /etc/default/grub file)

vim /etc/default/grub

2、修改 GRUB_CMDLINE_LINUX="" 为 GRUB_CMDLINE_LINUX="i8042.reset i8042.nomux i8042.nopnp i8042.noloop" (Change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="i8042.reset i8042.nomux i8042.nopnp i8042.noloop")

3、更新grub菜单(update grub menu)

sudo grub-mkconfig -o /boot/grub/grub.cfg

如果是ubuntu 或者 debian 系,可以用下面的命令更新菜单(For ubuntu or debian user please use follow command)

sudo update-grub

sudo update-grub 和 sudo update-grub2 是一样的,无论执行那个命令结果都一样,后者只是链接到前者而已(sudo update-grub and sudo update-grub2 are equivalent, so it doesn\'t matter which one you run. /usr/sbin/update-grub2 is just a symbolic link to /usr/sbin/update-grub.)

本博客若无特殊说明则由 full-stack-trip 原创发布
转载请点名出处:编程生涯 > Thinkpad 触摸板休眠唤醒后失效 - touchpad of thinkpad stop work after sleep
本文地址:https://www.kpromise.top/touchpad-stop-work-after-sleep/

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注