On Thu, 22 Nov 2007 21:44:49 +0100 Benoît Dejean <[EMAIL PROTECTED]> wrote:
> > Le jeudi 22 novembre 2007 à 11:29 +0100, Martin Pitt a écrit : > > Hi, > > > > Benoît Dejean [2007-11-22 10:42 +0100]: > > > hal can no longer suspend my laptop. > > > gnome-power-manager no longer shows the suspend option and > > > > > > $ sudo /usr/sbin/pm-suspend > > > Error: kernel cannot suspend to ram. > > > > Just a quick note: This is an issue in pm-utils. On powerpc, > > /sys/power/state only contains 'disk', not 'mem'. > > I don't you suspend to disk, on suspend to ram. > > > On powerpc with a > > PMU the prefered way of querying sleep capability and causing > > suspend-to-ram is to use a sysctl (see attached script from Ubuntu's > > powermanagement-interface). I believe that echoing 'mem' to > > /sys/power/state works, too, though. > > Not really, this has never worked on my ibook > > \echo -n mem > /sys/power/state > -bash: echo: write error: Invalid argument Than suspend to ram has never worked on your machine with pm-utils. > > So this needs a quirk/fix/workaround in pm-utils. 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. pm-utils recommends it, so under normal circumstances you should have it. grts Tim
signature.asc
Description: PGP signature