search
LoginSignup
3
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

LinuxでUSBマウスからスリープ復帰させないようにする方法のメモ

初期状態

$ cat /proc/acpi/wakeup | grep enable
EHC1    S3  *enabled pci:0000:00:1d.0
XHC S3  *enabled pci:0000:00:14.0
PWRB    S3  *enabled platform:PNP0C0C:00
SLPB    S3  *enabled platform:PNP0C0E:00
LID0    S3  *enabled platform:PNP0C0D:00

設定の変更

$ sudo echo XHC > /proc/acpi/wakeup
$ sudo echo EHC1 > /proc/acpi/wakeup

結果

$ cat /proc/acpi/wakeup | grep "XHC\|EHC1"
EHC1    S3  *disabled pci:0000:00:1d.0
XHC S3  *disabled pci:0000:00:14.0

「XHC」と「EHC1」が両方disabledになればおk

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
3
Help us understand the problem. What are the problem?