Subject: Re: Xsun and screen blanking
To: NetBSD/sparc Discussion List <port-sparc@NetBSD.org>
From: Greg A. Woods <woods@planix.com>
List: port-sparc
Date: 02/28/2007 16:07:17
At Tue, 27 Feb 2007 22:27:36 -0500,
Michael Lorenz wrote:
> 
> 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 )

I don't have wscons -- my kernel is 1.6.2_STABLE.

I do see X watching /dev/mouse and /dev/kbd:

$ fstat -p 1581
USER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W
root     XsunMono    1581   wd /              2 drwxr-xr-x    1024 r 
root     XsunMono    1581    0 /dev          18 crw-rw-rw-     kbd rw
root     XsunMono    1581    1 /dev          17 crw-rw-rw-   mouse rw
root     XsunMono    1581    2 /var      843037 -rw-r--r--     388 w 
root     XsunMono    1581    3* internet stream tcp f05e3160 *:6000
root     XsunMono    1581    4* unix stream f05e2240
root     XsunMono    1581    5 /dev         813 crw-rw-rw-  bwtwo0 rw
root     XsunMono    1581    6* unix stream f05e2980 <-> f05d4800


-- 
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>