You are not logged in.
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
Install acpid, run acpi_listen, close the lid, see if acpi_listen sees a LID event, ???, profit.
Offline
I tried that, it did not register a lid event.
Last edited by Spamport (2014-09-30 13:21:02)
Offline
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
What DE? Many of them will inhibit logind's settings and apply their own.
Offline
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