查看: 11790|回复: 0

联想P710 Debian系统环境下禁止休眠

[复制链接]

77

主题

101

回帖

1819

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1819
发表于 2019-10-14 16:35:34 | 显示全部楼层 |阅读模式
方法一:

1、禁止休眠
1
$ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target


2、解除休眠
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

方法二:

编辑 /etc/default/grub 文件,将 GRUB_CMDLINE_LINUX_DEFAULT="quiet" 改为 GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi=off apm=off"
执行 sudo update-grub 命令



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-4-24 02:50 , Processed in 0.046301 second(s), 19 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn