[ltp] how does apm operate?

Ivarsson, Torbjorn (T) linux-thinkpad@linux-thinkpad.org
Tue, 13 Apr 2004 06:57:39 -0500


In my continuous efforts to solve my KDE-keeps-crashing-when-resuming-problem I am trying to figure out exactly how apm/apmd works so that I can insert my own debugging code. I was under the impression that there are some scripts somewhere that apm use when suspending/resuming, but I can't find them.

I have downloaded the source for apm/apmd (v3.something) and briefly looked through the code. There's only one reference to a script-file, apmd_proxy. The file came with the source tarball but I cannot find it in my system (MDK10).

Questions: Can anyone briefly explain the chain of events when apm suspends and resumes the computer? What files are used etc.? Or is there a good resource anywhere that I can dig through?

Thanks,
T.