klaptopdaemon triggers hibernate in incorrect manner

Bug #14945 reported by Rebecca Lane
24
Affects Status Importance Assigned to Milestone
kdeutils (Ubuntu)
Fix Released
Medium
Jonathan Riddell

Bug Description

When using Gnome Hibernate works perfectly, and the computer wakes up correctly.
 After installing Kubuntu-desktop, hibernate stops working correctly and the
computer freezes on startup.

Computer: Toshiba m35x-s329

Revision history for this message
Andreas Mueller (amu) wrote :

are there any kernel messages ? connected removable devices ? Did you
tried the liveCD or the installCD or you upgraded ubuntu to kubuntu ?

Revision history for this message
Rebecca Lane (bekylane) wrote :

(In reply to comment #1)
> are there any kernel messages ? connected removable devices ? Did you
> tried the liveCD or the installCD or you upgraded ubuntu to kubuntu ?

I tried both (installCD) updating Ubuntu to Kubuntu and doing a Clean install of
Kubuntu on a formatted Hard Drive. The problem only shows with the KDE desktop.

the kernel does not give any error messege, and there are no connected devices.
 The crash occurs during the IRQ

Revision history for this message
Rebecca Lane (bekylane) wrote :

Additional information:

The last two lines displayed by the kernel beafore hanging are:

ech1: coming out of suspend...
ACPI: PCI interrupt 0000:02:020[A] ->GSI22 (level,low) -> IRQ22

Revision history for this message
Roberto (roberto-tores) wrote :

I have experienced the same problem. curiously if you open a terminal and write
sudo /etc/acpi/hibernate.sh it works correctly, but under KDE GUI it does not.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

*** Bug 15216 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

In bug #15216, it was reported that it works correctly if you run "sudo
/etc/acpi/hibernate.sh", rather than using the KDE tool to hibernate. Can you
confirm that this is true for you as well?

Kubuntu folk: what is kcontrol doing to trigger hibernate? It should be using
the 'pmi' command.

Revision history for this message
Rebecca Lane (bekylane) wrote :

Yes, if i run the comand (using sudo first), the hibernate works perfectly. Now
if there where a way to replace the KDE hibernate function with the
etc/acpi/hibernate.sh command.

In reply to: In bug #15216, it was reported that it works correctly if you run "sudo
/etc/acpi/hibernate.sh", rather than using the KDE tool to hibernate. Can you
confirm that this is true for you as well?

Revision history for this message
Kai F. Lahmann (kl) wrote :

so this is about the klaptopdaemon only calling /etc/acpi/sleep directly.

Revision history for this message
Matthew Garrett (mjg59) wrote :

klaptopdaemon should be using powermanagement-interface to trigger hibernation.
This will do the correct thing on all our supported platforms.

Revision history for this message
Matt Zimmerman (mdz) wrote :

As discussed on IRC, this should call pmi

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Is this still a problem with dapper?

Changed in kdeutils:
status: Unconfirmed → Needs Info
Revision history for this message
Jonathan Jesse (jjesse) wrote :

Could you please update this bug for Dapper? if this is still happening can you please close this bug?

Thanks,

Jonathan

Revision history for this message
Jonathan Jesse (jjesse) wrote :

This bug has been fixed in Dapper, please update your system

Changed in kdeutils:
status: Needs Info → Fix Released
Revision history for this message
venkatu (venkatu) wrote :

i think this bug is still haunting the upstream/latest kubuntu kde (3.5.4) packages. hibernate worked fine on my compaq armada m700 with dapper's default kde packages. but when i updated to 3.5.4 (http://kubuntu.org/announcements/kde-354.php) packages, klaptopdaemon stopped hibernating properly. my specific problem was that X and possibly the network services did not restore properly. i could still ctrl+alt to a VT and restart kdm and restore networking (networkmanager).

however, using "sudo /etc/acpi/hibernate.sh" hibernates and restores everything, just fine.

thanks,
venkat.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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