Subject: Re: Screenblank does not work properly
To: solemn <sohlow@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-i386
Date: 05/05/2005 14:36:09
--Signature_Thu__5_May_2005_14_36_09_-0400_7etnl53gE.yeJ8KT
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> There's a PR for it (#17512), I don't think anybody has looked into it
> any more. I got lost in the code trying to figure out the proper way
> to update the times on the device as well. ;-)
>=20
> you can probably fix screenblank so it monitors the device for input
> using kqueues or another interface if you want a userspace solution
> rather than checking the times for the device which is what
> screenblank does.

I had a look at the code yesterday - can't see anything wrong with it on
first glance, apparently it relies on device entries getting their
modification time set whenever something happens so it's no surprise it
didn't work for me - / is mounted with nodevmtime and noatime to let the
disk spin down. Maybe I should put /dev into a RAM-disk...

have fun
Michael

--Signature_Thu__5_May_2005_14_36_09_-0400_7etnl53gE.yeJ8KT
Content-Type: application/pgp-signature

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

iQEVAwUBQnpnmspnzkX8Yg2nAQKEjQgAniBatyM/Ko80P9+k6dVY0YYam/pIJXUB
m0tyf3nf/2om69WxChH0wYlUw1E1jzOcP1YZj8v8hf0k7KuNnDdY0q0Z1nFsIPdX
bb6WBUTfg1fTlh8BQ33WF0BhVi1bwWTAec0REbmQYG0+kMuB9FtKJC10vO3PBu8G
UrA4letaxRKjVrR/wqpoWbP+2rzLwuae5rlVYlsrzOwdofnJHg9f7lrjo8IsXfkm
8eGZYYjNt2OkXFL3xQul55IZn2MT6tKqM9CqOAh6d50biIr5thSXHZeLol1Llzxe
xfoQaM7VAFiHEYAH/jxFWaqWCsRaIz6gZ4d9WoItN7QwfIlmQu4d1Q==
=BIGi
-----END PGP SIGNATURE-----

--Signature_Thu__5_May_2005_14_36_09_-0400_7etnl53gE.yeJ8KT--