![]() |
APMD-List: |
to APMD Home |
Index:
[thread]
[date]
[subject]
[author]
From: Jamie Zawinski <jwz@jwz.org> To : <apmd-list@worldvisions.ca> Date: Sat, 22 May 1999 18:33:31 -0700 Re: pre-suspend notifications?Avery Pennarun wrote: > > You need to be root then, I think. Download the apmd source and see. It's > pretty simple. Ok, it looks fairly simple. Is there a sensible reason why one must be root to monitor the apm state? I'm still kind of confused about how it works. If I'm listening for APM events, does that mean that some other process cannot also be listening for events? I want to make xscreensaver passively observe the apm goings-on without influencing them. I seem to have gotten something in my machine confused somehow; right now (after having upgraded to apm 3.0b6) I can no longer suspend; normally, either closing the lid or hitting Fn-F4 will suspend the machine, but after having run apmd, it no longer does. Stopping apmd doesn't make it start working again. When I attempt to suspend, the machine keeps running, and after a while (30 seconds or so) makes the beep-sound that it uses to mean "couldn't do that." (This is a Thinkpad 770ED running RH 5.2 / kernel 2.0.36.) Any suggestions on how to diagnose this? Is there documentation for this stuff somewhere, besides the man pages that come with the apm distribution? -- Jamie Zawinski jwz@jwz.org http://www.jwz.org/ Index: [thread] [date] [subject] [author] |