Subject: Re: Enable mouse to disable screen
To: None <port-i386@NetBSD.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: port-i386
Date: 01/06/2006 15:13:03
On Fri, Jan 06, 2006 at 10:18:48AM -0500, der Mouse wrote:
> >> [whom] can I throw money at to get wscons screenblanking working?
> >> (how much money?)
> > I don't know. I'd suggest throwing time at it instead, though...
> 
> I suspect that agrier is not much of a coder, in which case throwing
> his(?) time at screenblank is not going to do much.

my volunteering of money was an attempt to see what other options were
available besides "do it yourself with your own time" which I've read
repeated times now.

I just poked at screenblank.c source and hacked it to log status changes
rather than doing the actual ioctl() on the framebuffer, and it is
indeed reading mouse events under X.  it looks like the mouse half of
kern/17512 (/dev/wskbd and /dev/wsmouse don't update mtime when events
occur) is fixed, but the keyboard half is not.

ideally the wsdisplay blanking ioctls should interact with APM to blank
the screen when possible; I need to look at the code and find out.  (I
suspect not.)

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
              "silly brewer, saaz are for pils!"  --  virt