https://launchpad.net/ubuntu/+source/acpi-support/+bug/40621
seems very related and has more information

BTW: I am using dapper, not Edgy or Feisty.

Further, I found the following work around:

Solution
--------
I then looked in man acpid and in /var/log/acpid. It seems, by default acpi 
runs the following two scripts:

Suspend to RAM: /etc/acpi/sleepbtn.sh
Suspend to disk: /etc/acpi/hibernatebtn.sh

They does not make what they are supposed to somehow, but hibernate.sh and 
sleep.sh works (se above).
So, renaming those two and then symlinking them to hibernate.sh and sleep.sh 
instead just works :-)
Code:

    ln -s /etc/acpi/sleep.sh /etc/acpi/sleepbtn.sh
    ln -s /etc/acpi/hibernate.sh /etc/acpi/hibernatebtn.sh

Now Fn+F4 and Fn+F12 calls those scripts instead.
The same perhaps also applies to the menue options in Klaptop, but since I 
still can not log in I don't know yet.

Kdesktop_lock
-------------
Then my second problem; it has a bug report:
    http://bugs.kde.org/show_bug.cgi?id=126728

Kdesktopt_lock is preventing me form logging in again if I lock my
screen, or uses hibernatin/sleep. But by going to a shell (Ctrl+Alt+F1)
and, as root do

    killall kdekstop_lock

I am able to be back where I left. Suspend to RAM then eems to do what
it's supposed to, also from this menue, but suspend to disk just does
exactly the same. Now where did hibernate go?

    klaptop_acpi_helper --hibernate
and
    klaptop_acpi_helper --suspend

says: Can't find /usr/sbin/pmi

    klaptop_acpi_helper --standby

does nothing, says nothing.

    klaptop_acpi_helper --software-suspend

says: Can't find /usr/sbin/hibernate

I will have to take a closer look at this later, for now I can at least
use the buttons, the menu I just will have to leave untouched until the
mentioned KDE bug is solved, then both options will give me sleep--or
maybe someone has fixed that too by then :-P

-- 
Suspend and Hibernate are broken on an IBM Thinkpad R50e
https://launchpad.net/bugs/47508

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to