You are not logged in.

#26 2024-03-14 09:41:08

mesaprotector
Member
Registered: 2024-03-03
Posts: 25

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

Just to add another data point, I also have a Lenovo laptop that crashes if I "suspend it twice" by using cli and then the lid afterwards. I tested Wild Weasel's thing of plugging/unplugging while suspended, and it didn't seem to cause issues. After disabling the lid-suspend function in /etc/systemd/logind.conf, the laptop still wakes if I cli-suspend, close the lid, and then open it, but it does so without issues. I use S3 sleep which might make a difference here.

I'm tempted to try out the "double suspend" in Windows - if that crashes too there's probably no way to fix it.

Offline

#27 2024-03-15 03:13:42

mesaprotector
Member
Registered: 2024-03-03
Posts: 25

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

You might want to try this solution I found on the Linux Mint forums, if the logs aren't showing any issue (i.e. it's just a display problem): https://forums.linuxmint.com/viewtopic.php?p=1838605

Offline

#28 2024-03-15 10:36:10

Wild Weasel
Member
Registered: 2024-02-19
Posts: 4

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

seth wrote:

I was only addressing Wild Weasel's situation, specifically

it crashes 100% of the time if you try to unplug the AC cable while suspended, if the suspend was preformed on AC-power. If you suspend it on battery power it works fine.

Any condition where closing the lid while the system is suspended wakes the system (and then it dies or not) is an issue w/ the firmware or hardware rather than the OS.
Did the AC condition have any impact on your situation?

Well, it seems that closing the lid while suspended causes a crash (after an a kernel update v. 6.5.0.25). If I understand your question correctly.
On the other hand if you first suspend it via the lid, any subsequent changes of the lid position (either open or closed) do not seem to cause a crash in most of the cases. It resumes and sleeps back.

Last edited by Wild Weasel (2024-03-15 14:43:08)

Offline

#29 2024-03-30 22:58:10

gpsolo
Member
Registered: 2024-02-15
Posts: 15

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

The AC did act 1:1 with Weasel's in my case, definitely seems like an issue with the computer specifically.

Recently I've been looking at coreboot and libreboot, do you think if I went through and internally flashed the bios with a coreboot/libreboot rom that it could fix the acpi errors I get at the start of my boot? I feel like those acpi errors may be the source of the problem. Including that the bios doesn't recognize linux or allow me to lie to it without something breaking.

Last edited by gpsolo (2024-03-31 01:59:59)

Offline

#30 2024-03-31 09:39:54

seth
Member
Registered: 2012-09-03
Posts: 50,924

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

ACPI error messages are common and most are harmless.
If we assume that this is NOT a hardware problem (closing the lid accidentally triggers the same mechanism as opening it, causing a spurious event) replacing the firmware *MIGHT* sidestep this bug but likely will kill warranty and always bears the potential to brick the device.

Wrt hardware beign the potential cause, windows doesn't exhibit this behavior?

Offline

#31 2024-04-04 17:37:38

gpsolo
Member
Registered: 2024-02-15
Posts: 15

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

if you mean putting the computer to sleep in windows acts as expected then yes, windows does not exhibit the behavior I see in any linux installation.

Also, what is wrt hardware exactly?

Last edited by gpsolo (2024-04-04 17:38:43)

Offline

#32 2024-04-04 20:13:00

seth
Member
Registered: 2012-09-03
Posts: 50,924

Re: Odd Behavior Of Systemctl Suspend With Laptop Lid (Lenovo LOQ 16aph8)

Wrt hardware beign

"With regards to [the] hardware being"

If there're no official firmware updates available you can try your luck w/ coreboot. Mind the part where this is gonna kill your warranty and bears the potential of turning your notebook into a very exclusive paperweight.
You probably want to research other peoples experiences around coreboot and the specific model.

Offline

Board footer

Powered by FluxBB