Bug 1151791 - enlightenment 17 ignores lid closed
Summary: enlightenment 17 ignores lid closed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: enlightenment
Version: 21
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-11 22:18 UTC by Gene Snider
Modified: 2015-01-03 19:08 UTC (History)
5 users (show)

Fixed In Version: enlightenment-0.17.6-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-03 19:08:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gene Snider 2014-10-11 22:18:04 UTC
Description of problem:
With the default /etc/systemd/logind.conf, systemd detects the laptop lid closing and suspends it.  When that file is modified by setting HandleLidSwitch=ignore, E17 does not respond to the lid closing.

Version-Release number of selected component (if applicable):
enlightenment-0.17.5-4.fc21

How reproducible:
always

Steps to Reproduce:
1. change /etc/systemd/logind.conf line to HandleLidSwitch=ignore
2. restart the logind service, sudo systemctl restart systemd-logind.service
3. close laptop lid

Actual results:
The laptop does NOT suspend.

Expected results:
The laptop should suspend.

Additional info:
The acpi and pm-utils packages are not installed on this machine, but that should not matter since systemd is able to detect the lid closing and suspend the laptop.

Thanks,
Gene

Comment 1 Gene Snider 2014-10-11 22:23:39 UTC
I have modified /etc/enlightenment/sysactions.conf to use systemctl suspend, so enlightenment knows how to suspend the laptop.  Clicking on the suspend button in the System menu works.  I tried adding an ACPI event to the ACPI bindings, but closing the lid did not produce an ACPI event for the bindings GUI.

Gene

Comment 2 Tom "spot" Callaway 2014-11-05 16:51:45 UTC
I think I understand what you've said here, but in current Fedora, systemd is supposed to be the agent that handles suspend/hibernation, and not any higher level process (e.g. Enlightenment). Fixing up sysactions.conf to properly support a manual suspend request is valid, and I'll take that action item, but you should restore the HandleLidSwitch option in /etc/systemd/logind.conf to detect lid close and suspend accordingly.

Comment 3 Fedora Update System 2014-12-15 14:35:50 UTC
enlightenment-0.17.6-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/enlightenment-0.17.6-2.fc21

Comment 4 Fedora Update System 2014-12-17 04:44:45 UTC
Package enlightenment-0.17.6-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing enlightenment-0.17.6-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17048/enlightenment-0.17.6-2.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-01-03 19:08:28 UTC
enlightenment-0.17.6-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.