Public bug reported: Binary package hint: acpi-support
I run Kubuntu 7.10 on a Toshiba laptop. I noticed that my laptop didn't suspend properly when I closed the lid. It usually went into 100% CPU usage in the X server. On the other hand, it suspended OK when doing it from the guidance- power-manager GUI, or even using the suspend button. I finally traced the problem to be that /etc/acpi/lid.sh wasn't told to back off, as the suspend is handled by guidance-power-manager. And, in turn, this is due to the fact that /usr/share/acpi-support/policy-funcs isn't aware about guidance-power-manager. The following patch shows what I did to solve it: --- /usr/share/acpi-support/policy-funcs.sv 2007-09-19 11:50:54.000000000 +0200 +++ /usr/share/acpi-support/policy-funcs 2007-10-20 15:03:17.000000000 +0200 @@ -1,5 +1,6 @@ CheckPolicy() { if pidof gnome-power-manager kpowersave > /dev/null || + pidof -x guidance-power-manager.py > /dev/null || (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ; then echo 0; else (Another annoying thing is that the DCOP command in this function fails if run by root.) Of course: if you run kpowersave you will not be bitten by any of the above problems. It took me some time to figure this one out, I hope it can help someone else too. ** Affects: acpi-support (Ubuntu) Importance: Undecided Status: New -- acpi-support in conflict with guidance-power-manager https://bugs.launchpad.net/bugs/154910 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs