You are not logged in.

#1 2017-10-23 20:10:28

n29xm
Member
Registered: 2017-02-11
Posts: 18

[SOLVED]ACPI functions breaks after resume from suspend

So i have this weird problem on my laptop (samsung NP900X3D). After a resume from suspend, certain ACPI functions gets turned off, which are:

- Lid function (cat /proc/acpi/button/lid/LID/state becomes always "open"). Laptop does not suspend on lid close when ACPI gets turned off.
- Battery state gets stuck. Meaning if it was charging after a resume, it says charging regardless of whether it's plugged in or not.

Certain functions also gets turned off in Windows 10:
- Brightness keys and other hotkeys stops working
- Battery state gets stuck (same as on arch)

The only way i have found so far to enable all these broken functions again is to boot an ubuntu live iso. When i do so, all these problems gets solved both on arch and windows.
And everything then works, until the ACPI gets turned off again after a resume from suspend in arch.

The "button" kernel module is responsible for the lid state and trying to reload it returns:

sudo modprobe -r button
modprobe: FATAL: Module button is in use.

I think i have the same problem as described here:
https://bbs.archlinux.org/viewtopic.php?id=226302
https://bbs.archlinux.org/viewtopic.php?id=168361
https://askubuntu.com/questions/197874/ … -by-kernel

Just trying my luck here. Maybe someone have experienced a similar problem?

Last edited by n29xm (2018-12-20 19:31:10)

Offline

#2 2017-12-03 14:45:05

n29xm
Member
Registered: 2017-02-11
Posts: 18

Re: [SOLVED]ACPI functions breaks after resume from suspend

Update OP with more info.

Offline

#3 2018-02-14 11:19:47

n29xm
Member
Registered: 2017-02-11
Posts: 18

Re: [SOLVED]ACPI functions breaks after resume from suspend

Kind of solved: Switching to the linux-rt-lts kernel from the AUR permanently resolves the issue. This might also explain why booting an ubuntu live iso was fixing the problem as it loaded a different kernel than the one on arch, which was causing the issue. Hopefully it will get fixed in some future kernel update.

Last edited by n29xm (2018-12-20 19:31:28)

Offline

#4 2018-12-20 19:36:16

n29xm
Member
Registered: 2017-02-11
Posts: 18

Re: [SOLVED]ACPI functions breaks after resume from suspend

The issue is permanently fixed. Looks the problem was ACPI regression. Here's the solution: https://bugs.launchpad.net/ubuntu/+sour … mments/102
Just place the compiled samsung_fix_ec_events in /usr/local/bin/ and have systemd run at after every suspend. Refer to https://wiki.archlinux.org/index.php/Po … vice_files

Offline

Board footer

Powered by FluxBB