Re: [4.5] Sleep / hibernate not activated
On Mon, Oct 4, 2010 at 2:13 AM, Edward J. Shornock
<ed.shornock@gmail.com> wrote:
> Luca Tettamanti kirjoitti sunnuntai, 3. lokakuuta 2010 23.26.36:
>> I can suspend just fine using s2ram/s2disk manually, but when I try
>> using Leave -> {Sleep, Hibernate} or the plasmoid nothing happens; no
>> obvious clues in .xsession-errors.
>> This BTW used to work with 4.4.
>> How is transition initiated by KDE? (using the helpers, via sysfs
>> interface, hal?) This might help me debug it further :)
>
> If I'm not mistaken, KDE passes off the sleep/hibernation duties to HAL (as
> shown by Hardware -> Information Sources ("Hardware power management using
> freedesktop.org HAL dæmon")
Ok, I can suspend by sending a message directory to HAL
dbus-send --system --print-reply --dest=org.freedesktop.Hal
/org/freedesktop/Hal/devices/computer
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
With dbus-monitor, when using KDE, I do not see any message on the
system bus, but I see this on the session bus:
mc 1286197155 134166 891 :1.13 /modules/powerdevil
org.kde.PowerDevil suspend
mr 1286197155 871246 237 891 :1.13
powerdevil module is loaded (and is responding to the message), so the
problem might be inside Solid?
L
Reply to: