From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org, viro@parcelfarce.linux.theplanet.co.uk
Subject: Re: [PATCH] atime on devices
Date: Wed, 16 Jun 2004 14:59:10 +0200 [thread overview]
Message-ID: <20040616125909.GY20632@lug-owl.de> (raw)
In-Reply-To: <riqhdtkke3i.fsf@maggie.uio.no>
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
On Wed, 2004-06-09 16:20:17 +0200, Sturle Sunde <sturle.sunde@usit.uio.no>
wrote in message <riqhdtkke3i.fsf@maggie.uio.no>:
> 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@lug-owl.de . +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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-16 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 14:20 Sturle Sunde
2004-06-16 12:59 ` Jan-Benedict Glaw [this message]
[not found] <fa.j3j5n9a.12n2f8g@ifi.uio.no>
[not found] ` <fa.gbo3vfu.1e429hc@ifi.uio.no>
2004-06-16 15:30 ` Sturle Sunde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040616125909.GY20632@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®