LoginSignup
3
3

More than 5 years have passed since last update.

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

Posted at

初期状態

$ 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

3
3
0

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
  3. You can use dark theme
What you can do with signing up
3
3