Problem Suspending on Debian Etch
Tim Dijkstra
newsuser at famdijkstra.org
Wed Sep 27 11:49:54 PDT 2006
Op Wed, 27 Sep 2006 19:09:06 +0100
schreef Richard Hughes <hughsient at gmail.com>:
> On Wed, 2006-09-27 at 19:59 +0200, Tim Dijkstra wrote:
> > Op Wed, 27 Sep 2006 16:44:00 +0100
> > schreef Richard Hughes <hughsient at gmail.com>:
> >
> > Well, I must confess, I don't use all those hibernate knobs that
> > much, but it can do lots of stuff:
> >
>
> Yup, and I'm guessing with some tweaking some of those scripts could
> be used by pm-utils - and then all distros and users would get all
> those fixes rather than those that just hibernate.
Only if all users and distro's install pm-utils ;) They can also get
it now by 'apt-get install hibernate'.
> > > > Apart from that it seems to assume build in software suspend, no
> > > > possibility to use userspace software suspend or suspend2.
> > >
> > > That can be fixed trivially if required - and we really don't
> > > want to support userspace software that is likely to replicate
> > > all the generic work pm-utils does.
> >
> > Some things can only be done in the binary that does the userspace
> > suspend; it can be the only user space program during freeze. I'm
> > not sure which generic things you mean...
>
> Well, if we can just call one file "foo" to suspend then we are good
> to go - if "foo" starts stopping services and syncing time (and all
> the stuff pm-utils should do) then we are less fine.
uswsusp will certainly not start stopping services, it does however
do some things you also seem to be doing, like switching VTs (pm-utils
does that rather hackishly, IMHO) and fixing the state of the graphics
hardware.
But it can also do things pm-utils will never be able to
do, like encryption and compression of the image and showing a splash
screen during suspend and resume.
> > I just wanted to say that the state it is know in will have lots of
> > people loose functionality during hibernate.
>
> Chicken and egg. Until distros and users start using pm-utils then we
> won't be able to add the new-sane stuff. The insane stuff we should
> let individual users add as required :-)
Well, you should make better advertisement then, it is hard to find
pm-utils. AFAICF there's only your cvs repo.
If nobody beets me to it, I'll be making a debian package some where the
coming weeks.
grts Tim
More information about the hal
mailing list