From: Pavel Machek <pavel@ucw.cz>
To: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-input@vger.kernel.org
Subject: Re: [RFC PATCH 2/2] Add virtual "idle" device
Date: Fri, 6 Mar 2009 19:43:56 +0100 [thread overview]
Message-ID: <20090306184356.GA1311@ucw.cz> (raw)
In-Reply-To: <1236033772-20329-2-git-send-email-marcin.slusarz@gmail.com>
On Mon 2009-03-02 23:42:52, Marcin Slusarz wrote:
> This virtual device can be used to tell user space about periods of time
> when user didn't "touch" input devices (keyboards, mice, touchpads, joysticks,
> etc). For now it supports only keyboard events.
>
> Notification is done through simple select/poll + ioctl interface.
>
> It can be used to implement screen savers, automatic suspend,
> autoaway/autodisconnect (e.g. in instant messangers) without
> any help from X server and its overhead (context switches).
I don't think this is good interface; what if you have more than one
seat? And without mouse handling it is useless anyway, so....
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2009-03-06 18:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 22:42 [RFC PATCH 2/2] Add virtual "idle" device Marcin Slusarz
2009-03-03 10:00 ` Geert Uytterhoeven
2009-03-03 14:17 ` Marcin Slusarz
2009-03-06 18:43 ` Pavel Machek [this message]
2009-03-12 1:08 ` Marcin Slusarz
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=20090306184356.GA1311@ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.slusarz@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).