I have 13.2/KDE (Kernel 3.16.7) running on a relatively new Asus Z97-A mobo.(Intel Chipsets)
I built this machine about 4 months ago - very fast, stable but was giving me fits with entering and staying in Sleep (S3, STR) state.
About once every 4 or so tries, machine would enter S3 and stay there. The other attempts, it would immediately Resume.
Info available in journalctl was not super helpful, but seemed to be pointing to some USB activity calling for resume.
In searching to correct this behaviour, I found some interesting, but not directly helpful, posts here https://forums.opensuse.org/showthread.php/499032-Don-t-wake-up-on-lid-open and also here https://bbs.archlinux.org/viewtopic.php?id=204127, referencing tweaks to /proc/acpi/wakeup.
What so far has resolved my ‘random’ resume issue is rearranging my USB peripheral connections.
The Z97-A mobo supports a new super speed USB 3.1 capability (ASmedia chip) on two dedicated ports.
I had a Bluetooth dongle attached to one of those ports, I moved it to a standard USB3 port and, so far, the random resumes have disappeared.
This could be an ASmedia driver issue or ??, I am not sure yet.
BUT, I notice something odd about the contents of my /proc/acpi/wakeup contents:
/proc/acpi> cat wakeup
Device S-state Status Sysfs node
PEG0 S4 *disabled pci:0000:00:01.0
PEGP S4 *disabled pci:0000:01:00.0
PEG1 S4 *disabled pci:0000:00:01.1
PEGP S4 *enabled pci:0000:02:00.0
PEG2 S4 *disabled
PEGP S4 *disabled
UAR1 S4 *disabled
PS2K S4 *disabled
PS2M S4 *disabled
RP01 S4 *disabled pci:0000:00:1c.0
PXSX S4 *disabled
RP02 S4 *disabled
PXSX S4 *disabled
RP03 S4 *disabled
PXSX S4 *disabled
RP05 S4 *disabled pci:0000:00:1c.4
PXSX S4 *enabled pci:0000:06:00.0
RP06 S4 *disabled
PXSX S4 *disabled
RP07 S4 *disabled pci:0000:00:1c.6
PXSX S4 *disabled pci:0000:07:00.0
RP08 S4 *disabled
PXSX S4 *disabled
RP04 S4 *disabled pci:0000:00:1c.3
PXSX S4 *disabled pci:0000:04:00.0
GLAN S4 *enabled pci:0000:00:19.0
EHC1 S4 *enabled pci:0000:00:1d.0
EHC2 S4 *enabled pci:0000:00:1a.0
XHC S4 *enabled pci:0000:00:14.0
HDEF S4 *disabled pci:0000:00:1b.0
Specifically, all the entries are for S-state S4, which is Hibernate, which I don’t use.
Can anyone point me to how/where /proc/acpi/wakeup gets populated on boot?
I took a quick look at /proc/acpi/wakeup on my LEAP 42.1 laptop, it has entries for both S3 and S4.
Sleep works very reliably there, but much different hardware.
Thanks