On Tue, Feb 17, 2009 at 08:46:21AM +0100, Bart Samwel wrote:
> 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).
                    ^^^^^^^
        Yes, in fact, I had noticed this some weeks ago.  However, the
solution there is incomplete.  Scripts in sleep.d are invoked when the
system transitions into/out of suspend-to-RAM or suspend-to-disk and, in
fact, the scripts there work perfectly for me.

        However, power state changes -- plugging and unplugging the AC
adapter -- are not handled through sleep.d (since the system isn't
sleeping), but rather through power.d.  This was the support I added.

                                        Thanks,
                                        Schwab



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to