解决Ubuntu睡眠后无法唤醒的问题

1 安装

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt-get install pm-utils laptop-mode-tools
sudo apt-get install pm-utils laptop-mode-tools
sudo apt-get install pm-utils laptop-mode-tools

2 配置

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# /etc/laptop-mode/conf.d/runtime-pm.conf
AUDOSUSPEND_DEVID_BLACKLIST="usbhid usb-storage"
# /etc/laptop-mode/conf.d/runtime-pm.conf AUDOSUSPEND_DEVID_BLACKLIST="usbhid usb-storage"
# /etc/laptop-mode/conf.d/runtime-pm.conf
AUDOSUSPEND_DEVID_BLACKLIST="usbhid usb-storage"

还有一个

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# /etc/laptop-mode/laptop-mode.conf
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=1
# /etc/laptop-mode/laptop-mode.conf ENABLE_LAPTOP_MODE_ON_BATTERY=1 ENABLE_LAPTOP_MODE_ON_AC=1
# /etc/laptop-mode/laptop-mode.conf
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=1

 

Leave a Reply

Your email address will not be published. Required fields are marked *