Hi, Today i finally managed to set up and test userspace suspend. Everything seems to work somehow (some strange things i need to investigate, e.g. compressed suspend is actually slower than uncompressed). But i found one real showstopper: according to the code and the obvious behaviour, suspend uses the equivalent of "shutdown" in /sys/power/disk, means: it writes the image to disk and then just powers off. This breaks many machines badly, especially my hp nx5000 where neither Battery nor AC adapter state will work properly after resume. Other machines might just resume slower (many machines actually seem to skip a lot of BIOS-foo on resume with "platform" mode), or have no negative side effects at all, but many HPs will lose battery information (and on the ThinkPads, the moon will not blink during suspend :-)
What can we do to fix this? In-kernel suspend calls the apropriate ACPI methods at the beginning and end of suspend IIUC. Can we do something similar from userspace? -- Stefan Seyfried QA / R&D Team Mobile Devices | "Any ideas, John?" SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out." ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel