deepin社区版1003休眠后无法唤醒
Tofloor
poster avatar
bjxxl
deepin
2020-12-20 02:54
Author

笔记本thinkpad e485

16G内存

Reply Favorite View the author
All Replies
北冥夜未央
deepin
Ecological co-builder
2020-12-20 03:38
#1

是不是没设置交换分区?

Reply View the author
SamLukeYes
deepin
2020-12-20 03:40
#2
Reply View the author
tang20201209
deepin
2020-12-20 07:57
#3

是键盘无法唤醒,鼠标可以唤醒

Reply View the author
Ziggy
deepin
2020-12-20 08:51
#4

具体配置?内核版本?待机后是否还在运行?

Reply View the author
mgmpk
deepin
2020-12-22 04:55
#5

未遇到此问题

Reply View the author
bjxxl
deepin
2020-12-26 06:00
#6
Ziggy

具体配置?内核版本?待机后是否还在运行?

Linux version 5.4.70-amd64-desktop (deepin@deepin-PC) (gcc version 8.3.0 (Uos 8.3.0.3-3+rebuild)) #1 SMP Wed Oct 14 15:24:23 CST 2020

配置amd r5 2500u,16G内存,联想e485

Reply View the author
bjxxl
deepin
2020-12-26 07:27
#7

#filefrag -v /swapfile

open: No such file or directory

无论如何我也找不到swap的physical-offset

Reply View the author
SamLukeYes
deepin
2020-12-26 07:43
#8
bjxxl

#filefrag -v /swapfile

open: No such file or directory

无论如何我也找不到swap的physical-offset

你的 swapfile 不在这吧[困惑]

Reply View the author
Ziggy
deepin
2020-12-26 07:46
#9
bjxxl
Linux version 5.4.70-amd64-desktop (deepin@deepin-PC) (gcc version 8.3.0 (Uos 8.3.0.3-3+rebuild)) #1 SMP Wed Oct 14 15:24:23 CST 2020

配置amd r5 2500u,16G内存,联想e485

发一下系统日志

Reply View the author
bjxxl
deepin
2020-12-26 23:11
#10
Ziggy

发一下系统日志

syslog吗


Reply View the author
bjxxl
deepin
2020-12-26 23:12
#11
SamLukeYes

你的 swapfile 不在这吧[困惑]

我是不是应该先吧swap挂载然后再使用这个命令

Reply View the author
SamLukeYes
deepin
2020-12-26 23:16
#12
bjxxl

我是不是应该先吧swap挂载然后再使用这个命令

你到底是用的交换分区还是交换文件?如果是交换文件的话你确定文件就是 /swapfile?

Reply View the author
bjxxl
deepin
2020-12-27 05:54
#13
SamLukeYes

你到底是用的交换分区还是交换文件?如果是交换文件的话你确定文件就是 /swapfile?

交换分区16G


Reply View the author
SamLukeYes
deepin
2020-12-27 06:31
#14
bjxxl

交换分区16G


交换分区就简单很多了,直接设置 resume= 就好,比如给 swap 分区设置个卷标然后 resume=LABEL=<卷标>

Reply View the author
bjxxl
deepin
2020-12-27 06:59
#15
SamLukeYes

交换分区就简单很多了,直接设置 resume= 就好,比如给 swap 分区设置个卷标然后 resume=LABEL=<卷标>

我怎么echo不到resume里啊[衰]

Reply View the author
SamLukeYes
deepin
2020-12-27 07:02
#16
bjxxl

我怎么echo不到resume里啊[衰]

为啥要 echo 啊?你是用 grub 引导的对吧,应该在 grub 的配置文件里面加上这个内核参数,update-grub,然后重启就可以休眠了。

另外差点忘了提醒你,搞清楚自己的需求到底是待机还是休眠[尾]

Reply View the author
bjxxl
deepin
2020-12-27 07:18
#17
SamLukeYes

为啥要 echo 啊?你是用 grub 引导的对吧,应该在 grub 的配置文件里面加上这个内核参数,update-grub,然后重启就可以休眠了。

另外差点忘了提醒你,搞清楚自己的需求到底是待机还是休眠[尾]

裂开,本领不到家

Reply View the author
Ziggy
deepin
2020-12-27 07:53
#18
bjxxl

syslog吗



Reply View the author
bjxxl
deepin
2020-12-27 07:56
#19
bjxxl

裂开,本领不到家

我写入道到grub.cfg的内容重启后没了


Reply View the author
SamLukeYes
deepin
2020-12-27 08:28
#20
bjxxl

我写入道到grub.cfg的内容重启后没了


如果不熟悉 grub 的配置文件,建议用 grub-customizer。grub.cfg 是不能直接改的。

Reply View the author