You are not logged in.

#1 2014-09-30 08:00:38

Spamport
Member
Registered: 2014-09-30
Posts: 3

logind.conf no effect

Hello,

I would like my laptop to suspend when the lid closes. This is the default action of logind.conf from what I understand yet strangely it doesn't happen(instead the screen switches off). I have read dozens of posts about related problems, but none seem to solve my problem. From what understand the information of the lid closing never reaches logind.conf, it seems to be handled somewhere before that to which the reaction is switching off the screen. I am quite a Linux noob, so I have no idea if what I am saying is possible.

So the problem is that the logind.conf configurations such as "HandleLidSwitch=lock" all have no effect. The screen just always switches off and that is all. Any suggestions?

Offline

#2 2014-09-30 08:15:09

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: logind.conf no effect

Install acpid, run acpi_listen, close the lid, see if acpi_listen sees a LID event, ???, profit.

Offline

#3 2014-09-30 13:19:46

Spamport
Member
Registered: 2014-09-30
Posts: 3

Re: logind.conf no effect

I tried that, it did not register a lid event.

Last edited by Spamport (2014-09-30 13:21:02)

Offline

#4 2014-09-30 15:19:01

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: logind.conf no effect

There's your problem - no lid event. I don't think you can do much about it.  Maybe you could boot with different acpi_osi parameters/play with DSDT. https://wiki.archlinux.org/index.php/DSDT

Some screens turn off when closed via hardware, not software.

Last edited by lucke (2014-09-30 17:40:44)

Offline

#5 2014-09-30 17:14:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: logind.conf no effect

What DE? Many of them will inhibit logind's settings and apply their own.

Offline

#6 2014-09-30 17:35:57

Spamport
Member
Registered: 2014-09-30
Posts: 3

Re: logind.conf no effect

I'm running gnome, but I know that gnome isn't inhibiting it. I checked the list of inhibitors and all that. Also gnome claims that it doesn't recognize any lid switch. So yes no lid event seems to be the problem. I am pretty sure the lid event is software though, considering in windows closing the lid did suspend the pc.

I will check out the DSDT and update firmware. If I find a solution I will post it.

Offline

Board footer

Powered by FluxBB