From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Cc: linux-input@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: [RFC] [PATCH] input: export gpio-keys driven switch status over gpiolib sysfs
Date: Wed, 10 Jun 2009 23:18:56 -0700 [thread overview]
Message-ID: <20090611061855.GA8035@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <200906050039.40050.jkrzyszt@tis.icnet.pl>
Hi Janusz,
On Fri, Jun 05, 2009 at 12:39:39AM +0200, Janusz Krzysztofik wrote:
> This patch adds support for exporting status of GPIO switches, configured as
> gpio-keys buttons that generate events of type EV_SW, over standard gpiolib
> sysfs interface. That way, switch state can be easily accessed from userspace
> via a modern sysfs API in addition to traditional ioclt API, without the need
> for adding a new, usualy controversial entry to sysfs interface.
>
But this would make your application only work with devices using
gpio-keys driver and nothing else. I don't think it's a good idea.
Thanks.
--
Dmitry
next prev parent reply other threads:[~2009-06-11 6:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 22:39 [RFC] [PATCH] input: export gpio-keys driven switch status over gpiolib sysfs Janusz Krzysztofik
2009-06-11 6:18 ` Dmitry Torokhov [this message]
2009-06-12 11:19 ` Janusz Krzysztofik
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=20090611061855.GA8035@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=jkrzyszt@tis.icnet.pl \
--cc=linux-input@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/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).