[pm] Resume hooks not run

Leo sdl.web at gmail.com
Sun Nov 18 07:41:21 UTC 2007


Hi there,

We I leave my computer inactive until it goes into suspension, the wake
up from the suspension usually fails i.e. it hangs. I have to shut down
the computer by holding the power button. This is tested in a Dell 700m
Laptop.

You can see from the file pm-suspend.log after one of such a failure
that there was no resume hooks being run.

,----[ pm-suspend.log ]
| Sun Nov 18 00:19:57 GMT 2007: running suspend hooks.
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /etc/pm/sleep.d/02hardisk =====
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/05led =====
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
| ===== Sun Nov 18 00:19:57 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/20video =====
| kernel.acpi_video_flags = 0
| ===== Sun Nov 18 00:19:58 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
| ===== Sun Nov 18 00:19:58 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
| ===== Sun Nov 18 00:19:58 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
| ===== Sun Nov 18 00:19:58 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/60sysfont =====
| ===== Sun Nov 18 00:19:58 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
| ===== Sun Nov 18 00:19:59 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
| ===== Sun Nov 18 00:20:00 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
| ===== Sun Nov 18 00:20:00 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/95led =====
| ===== Sun Nov 18 00:20:00 GMT 2007: running hook: /usr/lib/pm-utils/sleep.d/99video =====
| Sun Nov 18 00:20:00 GMT 2007: done running suspend hooks.
`----

BTW,

suspension by selecting "suspend" in the battery drop down menu or
logout dialog can resume properly.

Is there any difference between manually selecting "suspend" and
automatically "suspend" when inactive?

They seem behave differently for no reason.

HTH,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

          Use the best OS -- http://www.fedoraproject.org/




More information about the devel mailing list