Subject: Re: Xsun and screen blanking
To: Bill Green <bill@supposedly.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc
Date: 02/27/2007 22:27:36
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Feb 27, 2007, at 21:40, Bill Green wrote:

> The problem is that it blanks the screen (or puts up the X logo) after 
> the timeout value has expired regardless of whether the server has 
> been active (mouse or keyboard input) during that time or not.

> Michael Lorenz wrote:
>
> > If you use a 4.0 userland you already have XFree86 in /usr/X11R6, all
> > you need to use it is a wscons kernel ( read: wsdisplay at cgsix, 
> wskbd
> > at kbd, wsmouse at ms, kbd and ms at zstty - just like on sparc64 )
>
> I have the 4.0 kernel with wscons, but I am still using the 3.1 
> userland.  I will build the 4.0 userland and try the other server.

Hmm, this might be the problem then - Xsun listens to /dev/ms0 and 
/dev/kbd0 IIRC, whatever method it uses to determine the time since 
last activity in any of those might not work properly with wscons on 
top ( like the old screensaver binary which relies on modification 
times of the device nodes, that's been broken for a while now )
When you have a 4.0 userland then XFree86 -configure should produce a 
usable configuration file.

Besides that, the cgsix uses sync-on-green so by definition it can't 
use DPMS signalling (which abuses the hsync and vsync lines to tell the 
monitor which sleep mode to use). Turning off video output should still 
put the monitor to sleep though.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBReT2qMpnzkX8Yg2nAQJgvwf+MmssSXjH+U5g4pC5T8512sjI1n6d6mU6
prYUNtwVOdj2uqOUU5FS0jtcB4ciZXPjG9phg5gQwBHIFDQ3mk0aCcmNa+OhQCKk
a9E/pRNi6kJ/pUZeOmrQ7gqjoinEjnkduWt1V+09HtvSQz8UmOTMLKhJKNxCuKw1
tF6ca2p57+WMQBR6V6znTYwhi9Ok9UNAihuqDFe0j6HO5noDq+A9M37e8wIAIjuH
y90XqjItXec/q3/KjwMeStsGXXxiIU2qsU+CGCRkIjD0r3mMC/DtgziaJgwK/jzE
QMRPSWVxiZlyR0AIQ4gPvP5FyZU4k90tFjcwY7k6DZgtLwaf1g+ILA==
=yaky
-----END PGP SIGNATURE-----