Hi!

> > > I think s2ram can get info from HAL easier than HAL from s2ram, but I'm
> > > biased :-
> > 
> > Design criteria: It has to work on machine without gnome/hal/etc,
> > because I do not use that stuff.
> 
> But one could argue that in that case, something like
> 
> #!/bin/sh
> exec /usr/sbin/s2ram -f -s -p
> 
> somewhere in your $PATH to save you from always typing your options
> will work fine for debugging also.

Eh, that is exactly what I'd like to avoid. I change machines a lot...

> In the real world, on machines that are actually supported by s2ram
> and friends, HAL will be running on >90% of the installations.
> And i am pretty sure it would be trivial to write a
> "hal-show-me-the-s2ram-options" script that retrieves those options
> for you on this unknown machine :-)

Okay, that is enough for debugging, but I'd prefer not to go that way.

Creating small libxml parser for HAL descriptions, to be embedded into
s2ram seems like a way to go to me... Of course, someone needs to code
it.

> Another example: i have a nasty ACER tablet here that needs VBE_SAVE on
> console, but only if X is not running. If X is running, you might not do
> anything or it will livelock somewhere (X will take up 100% CPU until
> reboot). I do not really want to express this in terms of s2ram whitelist
> entries... :-)

Well, we should probably just (force someone to) fix X.
                                                                        Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to