thanks fuoco. i had a look through that report. the first thing is "All quirks are in the uswsusp package. If you install it you'll have a binary s2ram, that will use some iotcl to suspend the machine." the report talks about uswsusp not being available on powerpc debian, but it has always been avaliable on powerpc ubuntu :-)
how ever the ubuntu version does not contain s2ram. version 0.6~cvs20070618-1ubuntu2 removed s2ram from the package. it is faily easy to revert this change. just undo the changes to suspend-cvs20070618/Makefile that are dont by the patch http://patches.ubuntu.com/u/uswsusp/uswsusp_0.6~cvs20070618-1ubuntu2.patch now rebuild, and install and you have a working s2ram command. sudo s2ram, suspends my powerbook next task is to fix pm-is-supported to know that we can suspend http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452367#88 suggests changing src/pm-is-supported in pm-utils case "$ARG" in suspend) - grep -q mem /sys/power/state || exit 1 + grep -q mem /sys/power/state || + [ -c /dev/pmu -a -x /usr/sbin/s2ram ] || exit 1 ;; hibernate) grep -q disk /sys/power/state || exit 1 this needs slight modification on ubuntu, as s2ram is in /sbin instead of /usr/sbin http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452367#93 suggests that using "s2ram --test" as a better test. so with those changes, the pm-is-supported --suspend && echo "yup!" test passes however sudo pm-suspend only blanks the screen for a second :-( -- no suspend available on powerpc (iBook G4, PMU) https://bugs.launchpad.net/bugs/189851 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
