[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wl hangs on hibernate
At Mon, 05 Apr 2010 15:37:14 +0100,
Richard Lewis wrote:
>
> At Mon, 05 Apr 2010 07:18:34 -0400,
> Matt Price wrote:
> >
> > I'm encountering a very frustrating bug with wl: when I put my laptop
> > to sleep (usually using the hibernate script & tuxonice to do a 'dual'
> > suspend, to both ram and disk), emacs is unresponsive on wakeup. If I
> > remember to quite wl before initiating the suspend, I never see this,
> > so I'm pretty sure that wl is the culprit. I imagine it's something to
> > do with polling imap or similar process which in another mailer would
> > be running in the background; but of course emacs is
> > single-threaded...
> >
> > so my two questions are:
> > - is anyone else seeing similar behaviour; and
> > - any ideas on how to diagnose and prevent this?
> >
> FWIW, I'm *not* experiencing this. I suspend using powersaved:
>
> $ sudo powersave --suspend-to-disk
>
> which (according to man powersave) "Sends a hibernate (suspend to
> disk) request to HAL". I'd always assumed that it uses swsusp but it
> turns out I don't have the uswsusp package installed.
>
uswsusp and swsusp are actually different things -- swsusp is he
in-kernel suspend implementatino, uswsuspis a user-space program that
piggybacks on top of it; but I use the tuxonice patches instead, which
provide functionality similar to uswsusp (esp comprssion, which speeds
everythign up quite a bit) but gives a much greater range
of configuration options.
> Do you get the same problem if you try a different suspend to disk
> technique?
I see the same thing when using pm-utils -- powersaved and HAL are now
deprecated in Ubuntu, I think, so I'd rather not try them at this
point. But using Erik's emacsclient command (see above I nthis
thread) really helps, so i've written a scriptlet for the hibernate
script that just does this every time I suspend. it's qutie
convenient actually.
matt
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Richard Lewis
> ISMS, Computing
> Goldsmiths, University of London
> Tel: +44 (0)20 7078 5134
> Skype: richardjlewis
> JID: ironchicken@jabber.earth.li
> http://www.richard-lewis.me.uk/
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> +----------------------------------------------+
> | Support open access to scholarship |
> | http://freeculture.org/ http://www.doaj.org/ |
> +----------------------------------------------+
>