Subject: Re: xrefresh(1) on resume
To: None <port-hpcmips@netbsd.org>
From: SATO Kazumi <sato@sm.sony.co.jp>
List: port-hpcmips
Date: 01/04/2001 16:00:24
> 	if i suspend/resume while I'm running X on my machine, it is required
> 	for me to run xrefresh(1) on resume to recover my X screen.
> 	(wscons screen will override the content of the screen).
> 	- is it normal?  or am I doing something wrong?
> 	- if it is normal, how can we automate it?  how about having apmd on
> 	  hpcmips?
> 
> 	i'm running 1.5 on top of NEC MobileGear 530.

-current kernel of today, wscons screen will not override the contents of
X screen after resuming.

Some machine (NEC MobileGear2 530 etc) can't keep 
the contents of screen while a long long time suspending. 
In -current kernel, when console is WSDISPLAYIO_MODE_EMUL mode, 
fb driver redraws console texts.
In 1.5 kernel, fb driver can't know  WSDISPLAYIO_MODE_EMUL or not, 
so it always redraws them.
It needs to be run xrefresh(1) after long suspending with running X,
or someone needs to enhance Xhpc takemura-san was described.

sato