Hi. On Sat, 2005-03-12 at 03:04, David Zeuthen wrote: > Oh, I thought the kernel was moving towards presenting user space with > an abstract interface much like /sys/power/state; that would definitely > be easier on user space (we don't have to add new code for every PM > framework), but I do understand if you don't want to do this as it have > negative consequences. But at least some form of feature parity across > different PM frameworks would be nice (e.g. if you make APM resume send > an event, do the same for ACPI and PMU) because in many ways user space > do have to design for lowest common denominator when abstracting this. APM is considered obsolete, even Stephen Rothwell says that :> This is why no work has been done on making it have a sys interface, IIUC. The /sys interface is the way to go. Some of us are just too scared by^W^W busy to implement kobjects and keep putting off the transition :> > > > > . I'm *not* going to do that from kernel. But standartizing what needs > > > > to be ran on resume is indeed good idea, and few lines in > > > > Documentation/power/* are probably worth it. Slow reply, I know. There's an excellent hibernate script written by Bernard Blackham that we use for suspend2, but is also able to handle swsusp etc. If everyone would start using it... (me included! [Bernard, that's five times I've said it!]) Nigel -- Nigel Cunningham Software Engineer, Canberra, Australia http://www.cyclades.com Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574 Maintainer of Suspend2 Kernel Patches http://suspend2.net