Bug 886569

Summary: t530 - buttons and lid settings not working
Product: [Fedora] Fedora Reporter: Aleksandar Kostadinov <akostadi>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: admiller, christoph.wickert, jlennox, johannbg, lnykryn, metherid, msekleta, notting, plautrba, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-22 09:46:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aleksandar Kostadinov 2012-12-12 15:12:37 UTC
Installed Fedora 18 beta on lenovo t530. It seems like power button hits are not detected in fedora 18. Using XFCE desctop but initially I was with gnome and IIRC it was the same.

My settings are that lid close should result in lock screen but it always results in S2RAM.

Also the button to mute microphone is not working. Mute output works though.

Comment 1 Christoph Wickert 2012-12-12 16:16:14 UTC
(In reply to comment #0)
> It seems like power button hits are
> not detected in fedora 18. 

AFAIK this shuould be handled by systemd. @systemd-maintainer: If not, please assign to the correct component.

> Using XFCE desctop but initially I was with gnome
> and IIRC it was the same.

Then it's not a problem with xfce4-power-manager.

> My settings are that lid close should result in lock screen but it always
> results in S2RAM.

Again, this is systemd behavior.

> Also the button to mute microphone is not working. Mute output works though.

How would that be a problem with the power manager?

Comment 2 Aleksandar Kostadinov 2012-12-15 21:45:56 UTC
Closing lid stopped taking laptop asleep. Perhaps some of the latest updates to something, not sure. Still power button does not do anything.

Comment 3 Aleksandar Kostadinov 2012-12-17 20:09:59 UTC
I take my words back, after a restart closing lid makes machine asleep. I've now switched to XFCE but am enabling some gnome components. Not sure what exactly triggers sleep.

Comment 4 Lennart Poettering 2012-12-22 09:46:52 UTC
Unless XFCE takes an inhibitor lock for the handling of the lid switch logind will handle it. You can disable that with HandleLidSwitch=ignore in /etc/systemd/logind.conf.

The reason logind handles this now  by default is to ensure that the lid switch and suspend buttons work everywhere by default, even on servers/embedded where X is not around, and even on desktop systems where there's not always a graphical login around to handle the event.

Comment 5 Aleksandar Kostadinov 2013-01-02 15:04:05 UTC
Thank you, logind is a nice place to handle it. The bad thing is though that it's hard for a user to figure out.

Comment 6 Aleksandar Kostadinov 2013-01-02 15:05:19 UTC
Actually there must be a bug, because the power button does nothing on the t530. On an older laptop, this button shuts down the computer. But not on this one.