Bug#718217: lmt fails to run on resume from sleep, suspend, standby

email.bug at arcor.de email.bug at arcor.de
Sun Jul 28 21:44:36 UTC 2013


Package: gdm

I noticed lmt was again not properly setting the hdparm values on resume.

Turning on the verbose output revealed many
"Couldn't acquire prelim lock on descriptor" errors.

I have no idea about the real cause for this. But stopping lmt before suspend
in a /etc/pm/sleep.d/99laptop_mode file with something like this
...
            hibernate|suspend)
                if [ -e /etc/init.d/laptop-mode ] ; then
                        invoke-rc.d laptop-mode stop
                fi
...

works around the problem.



More information about the pkg-gnome-maintainers mailing list