What am I disabling to allow my system to suspend?
by JASlinux from LinuxQuestions.org on (#5T24B)
Without this code this computer will not suspend. It only has to be run once:
Code:awk '/enabled/{print $1}' /proc/acpi/wakeup | while read a
do
echo "$a" > /proc/acpi/wakeup
doneHere is the contents of wakeup:
Code:Device S-state Status Sysfs node
P32 S4 *disabled pci:0000:00:1e.0
UHC1 S3 *disabled pci:0000:00:1d.0
UHC2 S3 *disabled pci:0000:00:1d.1
UHC3 S3 *disabled
UHC4 S3 *disabled pci:0000:00:1d.3
ECHI S3 *disabled pci:0000:00:1d.7
EXP1 S4 *disabled pci:0000:00:1c.0
EXP2 S3 *disabled pci:0000:00:1c.1
EXP3 S3 *disabled pci:0000:00:1c.2
EXP4 S3 *disabled
AZAL S4 *disabled pci:0000:00:1b.0
MODM S4 *disabled
Code:awk '/enabled/{print $1}' /proc/acpi/wakeup | while read a
do
echo "$a" > /proc/acpi/wakeup
doneHere is the contents of wakeup:
Code:Device S-state Status Sysfs node
P32 S4 *disabled pci:0000:00:1e.0
UHC1 S3 *disabled pci:0000:00:1d.0
UHC2 S3 *disabled pci:0000:00:1d.1
UHC3 S3 *disabled
UHC4 S3 *disabled pci:0000:00:1d.3
ECHI S3 *disabled pci:0000:00:1d.7
EXP1 S4 *disabled pci:0000:00:1c.0
EXP2 S3 *disabled pci:0000:00:1c.1
EXP3 S3 *disabled pci:0000:00:1c.2
EXP4 S3 *disabled
AZAL S4 *disabled pci:0000:00:1b.0
MODM S4 *disabled