On Fri, 2005-03-11 at 00:28 -0500, David Zeuthen wrote: > On Fri, 2005-03-11 at 00:07 +0100, Pavel Machek wrote: > > > I was merely asking for an event when the system is resumed. > > > > > > I agree it doesn't make much sense for an event just before the system > > > is suspended - if this is needed I believe we can orchestrate it > > > completely from user space (things like making your email app > > > synchronize etc. comes to mind). > > > > You can have event when the system is resumed. Just do it in userspace. > > > > Maybe I'm reading the source wrong, but isn't it the case that some > laptops using APM (my IBM thinkpad T41 with acpi=off for instance) > suspends without user space interaction when the lid is closed, thus > rendering it impossible to send the event from user space? > > One may even ask whether it's sound to assume that all architectures > will be suspended via user space? > > <snip> I would consider this to be an exception. APM has been obsolete for years. Our focus (for those platforms where it is available) should be with ACPI on. Thanks, Adam