Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] acpid and elogind don't play well with suspend
@ 2020-04-09  7:20 keshto
  2020-04-09  7:23 ` keshto
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: keshto @ 2020-04-09  7:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

New issue by keshto on void-packages repository

https://github.com/void-linux/void-packages/issues/20780

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
`Void 5.6.2_1 x86_64 GenuineIntel uptodate rFF`
* package:  
  *affected package(s) including the version*
```
elogind  (243.4_2)  [elogind-243.4_2]
libelogind  (243.4_2)  [libelogind-243.4_2]
acpid  (2.0.32_1)  [acpid-2.0.32_1]
```

### Expected behavior
Opening the laptop lid resumes the system
### Actual behavior
It wakes, but then suspends again almost instantly
### Steps to reproduce the behavior
There is a conflict between acpid and elogind. In /etc/acpi/handler.sh if we comment out the `zzz` things work as expected.
```
...
    button/lid)
        case "$3" in
                close)
                        # suspend-to-ram
                        logger "LID closed, suspending..."
                        #zzz
                        ;;
                open)   logger "LID opened" ;;
                *) logger "ACPI action undefined (LID): $2";;
        esac
        ;;
    *)
...
```
It seems that elogind (guessing from dmesg messages) is suspending before `zzz` is called and then when the lid opens `zzz` gets executed resulting in the suspend.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-04-22 21:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09  7:20 [ISSUE] acpid and elogind don't play well with suspend keshto
2020-04-09  7:23 ` keshto
2020-04-09  7:26 ` xtraeme
2020-04-09 19:16 ` keshto
2020-04-09 22:01 ` keshto
2020-04-09 22:01 ` [ISSUE] [CLOSED] " keshto
2020-04-10  7:11 ` travankor
2020-04-22 17:32 ` ericonr
2020-04-22 21:36 ` keshto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).