You are not logged in.

#1 2018-06-23 20:26:07

diff111
Member
Registered: 2018-01-13
Posts: 11

No S3 for LID in /proc/acpi/wakeup?

Since the last update my laptop (MacBook Air) does not wake up when I open the lid; I need to use the power button. It used to work fine before. Investigating the issue, I noticed that in /proc/acpi/wakeup the LID is in state S4 instead of S3. More precisely, here is my /proc/acpi/wakeup:

Device  S-state   Status   Sysfs node
PEG0      S3    *disabled
EC        S4    *disabled  platform:PNP0C09:00
HDEF      S3    *disabled  pci:0000:00:1b.0
RP01      S3    *disabled  pci:0000:00:1c.0
RP02      S3    *disabled  pci:0000:00:1c.1
RP03      S3    *disabled  pci:0000:00:1c.2
ARPT      S4    *disabled  pci:0000:03:00.0
RP05      S3    *disabled  pci:0000:00:1c.4
RP06      S3    *disabled  pci:0000:00:1c.5
SPIT      S3    *disabled  spi:spi-APP000D:00
XHC1      S3    *disabled  pci:0000:00:14.0
ADP1      S4    *disabled  platform:ACPI0003:00
LID0      S4    *enabled   platform:PNP0C0D:00

If I understand correctly, I need to have S3 instead of S4 on the last line. How can I do that?

Offline

#2 2018-06-29 13:06:27

mod24
Member
Registered: 2006-11-25
Posts: 20

Re: No S3 for LID in /proc/acpi/wakeup?

Hi,
I do have the exact same problem. My proc/acpi/wakeup looks identical.

Did you find a solution by now?

Kind Regards
Michael

Offline

#3 2018-06-29 19:40:21

diff111
Member
Registered: 2018-01-13
Posts: 11

Re: No S3 for LID in /proc/acpi/wakeup?

No, I was not able to find a fix. However, I downgraded a few packages that could have been the cause and now it works fine. More precisely, I ran the following command:

 sudo pacman -U /var/cache/pacman/pkg/linux-4.16.10-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/linux-firmware-20180518.2a9b2cf-1-any.pkg.tar.xz /var/cache/pacman/pkg/systemd-238.76-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libsystemd-238.76-1-x86_64.pkg.tar.xz  /var/cache/pacman/pkg/linux-headers-4.16.10-1-x86_64.pkg.tar.xz 

Now it works but /proc/acpi/wakeup is still the same (still have S4 on the LID line). I will try to update again later.

Offline

#4 2018-06-29 19:51:51

progandy
Member
Registered: 2012-05-17
Posts: 5,199

Re: No S3 for LID in /proc/acpi/wakeup?

S4 in the wakeup table means that the device can send wakeup signals in all sleep states up to S4, so it should also work with S1, S2 and S3.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

Board footer

Powered by FluxBB