You are not logged in.

#1 2015-03-16 20:38:00

annihilan
Member
Registered: 2010-07-27
Posts: 12

Can't figure out wakeup from suspend.

Okay. It pains me to do this because I can't help but feel like there's something somewhere on the internet I could find this out from, but I feel like I'm missing just one or two important pieces to understand it all.

I can't get my laptop (an HP Pavilion dv6) to resume from systemctl suspend, like after I open the lid of my laptop.

I have been led to believe that I need to tell /proc/acpi/wakeup the correct device to listen to to wakeup from suspend, but I don't know which device it is; I can't find any explanation to the names of these.

The output from 'cat /proc/acpi/wakeup/':

Device  S-state   Status   Sysfs node
PB2       S5    *disabled
PB3       S4    *disabled
PB4       S5    *disabled  pci:0000:00:04.0
XPDV      S5    *enabled   pci:0000:01:00.0
PB5       S5    *disabled  pci:0000:00:05.0
PB6       S5    *disabled  pci:0000:00:06.0
PB7       S5    *disabled
SPB0      S4    *disabled
SPB1      S4    *disabled
SPB2      S4    *disabled
SPB3      S4    *disabled
GEC       S4    *disabled
OHC1      S3    *enabled   pci:0000:00:12.0
OHC2      S3    *enabled   pci:0000:00:13.0
OHC3      S3    *disabled
OHC4      S3    *disabled
EHC1      S3    *enabled   pci:0000:00:12.2
EHC2      S3    *enabled   pci:0000:00:13.2
EHC3      S3    *disabled
XHC0      S3    *enabled   pci:0000:00:10.0
XHC1      S3    *enabled   pci:0000:00:10.1
P2P       S5    *disabled  pci:0000:00:14.4

I don't care about resuming from suspend with just the lid opening -- I don't really want to install acpid, I'd like to keep it very minimalistic.

Currently I actually can't resume from suspend because the power button currently calls poweroff, not resume. But I've also been told that systemd can't resume.

Offline

#2 2015-03-16 20:48:12

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,413
Website

Re: Can't figure out wakeup from suspend.

systemd/logind has no issues resuming for me, if you mean it doesn't support this functionality. However, how do you tell it's your power button that's faulty, instead of suspend as a whole? Did you check the journal?


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-03-16 23:08:57

annihilan
Member
Registered: 2010-07-27
Posts: 12

Re: Can't figure out wakeup from suspend.

My apologies, I seem to have misunderstood a different post. I read that cron can't do a resume, not systemd. Whoops!

It's not that my power button is faulty, it's that it's configured to send shutdown. I could reconfigure the power button to only do resume and then just manually type 'sudo shutdown -P now', as I do now mostly. However, I would rather make it to where I can press a button on my keyboard or click the mouse button instead. The thing is, I don't know which devices these are reported as, so my only option is to willy-nilly enable random devices listed for wakeup in /proc/acpi/wakeup until I find the right one.

Offline

Board footer

Powered by FluxBB