Package: kde-workspace-bin
Version: 4:4.11.13-2
Severity: important

Found these reported bugs:

747445  plasma-desktop: Buttons "Sleep" and "Hibernate" not working any more 
after update to 4:4.8.11-1
761996  kde-workspace: 'Sleep' menu entry is missing in kicker menu

Tried the suggested workarounds.  No joy :(

Looked for other suggestions on how to solve the problem.  My
conclusion is that suspend might work _only_ if I move away from
sysvinit to systemd as pid 1.  Now, this implies systemd must be a
hard kde dependency (which it currently doesn't) in order to solve the
problem, which would be wrong IMO, as long as sysvinit and openrc are
two other distribution init alternatives.

Could the maintainers please confirm that's the case?

`upower' reports the daemon _cannot_ suspend/hibernate for an ordinary
user, but can do that for root.  This is as far as I could get. I
downgraded (to wheezy's 0.9.17-1) the upower package as per advice in
several places, as the jessie version (0.99.1-3.2) does not work, not
even for root, on my system.

,----
| # apt-cache policy upower
| upower:
|   Installed: 0.9.17-1
|   Candidate: 0.9.17-1
|   Package pin: 0.9.17-1
|   Version table:
|      0.99.1-3.2 1001
|         500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
|  *** 0.9.17-1 1001
|         500 http://ftp.se.debian.org/debian/ wheezy/main amd64 Packages
|         100 /var/lib/dpkg/status
`----

For an ordinary user:

,----
| $ upower -d
| Device: /org/freedesktop/UPower/devices/line_power_ADP1
|   native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/ACPI0003:00/power_supply/ADP1
|   power supply:         yes
|   updated:              Wed Aug 24 16:03:37 2016 (72861 seconds ago)
|   has history:          no
|   has statistics:       no
|   line-power
|     online:             yes
|
| Device: /org/freedesktop/UPower/devices/battery_BAT0
|   native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
|   vendor:               13-14
|   model:                MO06062
|   serial:               645
|   power supply:         yes
|   updated:              Thu Aug 25 12:17:58 2016 (0 seconds ago)
|   has history:          yes
|   has statistics:       yes
|   battery
|     present:             yes
|     rechargeable:        yes
|     state:               fully-charged
|     energy:              51.3486 Wh
|     energy-empty:        0 Wh
|     energy-full:         51.8148 Wh
|     energy-full-design:  51.4707 Wh
|     energy-rate:         5.7165 W
|     voltage:             12.74 V
|     percentage:          99.1003%
|     capacity:            100%
|     technology:          lithium-ion
|
| Daemon:
|   daemon-version:  0.9.17
|   can-suspend:     no
|   can-hibernate    no
|   on-battery:      no
|   on-low-battery:  no
|   lid-is-closed:   no
|   lid-is-present:  yes
|   is-docked:       no
`----

For root:

,----
| # upower -d
| Device: /org/freedesktop/UPower/devices/line_power_ADP1
|   native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/ACPI0003:00/power_supply/ADP1
|   power supply:         yes
|   updated:              Wed Aug 24 16:03:37 2016 (72992 seconds ago)
|   has history:          no
|   has statistics:       no
|   line-power
|     online:             yes
|
| Device: /org/freedesktop/UPower/devices/battery_BAT0
|   native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
|   vendor:               13-14
|   model:                MO06062
|   serial:               645
|   power supply:         yes
|   updated:              Thu Aug 25 12:20:02 2016 (7 seconds ago)
|   has history:          yes
|   has statistics:       yes
|   battery
|     present:             yes
|     rechargeable:        yes
|     state:               fully-charged
|     energy:              51.3486 Wh
|     energy-empty:        0 Wh
|     energy-full:         51.8148 Wh
|     energy-full-design:  51.4707 Wh
|     energy-rate:         5.7165 W
|     voltage:             12.738 V
|     percentage:          99.1003%
|     capacity:            100%
|     technology:          lithium-ion
|
| Daemon:
|   daemon-version:  0.9.17
|   can-suspend:     yes
|   can-hibernate    yes
|   on-battery:      no
|   on-low-battery:  no
|   lid-is-closed:   no
|   lid-is-present:  yes
|   is-docked:       no
`----

`pm-hibernate', `pm-suspend' and `rtcwake' work as expected, if run as
root.  I'm using `rtcwake' for the time being.  I think I read
somewhere that pm-utils isn't recommended.

I could not find any other working solution yet.  The problem seems to
be known since "Thu, 08 May 2014 21:29:20 +0200" (see
https://bugs.debian.org/747445), at least, but no proper solution yet.


-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages kde-workspace-bin depends on:
ii  iso-codes                     3.57-1
ii  kde-runtime                   4:4.14.2-2
ii  kde-style-oxygen              4:4.11.13-2
ii  kde-workspace-data            4:4.11.13-2
ii  kde-workspace-kgreet-plugins  4:4.11.13-2
ii  kscreen                       1.0.2.1-1
ii  libc6                         2.19-18+deb8u4
ii  libcln6                       1.3.4-1
ii  libdbusmenu-qt2               0.9.2-1
ii  libfontconfig1                2.11.0-6.3+deb8u1
ii  libfreetype6                  2.5.2-3+deb8u1
ii  libgcc1                       1:4.9.2-10
ii  libgl1-mesa-glx [libgl1]      10.3.2-1+deb8u1
ii  libice6                       2:1.0.9-1+b1
ii  libjpeg62-turbo               1:1.3.1-12
ii  libkactivities6               4:4.13.3-1
ii  libkcmutils4                  4:4.14.2-5+deb8u1
ii  libkdeclarative5              4:4.14.2-5+deb8u1
ii  libkdecore5                   4:4.14.2-5+deb8u1
ii  libkdesu5                     4:4.14.2-5+deb8u1
ii  libkdeui5                     4:4.14.2-5+deb8u1
ii  libkfile4                     4:4.14.2-5+deb8u1
ii  libkidletime4                 4:4.14.2-5+deb8u1
ii  libkio5                       4:4.14.2-5+deb8u1
ii  libknewstuff3-4               4:4.14.2-5+deb8u1
ii  libknotifyconfig4             4:4.14.2-5+deb8u1
ii  libkparts4                    4:4.14.2-5+deb8u1
ii  libkpty4                      4:4.14.2-5+deb8u1
ii  libkscreensaver5              4:4.11.13-2
ii  libkworkspace4abi2            4:4.11.13-2
ii  libnepomukcore4               4:4.14.0-1+b2
ii  libpam0g                      1.1.8-3.1+deb8u1+b1
ii  libphonon4                    4:4.8.0-4
ii  libplasma3                    4:4.14.2-5+deb8u1
ii  libplasmagenericshell4        4:4.11.13-2
ii  libpng12-0                    1.2.50-2+deb8u2
ii  libprocesscore4abi1           4:4.11.13-2
ii  libprocessui4a                4:4.11.13-2
ii  libqalculate5                 0.9.7-9
ii  libqimageblitz4               1:0.0.6-4
ii  libqjson0                     0.8.1-3
ii  libqt4-dbus                   4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-declarative            4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-sql                    4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-xml                    4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtcore4                    4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtgui4                     4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libsm6                        2:1.2.2-1+b1
ii  libsolid4                     4:4.14.2-5+deb8u1
ii  libsoprano4                   2.9.4+dfsg-1.1
ii  libstdc++6                    4.9.2-10
ii  libstreamanalyzer0            0.7.8-1.2+b2
ii  libudev1                      215-17+deb8u4
ii  libusb-0.1-4                  2:0.1.12-25
ii  libx11-6                      2:1.6.2-3
ii  libxcursor1                   1:1.1.14-1+b1
ii  libxext6                      2:1.3.3-1
ii  libxfixes3                    1:5.0.1-2+b2
ii  libxft2                       2.3.2-1
ii  libxi6                        2:1.7.4-1+b2
ii  libxinerama1                  2:1.1.3-1+b1
ii  libxkbfile1                   1:1.0.8-1
ii  libxrandr2                    2:1.4.2-1+b1
ii  libxrender1                   1:0.9.8-1+b1
ii  libxtst6                      2:1.2.2-1+b1
ii  phonon                        4:4.8.0-4
ii  plasma-desktop                4:4.11.13-2
ii  plasma-netbook                4:4.11.13-2
ii  qdbus                         4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  x11-utils                     7.7+2
ii  x11-xserver-utils             7.7+3+b1

Versions of packages kde-workspace-bin recommends:
ii  plasma-scriptengines  4:4.11.13-2
ii  policykit-1-gnome     0.105-2
ii  polkit-kde-1          0.99.1-1
pn  upower                <none>

Versions of packages kde-workspace-bin suggests:
ii  x11-xkb-utils  7.7+1

-- no debconf information


Cheers,

-- 
Cristian

Reply via email to