You are not logged in.

#1 2020-08-09 08:06:05

Alain2
Member
From: France
Registered: 2009-11-06
Posts: 17

lid closed/open issue

Hi,

I have setup kde to go to sleep when the lid is closed, but I have experienced a few times a strange behaviour triggering the sleep mode while using the computer: according to the journal, systemd-logind reports that the lid is closed then immediatelly after that the lid is open..

août 09 09:36:29 alain-laptop-dell kernel: PM: suspend entry (deep)
août 09 09:36:29 alain-laptop-dell systemd-sleep[63145]: Suspending system...
août 09 09:36:28 alain-laptop-dell systemd[1]: Starting Suspend...
août 09 09:36:28 alain-laptop-dell systemd[1]: Reached target Sleep.
août 09 09:36:28 alain-laptop-dell kded5[741]: bluedevil: About to suspend
août 09 09:36:28 alain-laptop-dell NetworkManager[356]: <info>  [1596958588.9846] manager: NetworkManager state is now ASLEEP
août 09 09:36:28 alain-laptop-dell org_kde_powerdevil[822]: powerdevil: Pausing all media players before sleep
août 09 09:36:28 alain-laptop-dell NetworkManager[356]: <info>  [1596958588.9844] manager: sleep: sleep requested (sleeping: no  enabled: yes)
août 09 09:36:28 alain-laptop-dell org_kde_powerdevil[822]: powerdevil: Starting Login1 suspend job
août 09 09:36:28 alain-laptop-dell org_kde_powerdevil[822]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFad>
août 09 09:36:28 alain-laptop-dell systemd-logind[357]: Lid opened.
août 09 09:36:28 alain-laptop-dell org_kde_powerdevil[822]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", >
août 09 09:36:28 alain-laptop-dell systemd-logind[357]: Lid closed.

This happens sometimes twice in 3 hours, sometimes it does not over several days sessions
Do you think this is a hardware sensor fault, or could it be a driver issue ? I tried to search on internet with no luck so far, hence I feel I could have a hardware pb, but it seems strange the sensor info is triggered twice closed/open in a split second... ?

Note: I also found this is the journal, but this is recorded only once in the whole journal, not sure this is a real issue nor it is related to my issue:

août 06 13:54:22 alain-laptop-dell kernel: ACPI: button: The lid device is not compliant to SW_LID.

This is on a dell latitude E6410, pretty standard "old" laptop

Last edited by Alain2 (2020-08-09 08:07:02)

Offline

#2 2020-08-10 07:56:27

andym
Member
From: France
Registered: 2019-01-16
Posts: 61

Re: lid closed/open issue

It looks like your switch may not be working correctly, or your BIOS may need to be updated. There is some further detail here.

Offline

#3 2020-08-22 16:51:30

Alain2
Member
From: France
Registered: 2009-11-06
Posts: 17

Re: lid closed/open issue

Thanks for the answer and link. I don't think it is a bios issue as this laptop has been working flawlessly for years regarding that issue, it just started a few months ago, hence I thought a possible change in acpi code might have triggered this, but as I don't see any other similar complaint on the internet it is very likely the switch. Still not too annoying, just hope the switch won't deteriorate further.

Just in case you might know how to do that, do you think there is a way to modify the system behaviour, like catching the "lid closed" event and and release it to the system/acpi only if no "lid opened" event occurs within say 0.5 s ?

Offline

#4 2020-08-22 17:20:59

andym
Member
From: France
Registered: 2019-01-16
Posts: 61

Re: lid closed/open issue

You could simply instruct systemd to ignore the lid switch and add a sleep... button to the desktop.

Offline

Board footer

Powered by FluxBB