You are not logged in.
hi, I installed archlinux on my macbook 2013, and I can't wake the system up after suspending. hitting keys on the keyboard, or moving the mouse doesn't do anything
I ran dmesg | grep ACPI, outputs is ACPI: (supports S0 S4 S5),
and I ran cat /sys/power/mem_sleep , result is [s2idle]
can anyone tell me if this is correct configuration for my macbook? or is it right status when sleep status is i2idle? thanks a lot
Last edited by qbai (2021-02-08 02:58:55)
Offline
cat /proc/acpi/wakeupThe power button will likely work.
https://wiki.archlinux.org/index.php/Mac
https://wiki.archlinux.org/index.php/Ma … _Hibernate
Online
cat /proc/acpi/wakeup :
Device S-state Status Sysfs node
P0P2 S3 *disabled
EC S4 *disabled platform:PNP0C09:00
HDEF S3 *disabled pci:0000:00:1b.0
RP01 S3 *enabled pci:0000:00:1c.0
RP02 S3 *enabled pci:0000:00:1c.1
RP03 S3 *enabled pci:0000:00:1c.2
ARPT S4 *disabled pci:0000:03:00.0
RP05 S3 *enabled pci:0000:00:1c.4
RP06 S3 *enabled pci:0000:00:1c.5
XHC1 S3 *enabled pci:0000:00:14.0
ADP1 S4 *disabled platform:ACPI0003:00
LID0 S4 *enabled platform:PNP0C0D:00
any problem in my archlinux?
Offline
Hey qbai, welcome to the forums. If you were wondering where your post went, you hit 'report' when you had meant 'reply'. Not the first time that has happened ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Device S-state Status Sysfs node
P0P2 S3 *disabled
EC S4 *disabled platform:PNP0C09:00
HDEF S3 *disabled pci:0000:00:1b.0
ARPT S4 *disabled pci:0000:03:00.0
ADP1 S4 *disabled platform:ACPI0003:00You could try whether enabling any of those (eg. "echo P0P2 | sudo tee /proc/acpi/wakeup" will toggle P0P2) alters the situation.
The lid switch should™ btw. work.
Online
I tried the above all, but still can not wakeup, I noticed that P0P2 S3 *disabled, this means pop2 work at s3 status, as I described before, dmesg | grep ACPI, outputs is ACPI: (supports S0 S4 S5), that means in my labtop, no any s1, s2, s3 acpi, so I guess this method does not work at all.
do you agree ?
Offline
No.
The S-state is the deepest state this input can get you out of (S3 is STR, S4 hibernation)
The enabled/disabled state should™ toggle when you write the 4-letter code into /proc/acpi/wakeup and the file should reflect that (notice that this isn't a text document but a kernel interface why you can't just edit it with a text editor)
Online