[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
KDE PowerDevil now checks for Upstart if the systemd version check fails. The version API implementation is no longer needed. The call to the sleep scripts still needs to happen. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Triaged Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
** Changed in: systemd-shim (Ubuntu) Importance: Undecided = Medium ** Changed in: systemd (Ubuntu) Importance: Undecided = Medium ** Changed in: upower (Ubuntu) Importance: Undecided = Medium ** Changed in: systemd-shim (Ubuntu) Status: Confirmed = In Progress ** Changed in: systemd-shim (Ubuntu) Status: In Progress = Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Triaged Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1196752 ** Tags added: iso-testing -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
Joseph Yasi [2013-08-30 18:50 -]: A cleaner approach to handling this would be an API for advertising implemented features so programs aren't checking the version to see if something is supported. Instead, they check if a feature they require is supported. It's the best way if you're just going to implement part of systemd, but you'd have to convince upstream to implement such an API. I'm 99% sure that won't happen upstream. Our current cannibalization of logind is scary enough for them :-) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
I guess it depends on how user programs are currently using the systemd version API to check things. KDE PowerDevil strips everything before the space and just compares against the number, so in principle, the shim could use the prefix string to say something. I don't know how others use the API. KDE PowerDevil usage is here: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/master/entry/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp#L40 A cleaner approach to handling this would be an API for advertising implemented features so programs aren't checking the version to see if something is supported. Instead, they check if a feature they require is supported. It's the best way if you're just going to implement part of systemd, but you'd have to convince upstream to implement such an API. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
Let's fix that in upower. ** Changed in: systemd (Ubuntu) Status: Triaged = Invalid ** Changed in: systemd (Ubuntu) Milestone: ubuntu-13.10 = None -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Committed Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
This bug was fixed in the package upower - 0.9.21-3 --- upower (0.9.21-3) unstable; urgency=low * Add 00git_updates.patch to update to today's upstream git: - Fix batteries which report capacity, but not energy/charge - Add temperature property for batteries - Fix warning in up_device_supply_get_design_voltage - Make GetHistory() array order consistent upower (0.9.21-2) unstable; urgency=low [ Martin Pitt ] * debian/rules: Run dh_install with --fail-missing to avoid forgetting about some scripts. * debian/rules: Explicitly set systemd util dir, to avoid build-depending on systemd. * debian/upower.install: Install notify-upower.sh. (LP: #1196752) [ Michael Biebl ] * debian/patches/always_use_pm-utils_backend.patch: Always use the pm-utils backend, even if logind is running. The availability of logind does not necessarily imply, that systemd is running (in a recent enough version), which is required for a successful suspend/hibernate. (Closes: #718458, LP: #1196752) -- Martin Pitt martin.p...@ubuntu.com Thu, 29 Aug 2013 11:34:28 +0200 ** Changed in: upower (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
Are there still plans to add the version API to systemd-shim? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
No. I talked about this with Martin today and we both agree that it's not really worth it for supporting a deprecated API that we will remove soon anyway. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
Which deprecated API? upower suspend? The version API is needed for KDE to correctly use the systemd logind suspend system instead of upower. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
I have a hack of a patch which implements reading the systemd version string in systemd-shim. It just calls systemd-udevd --version and reports that. ** Patch added: Implements version API in systemd-shim https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1196752/+attachment/3794357/+files/enableVersion.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
The attachment Implements version API in systemd-shim seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
Joseph Yasi [2013-08-29 19:54 -]: Which deprecated API? upower suspend? Yes. The version API is needed for KDE to correctly use the systemd logind suspend system instead of upower. Ah thanks for pointing out. Then yes, let's add the version API to -shim then. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Invalid Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Released Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
** Changed in: upower (Debian) Status: New = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Triaged Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Committed Status in “upower” package in Debian: Fix Released Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
** Changed in: upower (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Triaged Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Committed Status in “upower” package in Debian: New Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1196752] Re: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/*
** Branch linked: lp:debian/upower -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1196752 Title: Suspend only works once when using upower with logind -- s-shim needs to call /lib/systemd/system-sleep/* Status in “systemd” package in Ubuntu: Triaged Status in “systemd-shim” package in Ubuntu: Confirmed Status in “upower” package in Ubuntu: Fix Committed Status in “upower” package in Debian: New Bug description: On saucy with upower 0.9.20-1ubuntu2, suspending via UPower (or the KDE suspend menu) only works once: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend and resuming works the first time. However, calling it again after resume returns: Sleep has already been requested and is pending Sleeping directly via logind works every time: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true Returning FALSE for the LOGIND_AVAILABLE() case in gboolean up_backend_emits_resuming (UpBackend *backend) in src/linux/up- backend.c allows suspending multiple times via UPower (or the KDE suspend menu). UPower is somehow not getting the resume signal from logind. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1196752/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp