Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242804 - solid-4.1 cannot find a method for suspend
Summary: solid-4.1 cannot find a method for suspend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 17:33 UTC by Piotr Maksymiuk
Modified: 2009-01-30 17:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes suspend in solid (solid-fix-suspend.patch,494 bytes, text/plain)
2008-10-19 17:39 UTC, Piotr Maksymiuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Maksymiuk 2008-10-19 17:33:08 UTC
When querying solid via command solid-powermagment query suspend, nothing is returned. Because of this powerdevil cannot suspend the machine. 

The machine itself works with both echo mem > /sys/power/state, or with gnome-power-manager.

This is because solid only queries for hibernation capabilities, and then enbaling suspend basing on that. 

A simple fix is included. This is already fixed upstream in trunk.

Reproducible: Always

Steps to Reproduce:
1.as a user run solid-powermanagement query suspend -> nothing will come up
2.KDE will not enable suspend functions
3.run echo mem > /sys/power/state or try to suspend using gnome-power-manager
4.suspend works in those
Comment 1 Piotr Maksymiuk 2008-10-19 17:39:33 UTC
Created attachment 169116 [details]
Fixes suspend in solid
Comment 2 Piotr Maksymiuk 2008-10-19 17:44:08 UTC
The upstream fix in trunk is here : http://websvn.kde.org/?view=rev&revision=873554
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-21 20:58:14 UTC
Hi do you know itf this hits 4.1.3?
Comment 4 Ali Yazdi 2009-01-30 17:12:49 UTC
I've this problem in kde 4.20. the suspend to ram and suspoend to disk  don't do anything. but I can suspend the machine to ram without any problem by hibernate-ram script or "echo mem > /sys/power/state"


Comment 5 Ali Yazdi 2009-01-30 17:27:58 UTC
I forgot to tell about about this issue:

$ solid-powermanagement query suspend
to_disk
to_ram

but when I issue the following command,  I get nothing and the command remains IDLE until I Press Cntl-C.

$ solid-powermanagement suspend 'to_ram'
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-30 17:31:53 UTC
Hi i just walked over websvn and this bug has indeed been fixed in 4.1.4 and in 4.2.


To Ali:
your bug is something else, try to open one and note all relevant informations there.
NOTE: i can suspend pretty normaly with 4.2.0 :]