Skip to content

hbriese/acpi_wakeup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acpi_wakeup

Disable/enable ACPI wakeup devices

License

Install

$ git clone https://github.com/hbriese/acpi_wakeup.git
$ sudo acpi_wakeup/install.sh

Usage

List ACPI wakeup devies

$ acpi_wakeup -l

Keep enabled specified wakeup devices (persistent)

Device names (or sysfs nodes) that you want ACPI wakeups enabled for. Supports regular expressions.

Edit /etc/acpi_wakeup.conf with each device on a new line.

e.g. Keep awake PBTN (power button), LID devices (e.g. LID...), and a particular PCI devices.

> /etc/acpi_wakeup.conf
# Comments after a hash
PBTN
LID[\d]*
pci:0000:00:14.0

Default devices enabled: PBTN LID[\d]*

It is recommended to specify devices by their sysfs node (e.g. pci:...) if the device name is not unique.

Keep enabled specified wakeup devices (non-persistent)

Overrides devices in /etc/wakeup-devices.conf

$ acpi_wakeup -s -d DEVICE DEVICE ...

e.g.

$ acpi_wakeup -s -d PBTN LID[\d]* pci:0000:00:14.0
Disable ALL devices (non-persistent)

Use --devices (-d) without any options to disable all wakeup devices.

$ acpi_wakeup -s -d

Set wakeup devices

Automatically executed on start by systemd.

Use with other options for them to have an affect.

$ acpi_wakeup -s

Releases

No releases published

Packages

No packages published