From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Kyungmin Park <kmpark@infradead.org>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
Trilok Soni <soni.trilok@gmail.com>
Subject: Re: [PATCH] Input notifier support
Date: Sat, 28 Feb 2009 14:30:05 -0800 [thread overview]
Message-ID: <20090228223004.GB16208@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <20090225044730.GA9106@july>
Hi Kyungmin,
On Wed, Feb 25, 2009 at 01:47:30PM +0900, Kyungmin Park wrote:
> Some hardware doesn't connected with key button and led. In this case
> key should be connected with led by software. Of course each application
> can control it however it's too big burden to application programmer.
>
> So add input notifier and then use it at other frameworks such as led.
> Of course, other input device can use this one.
>
> Any commnets are welcome.
>
I don't think we need to do the notifier route. It is very easy to add
another input handler in style of rfkill-input or apm-power that would
listen to events from all ungrabbed input devices and act accordingly.
Your LED trigger example should work very well if implemented as another
input handler.
Thanks.
--
Dmitry
next prev parent reply other threads:[~2009-02-28 22:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 4:47 Kyungmin Park
2009-02-25 8:03 ` Trilok Soni
2009-02-25 9:55 ` Kyungmin Park
2009-02-26 7:01 ` Trilok Soni
2009-02-27 2:11 ` Kyungmin Park
2009-02-27 12:35 ` Trilok Soni
2009-02-28 22:30 ` Dmitry Torokhov [this message]
2009-02-28 23:34 ` Andi Kleen
2009-03-01 0:42 ` Dmitry Torokhov
2009-03-01 2:52 ` Kyungmin Park
2009-03-01 3:07 ` Dmitry Torokhov
2009-03-01 3:16 ` Kyungmin Park
2009-03-01 6:29 ` Dmitry Torokhov
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=20090228223004.GB16208@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=kmpark@infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=soni.trilok@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
all inboxes | Powered by JetHome®