You are not logged in.

#1 2021-02-08 00:51:32

qbai
Member
Registered: 2021-02-08
Posts: 5

one power issue, please help to look at it.

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

#2 2021-02-08 08:08:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,624

Re: one power issue, please help to look at it.

Online

#3 2021-02-09 02:14:28

qbai
Member
Registered: 2021-02-08
Posts: 5

Re: one power issue, please help to look at it.

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

#4 2021-02-09 02:27:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,700

Re: one power issue, please help to look at it.

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 wink


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

#5 2021-02-09 08:42:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,624

Re: one power issue, please help to look at it.

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:00

You 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

#6 2021-02-10 07:15:42

qbai
Member
Registered: 2021-02-08
Posts: 5

Re: one power issue, please help to look at it.

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

#7 2021-02-10 08:19:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,624

Re: one power issue, please help to look at it.

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

Board footer

Powered by FluxBB