Subject: Re: X server falls down after resuming
To: None <taca@back-street.net>
From: Masahiko KIMOTO <kimoto@ohnolab.org>
List: current-users
Date: 12/14/2007 18:07:13
> > I've updated to current (4.99.42) after jmcneill-pm is merged.
> > Almost okay including suspend/resume.
> > # some devices needed to add pmf_device_register().
> >
> > But when I do 'zzz' in terminal on X Window, X server has fallen
> > down after resuming, and xdm's come up again.
> Dose your kernel is latest one? I think that yesterday's change may
> help your situation.
>
> Module Name: src
> Committed By: joerg
> Date: Thu Dec 13 15:14:48 UTC 2007
>
> Modified Files:
> src/sys/dev/wscons: wsdisplay.c wsdisplayvar.h
>
> Log Message:
> Switch to console on suspend and shutdown, switch back to where the
> system was before on resume. This is the second attempt and got more
> complicated due to the async nature of VT_ACTIVE. After the initial
> switch, check that we ended up on the first screen and if not, wait for
> the switch to happen.
I've updated, then it solved.
Thanks!
----------------------------------------------------------------------
Masahiko KIMOTO, Ph. D.
E-mail: kimoto@ohnolab.org URL: http://www.ohnolab.org/~kimoto