Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin怎么设置才能不让鼠标和键盘从睡眠中唤醒(已解决)
Experiences and Insight
905
views ·
4
replies ·
To
floor
Go
y***z@tom.com
deepin
2020-04-17 04:35
Author
本帖最后由 yjgsz 于 2020-4-17 20:34 编辑
deepin V20 beta已安装,感觉不错。但发现电脑睡眠待机后,只要动一下鼠标,电脑就被唤醒了。所以想问,怎么设置才能不让鼠标和键盘从睡眠中唤醒?
Reply
Like 0
Favorite
View the author
All Replies
y***z@tom.com
deepin
2020-04-17 04:37
#1
windows系统可以在设备管理器中进行设置。但deepin要怎么设置?
Reply
Like 0
View the author
y***z@tom.com
deepin
2020-04-18 04:51
#2
本帖最后由 yjgsz 于 2020-4-17 21:00 编辑
1、grep . /sys/bus/usb/devices/*/power/wakeup 查看有哪些设备可以唤醒
如 /sys/bus/usb/devices/1-1.1/power/wakeup:enabled
/sys/bus/usb/devices/1-1.5/power/wakeup:enabled
/sys/bus/usb/devices/1-1/power/wakeup:disabled
/sys/bus/usb/devices/2-1/power/wakeup:disabled
上面两个,基本确定一个是鼠标,一个是键盘。
(lsusb 查看有哪些外接设备,目标就在其中)
2、dmesg 中查找相关设备
显示内容较多,可输出到一个文本文件后,再进行查看或搜索。
如[ 0.000000] microcode: microcode updated early to revision 0x2f, date = 2019-02-17
[ 0.000000] Linux version 5.3.0-3-amd64
3、找到并确定后,到对应文件夹进行修改,有点像Windows的注册表。 文件管理器以管理员模式运行。
如我的鼠标是1-1.1,就到 /sys/bus/usb/devices/1-1.1/power,将wakeup的值由 enabled 改为 disabled
当然用命令也行
sudo -i 切换成 root 去修改目标接口的 wakeup 值:echo 'enabled' > /sys/bus/usb/devices/1-1/power/wakeup
测试成功。
https://bbs.deepin.org/user/48640
还意外发现了系统自带文本编辑器的一个BUG,在导出的文本文件中搜索关键字时,
发现查找功能没有用,输入查找关键字后无反应,不能查找。只好用WPS
Reply
Like 0
View the author
y***z@tom.com
deepin
2020-04-18 05:17
#3
再测试一下文本编辑器的搜索功能,有点意思,如手动打字输入关键字时搜索没问题,但如果是先复制再粘贴的,就会有不能搜索的情况 。
@jingle
Reply
Like 0
View the author
y***z@tom.com
deepin
2020-04-19 00:27
#4
又发现每次重启后,又还原了,要重新设置。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
WiFi Drivers
Popular Events
More
deepin V20 beta已安装,感觉不错。但发现电脑睡眠待机后,只要动一下鼠标,电脑就被唤醒了。所以想问,怎么设置才能不让鼠标和键盘从睡眠中唤醒?