Subject: Re: issues with screenblank and wscons
To: Kailash Sethuraman <hsaliak@gmail.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 11/29/2004 08:34:49
--MZf7D3rAEoQgPanC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 25, 2004 at 10:17:10PM +0800, Kailash Sethuraman wrote:
  | On Thu, 25 Nov 2004 20:54:49 +1100, Luke Mewburn <lukem@netbsd.org> wro=
te:
  |=20
  | > I think the problem is that the mtime and/or atime isn't updated
  | > on the wscons ttyE? correctly, or at least, as it would be on a
  | > serial or traditional workstation console.   I would like to see
  | > this fixed correctly.
  |=20
  | >From what I gather, it seems that the mtime and atime are modified by
  | VOP_SETATTR().  As i dont think  the vfs is involved  in the
  | code path that  required for a keystroke to get to the tty, the atime a=
nd
  | mtime for wskbd device is not modified.  Hence I am not sure as to what=
 the
  | correct fix would be, trying to overcome this limitation to get stat()
  | to work with ws* ?
  |  Or to try and approach it in an altogether  different way?

I think Christos has solved this, although I haven't confirmed this
myself.

--MZf7D3rAEoQgPanC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBqkR5pBhtmn8zJHIRApg4AJ9o7tpiNCE+Gm33T+nL8AL1MChC/gCfagHd
pERpIuv275iFIYdlZQ67MaQ=
=ywde
-----END PGP SIGNATURE-----

--MZf7D3rAEoQgPanC--