On Thu, 15 Nov 2007 17:49:30 +0100
Johannes Berg <[EMAIL PROTECTED]> wrote:

> 
> > > > I thought s2disk was also tested and working,
> > > > but apparently not. If you could point me at some code that does the
> > > > job or some docs, I could add it to s2disk.
> > > 
> > > s2disk needs to not try to set the "platform" method if that method is
> > > unavailable.
> > 
> > I think it does by default. It's also an config option.
> 
> pm-hibernate has no such option and thus breaks. Not sure why s2disk is
> involved at all?

s2disk isn't involved per se, but it can bring your machine in
hibernation. It can work as a `back end' in pm-hibernate. 

...

I'm not sure we're understanding each other. In my understanding, on a
powermac, the interface /sys/power/state was not working for
suspend-to-ram. If I read your e-mails to this report it isn't working
for hibernation either. Right?

Now, for S3 there were some ioctl that had to be used. This is now in
the s2ram binary.

Are you saying that for S4 we need something similar (eg. some binary
that pokes some ioclts?) If yes, I think we'll have to add that to
uswsusp. pm-utils is just a bunch of (arch: all) scripts, that uses
the /sys/power/state interface.

grts Tim

Attachment: signature.asc
Description: PGP signature

Reply via email to