On Tue, 27 Mar 2007 12:11:34 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> On Tuesday, 27 March 2007 11:51, Tim Dijkstra wrote: > > Hi. > > > > Sometimes it seems relevant for the thing calling s2both to know what > > route we took in the end, be it s2ram or s2disk. > > > > Would you think returning a value is a suitable way of communicating > > that to the user? Would some scripts maybe break, because they only > > expect 0 in case of success? > > I think some scripts could break (Stefan knows better, though). > > What's the exact problem you're trying to solve? Well, I'm trying to get support for s2both in pm-utils. pm-utils is an intermediary layer where services and apps can hook into so they can do `something' when the system suspends/resumes. The `something' maybe dependent on what state the system came back from. I must confess, I can't really think of a real use case here, other than the vbetool stuff that pm-utils tries to do when s2ram is not there. So maybe it is not worth the trouble... grts Tim
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 [email protected] https://lists.sourceforge.net/lists/listinfo/suspend-devel
