From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: Jonathan Cameron <kernel@jic23.retrosnub.co.uk>,
Jonathan Cameron <jic23@cam.ac.uk>,
LKML <linux-kernel@vger.kernel.org>,
Manuel Stahl <manuel.stahl@iis.fraunhofer.de>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
"Frysinger, Michael" <Michael.Frysinger@analog.com>,
"Getz, Robin" <Robin.Getz@analog.com>,
Jean Delvare <khali@linux-fr.org>,
"Trisal, Kalhan" <kalhan.trisal@intel.com>,
"Zhang, Xing Z" <xing.z.zhang@intel.com>,
Ira Snyder <iws@ovro.caltech.edu>
Subject: Re: [RFC] Staging:IIO: New ABI
Date: Tue, 26 Jan 2010 01:34:22 -0800 [thread overview]
Message-ID: <20100126093422.GA3480@core.coreip.homeip.net> (raw)
In-Reply-To: <20100123003112.GA7836@kroah.com>
On Fri, Jan 22, 2010 at 04:31:12PM -0800, Greg KH wrote:
> On Fri, Jan 22, 2010 at 04:14:15PM -0800, Dmitry Torokhov wrote:
> > On Fri, Jan 22, 2010 at 12:47:18PM -0800, Greg KH wrote:
> > > On Wed, Jan 20, 2010 at 04:53:21PM +0000, Jonathan Cameron wrote:
> > > > I am not aware of these. Could you direct me to the current api? Also note that these
> > > > aren't the actual alarms, merely a means of enabling the relevant event on the related
> > > > event character device.
> > >
> > > Hm, I thought we had an accelerator interface somewhere...
> > >
> >
> > Nope. And I am also interested in this since I am sittign on a bunch of
> > accelerometers, magnetometers, etc drivers that are trying to plug into
> > input sysbsystem and quite unsure what to do with them.
> >
> > It was OK whch HDAPS and friends when they were using input for
> > secondary, toyish purposes, but these new drivers trying to use input
> > devnts as primary API and I am unsure if it is the best solution.
> > Accelerometer might be used as an input device but not always an input
> > device.
>
> Yeah, I see it using a joystick interface, which might be acceptable for
> "toy" devices like you say.
>
> But for "real" ones, we should do something else.
>
> Maybe, for devices that are going to be used by x.org, like the "toy"
> ones, we stick with the current input interface, but for others, we use
> a "real" interface, probably through hwmon, so that users can get the
> real data out in a consistant manner.
>
I'd rather have all of them use real interface and then have a bridge
to input module to enable toyish mode (unless the device in question
is really truly an input device).
--
Dmitry
next prev parent reply other threads:[~2010-01-26 9:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 15:13 [RFC] Staging:IIO: New ABI Jonathan Cameron
2010-01-20 15:37 ` Greg KH
2010-01-20 16:40 ` Kay Sievers
2010-01-20 16:53 ` Jonathan Cameron
2010-01-20 17:14 ` Kay Sievers
2010-01-25 18:52 ` Jonathan Cameron
2010-01-22 20:47 ` Greg KH
2010-01-23 0:14 ` Dmitry Torokhov
2010-01-23 0:31 ` Greg KH
2010-01-26 9:34 ` Dmitry Torokhov [this message]
2010-01-26 9:55 ` Hennerich, Michael
2010-01-26 10:11 ` Dmitry Torokhov
2010-01-26 10:25 ` Hennerich, Michael
2010-01-26 10:33 ` Manuel Stahl
2010-01-26 11:10 ` Jonathan Cameron
2010-01-27 7:07 ` Pavel Machek
2010-01-24 11:27 ` Jonathan Cameron
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=20100126093422.GA3480@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=Michael.Frysinger@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=Robin.Getz@analog.com \
--cc=greg@kroah.com \
--cc=iws@ovro.caltech.edu \
--cc=jic23@cam.ac.uk \
--cc=kalhan.trisal@intel.com \
--cc=kernel@jic23.retrosnub.co.uk \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuel.stahl@iis.fraunhofer.de \
--cc=xing.z.zhang@intel.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