Re: [PATCH] atime on devices

From: Jan-Benedict Glaw
Date: Wed Jun 16 2004 - 08:15:58 EST


On Wed, 2004-06-09 16:20:17 +0200, Sturle Sunde <sturle.sunde@xxxxxxxxxxx>
wrote in message <riqhdtkke3i.fsf@xxxxxxxxxxxxx>:
> Some software use access times on device files to check if there is
> mouse or keyboard activity on the console. This used to work in old
> kernels, or perhaps it was old hardware, but not any more. Google
> didn't find any other portable ways of checking for mouse or keyboard
> activity without accessing the X11 display.

open() /dev/input/evdev* and select() on them?

MfG, JBG

--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature