On Sun, 01 Apr 2007 10:15:22 +0200
Johannes Berg <[EMAIL PROTECTED]> wrote:

> On Sat, 2007-03-31 at 22:17 +0200, Tim Dijkstra wrote:
> 
> > Hmm, ok I misunderstood then. I thought that in our previous tests
> > you said it used echo mem ... maybe you were using your patches;)
> 
> Yes, I do of course run my patches. "Eat your own dogfood" ;)
> 
> > That would maybe explain why s2both doesn't work yet for cedric.
> > s2both works through an ioctl on /dev/snapshot, which is equivalent
> > (Rafael tells me) to echo mem ...
> > s2ram (with my patch) uses /dev/pmu first, then tries echo mem ...
> 
> I thought s2both was patched too.

That was the initial idea, so I added the /dev/pmu stuff to s2ram. I
misunderstood however how s2both uses the bits from s2ram. Rafael/Pavel
added a ioctl to /dev/snapshot to trigger suspend to state s3, this
uses more or less the same code as echo mem...
So after you told me (or I thought you told me;) that echo mem ...
should be working OK on modern kernels, I thought s2both would work OK.

grts Tim

Attachment: signature.asc
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to