[ltp] X40: APM hibernate broken by kernel upgrade to 2.6.15

Tino Keitel linux-thinkpad@linux-thinkpad.org
Wed, 24 May 2006 07:45:47 +0200


On Tue, May 23, 2006 at 11:35:05 -0400, Norman Ramsey wrote:
> I have an X40 that I've just upgraded from an old Emperor Linux kernel
> to a 2.6.15 kernel from the Debian project.  This upgrade fixed what I
> needed it to fix (ALSA instead of OSS), but in the process, APM
> hibernation has broken.
> 
> Symptoms:
> 
>   * Suspend to RAM with Fn-F4 works fine; the kernel detects the APM
>     event and runs suitable scripts (which unload and reload USB
>     drivers).  Resume from this state also works fine.
> 
>   * Suspend to disk with Fn-F12 does not work:
>       - The APM event scripts are not run.
>       - The display blanks and the 'crescent moon' light flashes,
>         but there is only brief disk activity.  (Normally the disk
>         runs for several minutes, because it takes a long time to
>         write a 1.5GB image.

Is APM detected by the kernel? (dmesg output)?

If not, is the APM driver in the kernel? Since it's a modularized
Debian kernel, you should check if the apm modile is loaded:

lsmod | grep apm

Regards,
Tino