[Powerdevil] [Bug 351365] New: can't suspend/hibernate from KDE application menu

Thomas Masper thomas.masper at gmail.com
Sun Aug 16 15:01:48 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=351365

            Bug ID: 351365
           Summary: can't suspend/hibernate from KDE application menu
           Product: Powerdevil
           Version: 5.3.90
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-devel at kde.org
          Reporter: thomas.masper at gmail.com

After update to powerdevil 5.3.90 I cannot anymore suspend/hibernate the laptop
from KDE application menu or when closing the lid.
The suspend/hibernate option are still present but clicking on them just make
the lock screen appear.

Reproducible: Always

Steps to Reproduce:
1. Log in in KDE
2. Application menu->Power / Session -> suspend
3.

Actual Results:  
Screen go black, after some second the lock screen (SDDM) appear

Expected Results:  
The laptop will suspend to RAM

Gentoo Linux kernel 4.0.5 ck-sources (NO systemd)
- sys-auth/polkit-0.112-r3 
- sys-auth/consolekit-0.4.6 
- sys-power/upower-pm-utils-0.9.23-r2 
- sys-apps/openrc-0.17 
- kde-plasma/powerdevil-5.3.95
- kde-plasma/polkit-kde-agent-5.3.95

Downgrading powerdevil to version 5.3.2 fix the issue.
The issue seems related not using UPower (like was in powerdevil-5.3.2) to
start suspend job but instead using Login1 (see the xsession-errors below).

.xsession-errors (log related to suspend action) with powerdevil-5.3.95:
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool,
true) ) ( "Type" ,  QVariant(uint, 1) ) ) 
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool,
true) ) ( "SkipFade" ,  QVariant(bool, true) ) ( "Type" ,  QVariant(uint, 1) )
) 
powerdevil: Starting Login1 suspend job
powerdevil: Failed to start suspend job
"org.freedesktop.DBus.Error.AccessDenied" "Rejected send message, 2 matched
rules; type="method_call", sender=":1.12" (uid=1000 pid=8305 comm="kded5
[kdeinit5]                                  ")
interface="org.freedesktop.ConsoleKit.Manager" member="Suspend" error
name="(unset)" requested_reply="0" destination="org.freedesktop.ConsoleKit"
(uid=0 pid=6430 comm="/usr/sbin/console-kit-daemon ")"

.xsession-errors (log related to suspend action) with powerdevil-5.3.2:
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool,
true) ) ( "Type" ,  QVariant(uint, 1) ) ) 
powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool,
true) ) ( "SkipFade" ,  QVariant(bool, true) ) ( "Type" ,  QVariant(uint, 1) )
) 
powerdevil: Starting UPower suspend job
powerdevil: fd passing available: true
powerdevil: failed to inhibit systemd powersave handling

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list