Hi Leo,
Leo L. Schwab wrote:
I have a similar issue on a Thinkpad Z61t. When I plug/unplug the
AC adapter, laptop_mode is not invoked to change the power settings. Since
/proc/acpi/event (and therefore 'acpid') is deprecated, everything's moving
to pm-utils.
Attached is a quick bash script I wrote that plugs in to the
pm-utils framework and runs laptop_mode when the power state changes. It
should be placed in /etc/pm/power.d . You may wish to add it or its moral
equivalent to the laptop-mode-tools distribution.
Thanks for reporting. In fact, laptop-mode-tools *does* hook into
pm-utils, this was added in version 1.47-1. But it doesn't do this in
/etc/pm/power.d, but in the system folder for hooks (I think it's
/usr/lib/pm-utils/sleep.d). So, your problem will probably be caused by
the fact that this hook is not working. Could you check that this hook
script is actually there, and if so, update it to log something so that
you can see that it's actually being run?
Cheers,
Bart
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org