User Tools

Site Tools


Sidebar

jak-na-to:linux

This is an old revision of the document!


Linux OS

Permanent disable ACPI wakeup by USB

Source: Reddit

acpi-wakeup-disable.service
[Unit]
Description=something
 
[Service]
ExecStart=/bin/bash -c "echo EHC1 >> /proc/acpi/wakeup; echo XHC >> /proc/acpi/wakeup"
 
[Install]
WantedBy=multi-user.target
  • Unordered List ItemPlace this file in /etc/systemd/system/
  • Then do sudo systemctl daemon-reload,
  • do sudo systemctl start acpi-wakeup-disable
  • and check on it with systemctl status acpi-wakeup-disable,
  • then enable it so it starts after boot with sudo systemctl enable acpi-wakeup-disable.
jak-na-to/linux.1547709113.txt.gz · Last modified: 2019/01/17 08:11 by hansek