On Fri, Aug 25, 2006 at 01:18:43PM +0000, moreau francis wrote: > Matthew Garrett wrote: > > Triggering suspend/resume is already generic in the form of the > > /sys/power/state interface. There's been discussion of producing a > > generic battery class lately. There's some trend towards tying suspend > > requests into the input layer, but how appropriate that is may depend on > > the hardware in question. I think most of the pieces are in place to > > provide an interface that isn't tied to looking like APM, and there's > > what about suspend/resume event handling ? Is there something already in > place ? You mean passing those events out to userspace? Not that I know of. -- Matthew Garrett | mjg59 at srcf.ucam.org