[Bug 801473] New: Closing the lid doesn't suspend the laptop and some the buttons to control the brightness doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c0 Summary: Closing the lid doesn't suspend the laptop and some the buttons to control the brightness doesn't work Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mustafaa.alhamdaani@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 I closed the lid of the laptop but it doesn't suspend it, it suspends normally from the menu. Also the keys to increase/decrease the brightness don't work Reproducible: Always Steps to Reproduce: 1. Close the lid of the laptop Actual Results: It doesn't suspend Expected Results: Laptop suspends -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c1 Michal Hrusecky <mhrusecky@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhrusecky@suse.com --- Comment #1 from Michal Hrusecky <mhrusecky@suse.com> 2013-02-20 12:01:24 UTC --- What is your desktop environment? KDE? Gnome? Something else? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c2 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mustafaa.alhamdaani@gmail.c | |om --- Comment #2 from Andreas Jaeger <aj@suse.com> 2013-02-25 15:34:14 UTC --- Setting to NEEDINFO for comment 1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c3 --- Comment #3 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-02-25 21:25:23 UTC --- (In reply to comment #1)
What is your desktop environment? KDE? Gnome? Something else?
KDE, and sorry for the delay, I didn't use it lately. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c Michal Hrusecky <mhrusecky@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC|mhrusecky@suse.com | InfoProvider|mustafaa.alhamdaani@gmail.c | |om | AssignedTo|bnc-team-screening@forge.pr |kde-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c4 Michał Seweryniak <michal.seweryniak@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michal.seweryniak@gmail.com --- Comment #4 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-16 20:45:34 UTC --- Any updates on this topic? I have the same situation: Fresh install of Opensuse 12.3 on Lenovo B570, KDE desktop - close lid event set to suspend - the laptopo stays on after closing the lid (only the screen goes off). Previously installed Opensuse 12.2 on the machine didn't have this problem. I have also Opensuse 12.3 installed on my second laptop Dell E5500 and there is no such problem (the system was upgraded from 12.2). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c5 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |hrvoje.senjan@gmail.com InfoProvider| |mustafaa.alhamdaani@gmail.c | |om --- Comment #5 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-16 22:28:13 UTC --- Michal, Mustafa, please state the version of polkit-default-privs package, and also: rpm -q --changelog polkit-default-privs | head Are you using any aditional repos? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c6 --- Comment #6 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-17 17:35:41 UTC --- polkit-default-privs rev 12.3-6.15.1 rpm -q --changelog polkit-default-privs | head * nie mar 10 2013 hrvoje.senjan@gmail.com - Default rules are moved to '90', so own them as '90' instead '50' * wto mar 05 2013 lnussel@suse.de - move default rules to '90', bnc#807097 * śro lut 27 2013 lnussel@suse.de - add /etc/polkit-1/rules.d/50-default-privs.rules as ghost so it gets associated with the package Yes, I have some additional repos added like i.e. packman, mozilla, libdvdcss, graphics, google-chrome and wine. I have also the similar set of additional repos on my second machine (Dell) that works OK. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c7 Michał Seweryniak <michal.seweryniak@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86-64 |x86 --- Comment #7 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-28 17:39:00 UTC --- Hi, Any solutions to this bug? This becomes more and more uncomfortable for me - can anybody help please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mustafaa.alhamdaani@gmail.c | |om | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c8 --- Comment #8 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-28 22:36:02 UTC --- @Michal, Mustafaa, can you check that this works with plain logind? Also, can you post contents of .kde4/share/config/powermanagementprofilesrc file? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c9 --- Comment #9 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-05-28 23:31:10 UTC --- (In reply to comment #8)
@Michal, Mustafaa, can you check that this works with plain logind? Also, can you post contents of .kde4/share/config/powermanagementprofilesrc file?
What works with plain logind? and how to check? $ cat .kde4/share/config/powermanagementprofilesrc [AC] icon=battery-charging [AC][BrightnessControl] value=43 [AC][DPMSControl] idleTime=600 [AC][HandleButtonEvents] lidAction=1 powerButtonAction=16 [Activities][36d28eb4-f080-4dc5-925e-13f55b214765] mode=None [Activities][b06ede5c-2820-4e07-a8e6-722470419b60] mode=None [Activities][b39f7d46-1c97-4c15-a8e0-e332445cd50d] mode=None [Battery] icon=battery-060 [Battery][BrightnessControl] value=25 [Battery][DPMSControl] idleTime=600 [Battery][HandleButtonEvents] lidAction=1 powerButtonAction=16 [LowBattery] icon=battery-low [LowBattery][BrightnessControl] value=30 [LowBattery][DPMSControl] idleTime=120 [LowBattery][HandleButtonEvents] lidAction=1 powerButtonAction=16 [LowBattery][SuspendSession] idleTime=300000 suspendType=1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c10 --- Comment #10 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-28 23:42:26 UTC --- (In reply to comment #9)
(In reply to comment #8)
@Michal, Mustafaa, can you check that this works with plain logind? Also, can you post contents of .kde4/share/config/powermanagementprofilesrc file?
What works with plain logind? and how to check?
Closing the lid. Check /etc/systemd/logind.conf One should have HandleLidSwitch=suspend uncommented there, and restart systemd-logind.service to see does that work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c11 --- Comment #11 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-05-29 00:17:39 UTC --- (In reply to comment #10)
Closing the lid. Check /etc/systemd/logind.conf One should have HandleLidSwitch=suspend uncommented there, and restart systemd-logind.service to see does that work.
It doesn't work, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c12 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mustafaa.alhamdaani@gmail.c | |om --- Comment #12 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-29 10:17:39 UTC --- (In reply to comment #11)
(In reply to comment #10)
Closing the lid. Check /etc/systemd/logind.conf One should have HandleLidSwitch=suspend uncommented there, and restart systemd-logind.service to see does that work.
It doesn't work, too.
Then it's not (only) PowerDevil. Check that you are registered at the logind interface with loginctl command. Please also post contents of /etc/pam.d/common-session file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c13 --- Comment #13 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-29 17:37:32 UTC --- (In reply to comment #8)
@Michal, Mustafaa, can you check that this works with plain logind? Also, can you post contents of .kde4/share/config/powermanagementprofilesrc file?
cat .kde4/share/config/powermanagementprofilesrc [AC] icon=preferences-system-performance [AC][BrightnessControl] value=100 [AC][DPMSControl] idleTime=600 [AC][DimDisplay] idleTime=600000 [AC][HandleButtonEvents] lidAction=1 powerButtonAction=16 [Activities][14b319c3-074c-41c1-9fb8-07e6cc42dfd3] mode=None [Activities][2be10562-f074-4188-a36e-87921e227988] mode=None [Activities][7d3279e7-3aa6-400e-95c2-65a4ef5ce3bd] mode=None [Activities][a7f7af46-99ad-4e00-ba2d-c40008fe9dbf] mode=None [Activities][c7f8e7d8-eba4-477f-b005-1ab3466fa92f] mode=None [Battery] icon=preferences-system-power-management [Battery][BrightnessControl] value=60 [Battery][DPMSControl] idleTime=300 [Battery][DimDisplay] idleTime=300000 [Battery][HandleButtonEvents] lidAction=1 powerButtonAction=16 [Battery][SuspendSession] idleTime=600000 suspendType=1 [LowBattery] icon=battery-low [LowBattery][BrightnessControl] value=30 [LowBattery][DPMSControl] idleTime=120 [LowBattery][DimDisplay] idleTime=120000 [LowBattery][HandleButtonEvents] lidAction=1 powerButtonAction=16 [LowBattery][SuspendSession] idleTime=300000 suspendType=1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c14 --- Comment #14 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-29 17:47:18 UTC --- (In reply to comment #10)
(In reply to comment #9)
(In reply to comment #8)
@Michal, Mustafaa, can you check that this works with plain logind? Also, can you post contents of .kde4/share/config/powermanagementprofilesrc file?
What works with plain logind? and how to check?
Closing the lid. Check /etc/systemd/logind.conf One should have HandleLidSwitch=suspend uncommented there, and restart systemd-logind.service to see does that work.
Doesn't work for me too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c15 --- Comment #15 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-05-29 17:53:15 UTC --- (In reply to comment #12)
(In reply to comment #11)
(In reply to comment #10)
Closing the lid. Check /etc/systemd/logind.conf One should have HandleLidSwitch=suspend uncommented there, and restart systemd-logind.service to see does that work.
It doesn't work, too.
Then it's not (only) PowerDevil. Check that you are registered at the logind interface with loginctl command. Please also post contents of /etc/pam.d/common-session file
Here is my loginctl command result: SESSION UID USER SEAT 1 1000 miniol seat0 1 sessions listed. Does it mean I'm registered at logind iterface? cat /etc/pam.d/common-session #%PAM-1.0 # # This file is autogenerated by pam-config. All changes # will be overwritten. # # Session-related modules common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of modules that define tasks to be performed # at the start and end of sessions of *any* kind (both interactive and # non-interactive # session required pam_limits.so session required pam_unix.so try_first_pass session optional pam_umask.so session optional pam_systemd.so session optional pam_gnome_keyring.so auto_start only_if=gdm,gdm-password,lxdm,lightdm session optional pam_env.so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c16 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mustafaa.alhamdaani@gmail.c | |om | AssignedTo|kde-maintainers@suse.de |fcrozat@suse.com --- Comment #16 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-30 10:23:16 UTC --- Frederic, can you take a loot at this report? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c17 --- Comment #17 from Frederic Crozat <fcrozat@suse.com> 2013-05-31 15:53:45 UTC --- First, brightness control should be reported to a separate bug (systemd / logind is not involved at all). let's restart the debugging (sorry, I might ask again some stuff you already provided). Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ? (please make sure in /etc/systemd/logind.conf that HandleLidSwitch and LidSwitchIgnoreInhibited lines are commented with #) please, also give the output of "systemd-inhibit --list". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c18 --- Comment #18 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-02 14:27:54 UTC --- (In reply to comment #17)
Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ?
How to boot in runlevel 3 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c19 --- Comment #19 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-06-03 01:58:50 UTC --- (In reply to comment #17) Thank you for looking at this.
Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ?
(please make sure in /etc/systemd/logind.conf that HandleLidSwitch and LidSwitchIgnoreInhibited lines are commented with #)
No, it doesn't suspend.
please, also give the output of "systemd-inhibit --list".
$systemd-inhibit --list WHAT WHO WHY MODE UID PID sleep root inhibited delay 0 567 1 inhibitors listed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c20 --- Comment #20 from Frederic Crozat <fcrozat@suse.com> 2013-06-03 02:07:54 UTC --- (In reply to comment #19)
(In reply to comment #17)
Thank you for looking at this.
Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ?
(please make sure in /etc/systemd/logind.conf that HandleLidSwitch and LidSwitchIgnoreInhibited lines are commented with #)
No, it doesn't suspend.
What is the output of "journalctl -b -u systemd-logind.service" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c21 --- Comment #21 from Frederic Crozat <fcrozat@suse.com> 2013-06-03 02:08:19 UTC --- (In reply to comment #18)
(In reply to comment #17)
Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ?
How to boot in runlevel 3 ?
add "3" on the kernel boot command line. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c22 --- Comment #22 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-06-03 02:24:12 UTC --- (In reply to comment #20)
What is the output of "journalctl -b -u systemd-logind.service" ?
-- Logs begin at Mon, 2013-06-03 14:20:41 AST, end at Mon, 2013-06-03 14:20:53 AST. -- Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: New seat seat0. Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event4 (Power Button) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event5 (Video Bus) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event2 (Lid Switch) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event3 (Sleep Button) Jun 03 14:20:53 linux-u7ry.site systemd-logind[483]: New session 1 of user root. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c23 --- Comment #23 from Frederic Crozat <fcrozat@suse.com> 2013-06-03 02:36:43 UTC --- it looks like lid switch events aren't reaching systemd-logind. Are you sure this is working properly at all ? One way to test it is to open a VT, logged as root, and run "cat /dev/input/event2" (if event2 is binded to lid switch) and close and open the lid. If you see some characters printed on the screen, it works.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c24 --- Comment #24 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-06-03 02:53:34 UTC --- (In reply to comment #23)
it looks like lid switch events aren't reaching systemd-logind. Are you sure this is working properly at all ? One way to test it is to open a VT, logged as root, and run "cat /dev/input/event2" (if event2 is binded to lid switch) and close and open the lid. If you see some characters printed on the screen, it works..
event2 didn't show anything, but event1 did show lots of random characters. I am a distro-hopper and this works in all other distributions I have (currently Korora, Netrunner, and Mageia) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c25 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Kernel AssignedTo|fcrozat@suse.com |kernel-maintainers@forge.pr | |ovo.novell.com --- Comment #25 from Frederic Crozat <fcrozat@suse.com> 2013-06-03 03:28:35 UTC --- Looks like a kernel issue, in your case.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c26 --- Comment #26 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-03 14:36:31 UTC --- (In reply to comment #17)
First, brightness control should be reported to a separate bug (systemd / logind is not involved at all).
let's restart the debugging (sorry, I might ask again some stuff you already provided).
Could you boot in runlevel 3 and from a text console, you just close the lid of your laptop and check if it suspend or not ?
Not suspend in runlevel 3 - no reaction at all on closing the lid.
(please make sure in /etc/systemd/logind.conf that HandleLidSwitch and LidSwitchIgnoreInhibited lines are commented with #)
please, also give the output of "systemd-inhibit --list".
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c27 --- Comment #27 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-03 14:39:36 UTC --- The HandleLidSwitch and LidSwitchIgnoreInhibited lines are both commented. systemd-inhibit --list WHAT WHO WHY MODE UID PID sleep root inhibited delay 0 521 handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch PowerDevil KDE handles p...ents block 1000 1248 2 inhibitors listed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c28 --- Comment #28 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-03 14:41:30 UTC --- (In reply to comment #22)
(In reply to comment #20)
What is the output of "journalctl -b -u systemd-logind.service" ?
-- Logs begin at Mon, 2013-06-03 14:20:41 AST, end at Mon, 2013-06-03 14:20:53 AST. -- Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: New seat seat0. Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event4 (Power Button) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event5 (Video Bus) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event2 (Lid Switch) Jun 03 14:20:42 linux-u7ry.site systemd-logind[483]: Watching system buttons on /dev/input/event3 (Sleep Button) Jun 03 14:20:53 linux-u7ry.site systemd-logind[483]: New session 1 of user root.
And here is mine: -- Logs begin at Mon, 2013-06-03 22:31:14 CEST, end at Mon, 2013-06-03 22:40:20 CEST. -- Jun 03 22:31:23 linux-bs16.site systemd-logind[502]: New seat seat0. Jun 03 22:31:23 linux-bs16.site systemd-logind[502]: Watching system buttons on /dev/input/event4 (Power Button) Jun 03 22:31:23 linux-bs16.site systemd-logind[502]: Watching system buttons on /dev/input/event5 (Video Bus) Jun 03 22:31:23 linux-bs16.site systemd-logind[502]: Watching system buttons on /dev/input/event2 (Lid Switch) Jun 03 22:31:23 linux-bs16.site systemd-logind[502]: Watching system buttons on /dev/input/event3 (Sleep Button) Jun 03 22:31:36 linux-bs16.site systemd-logind[502]: New session 1 of user miniol. Jun 03 22:31:36 linux-bs16.site systemd-logind[502]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c29 --- Comment #29 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-03 14:49:57 UTC --- (In reply to comment #24)
(In reply to comment #23)
it looks like lid switch events aren't reaching systemd-logind. Are you sure this is working properly at all ? One way to test it is to open a VT, logged as root, and run "cat /dev/input/event2" (if event2 is binded to lid switch) and close and open the lid. If you see some characters printed on the screen, it works..
event2 didn't show anything, but event1 did show lots of random characters.
I am a distro-hopper and this works in all other distributions I have (currently Korora, Netrunner, and Mageia)
No characters at all when closing the lid at event2 nor event1. The lid swich is working since the laptop turns off the screen backlight properly on lid closing. I have previously installed OpenSuse 12.2 and the lid made the computer go to sleep properly. The problem started after fresh install (no upgrade) of OS 12.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c30 --- Comment #30 from Michał Seweryniak <michal.seweryniak@gmail.com> 2013-06-05 13:23:14 UTC --- Ok, problem solved. After today update (KDE 4.10.3 plus some other stuff) the lid closing suspend started to work again. The screen brightness control works too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c31 --- Comment #31 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-06-07 09:16:56 UTC --- For me, It still exists. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c32 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jslaby@suse.com InfoProvider| |mustafaa.alhamdaani@gmail.c | |om --- Comment #32 from Jiri Slaby <jslaby@suse.com> 2013-06-24 09:37:22 UTC --- (In reply to comment #31)
For me, It still exists.
Could you attach output of dmesg? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c33 Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mustafaa.alhamdaani@gmail.c | |om | --- Comment #33 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-07-02 16:27:55 UTC --- After(In reply to comment #32)
(In reply to comment #31)
For me, It still exists.
Could you attach output of dmesg?
Hi, Sorry for the late reply, I was almost offline for more than a week. After updating tody, everything works fine. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801473 https://bugzilla.novell.com/show_bug.cgi?id=801473#c34 Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #34 from Mustafaa al-Hamdaani <mustafaa.alhamdaani@gmail.com> 2013-07-02 16:29:37 UTC --- This package has been resolved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com