Hi! > At the moment we support only ix86_{32,64} machines. I personally do > not have a ppc machine, but apparently bringing it in a s2ram state is > pretty easy. It is something along the lines of: > > fd = open("/dev/pmu", O_RDWR); > > ioctl(fd, PMU_IOC_SLEEP, arg); > > If we integrate this into the s2ram binary, we can also support s2both > for them.
I'd actually like PPC people to support standard /sys/power/state... and they are probably even working in that direction... But yes, supporting it in s2ram sould be easy... otoh it does not need most of s2ram ... like whitelists etc... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel