After KDE update in Saucy, PowerDevil does not suspend the system

Bug #1197317 reported by Wladimir Mutel
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kde-workspace (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

$ lsb_release -rd
Description: Ubuntu Saucy Salamander (development branch)
Release: 13.10

$ apt-cache policy kde-workspace
kde-workspace:
  Installed: 4:4.10.90-0ubuntu2
  Candidate: 4:4.10.90-0ubuntu2
  Version table:
 *** 4:4.10.90-0ubuntu2 0
        500 http://mirror.yandex.ru/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
     4:4.10.4-0ubuntu0.1 0
        500 http://mirror.yandex.ru/ubuntu/ raring-updates/universe amd64 Packages
     4:4.10.2-0ubuntu2 0
        500 http://mirror.yandex.ru/ubuntu/ raring/universe amd64 Packages

Expected behavior : on laptop lid close, the system suspends to RAM. HDD & fan stop, power led starts blinking

Actual behavior : HDD & fan continue running. Power LED glows continuously. Screen is locked with password dialog and display backlight is turned off (it is turned back on shortly after I open the lid).

Same behavior (no suspend) I get when trying to suspend the system through KDE menu ("K" - Leave - Sleep).
"sudo pm-suspend" works as expected (only does not lock the screen).

in .xsession-errors I see these lines added on lid close (looking there remotely by ssh) :

kded(1640) PowerDevil::BundledActions::SuspendSession::triggerImpl: Triggered with "1" false
kded(1640) PowerDevil::BundledActions::SuspendSession::triggerImpl: Triggered with "32" false
kded(1640) PowerDevil::BundledActions::SuspendSession::triggerImpl: Triggered with "1" true
kded(1640) checkSystemdVersion: Unknown version string from Systemd
kded(1640) UPowerSuspendJob::UPowerSuspendJob: Starting UPower suspend job

I remember there were some systemd packages installed during Saucy update. May be I need to install some needed package to make this work ? (which may not currently be listed as a dependency). Now I have installed these power-related packages :

ii acpid 1:2.0.18-1ubuntu1 amd64 Advanced Configuration and Power Interface event daemon
ii libupower-glib1 0.9.20-1ubuntu2 amd64 abstraction for power management - shared library
ii pm-utils 1.4.1-11 all utilities and scripts for power management
ii powermgmt-base 1.31build1 amd64 Common utils and configs for power management
ii upower 0.9.20-1ubuntu2 amd64 abstraction for power management

and these ones for systemd :

ii libpam-systemd:amd64 204-0ubuntu4 amd64 system and service manager - PAM module
ii libsystemd-daemon0:amd64 204-0ubuntu4 amd64 systemd utility library
ii libsystemd-login0:amd64 204-0ubuntu4 amd64 systemd login utility library
ii systemd-services 204-0ubuntu4 amd64 systemd runtime services
ii systemd-shim 3+real-0ubuntu1 amd64 shim for systemd

Wladimir Mutel (mwg)
description: updated
description: updated
Revision history for this message
Wladimir Mutel (mwg) wrote :

still no luck after updating most packages from 4.10.90 to 4.10.95

Revision history for this message
Wladimir Mutel (mwg) wrote :

no luck after updating most packages to 4.10.97

Revision history for this message
Wladimir Mutel (mwg) wrote :

upower has been updated from 0.9.20 to 0.9.21, Kubuntu behavior unchanged.

Revision history for this message
Wladimir Mutel (mwg) wrote :

can this be related to KDE bug https://bugs.kde.org/show_bug.cgi?id=294712 ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kde-workspace (Ubuntu):
status: New → Confirmed
Revision history for this message
pu5htiu (pu5htiu) wrote :

On my laptop, kde suspend just shuts down wireless connection but does not suspend the system. I tried on different kernels, including versions that worked on raring, but no success.
Also tried:

dbus-send --print-reply --dest='org.freedesktop.PowerManagement' /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Suspend

and the same thing happens.

pm-suspend works fine.

Revision history for this message
pu5htiu (pu5htiu) wrote :

bug still present after 4.11 update:

kde-workspace:
  Installed: 4:4.11.0-0ubuntu1

qdbus:
  Installed: 4:4.8.4+dfsg-0ubuntu15

qdbus-qt5:
  Installed: 5.0.2-7ubuntu1

Revision history for this message
Wladimir Mutel (mwg) wrote :

kde-worspace updated to 4:4.11.0-0ubuntu1 , still no luck

Revision history for this message
pu5htiu (pu5htiu) wrote :

fixed after latest update

Changed in kde-workspace (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.