All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFP] iio: Support of gesture sensor as a standard IIO sensor
Date: Sat, 20 Jan 2018 15:19:08 +0000	[thread overview]
Message-ID: <20180120151908.1d438aaf@archlinux> (raw)
In-Reply-To: <20180118224026.GE17196@amd>

On Thu, 18 Jan 2018 23:40:26 +0100
Pavel Machek <pavel@ucw.cz> wrote:

> Hi!
> 
> > From an IIO sensor point of view A Gesture sensor:
> > Outputs
> > 	A pre defined activity type
> > 		WAKE
> > 		TILT
> > 		GLANCE
> > 		PICK_UP
> > 		 &
> > 		 more
> > 
> > 	A user defined activity type as "string"  
> 
> Pre-defined activities are easy.
> 
> But what about user-defined activities? We'd really like common
> interface across different hardware... 

Nasty to handle indeed.   It may be the best we can do initially
at least is user_definedN or similar.  No way of constraining
users from uploading something really odd that we can't define
an interface for (hopping whilst holding a phone in
their teeth?)
> 
> > Inputs
> > 	A raw binary cdev interface to download templates/patterns  
> 
> ....and "raw binary" will not work across different hardware :-(.

Sadly there probably isn't much we can do about the format being custom.
Best bet would ultimately be if there was at least a standard tool
to generate the files for different devices...

> 
> 									Pavel


  reply	other threads:[~2018-01-20 15:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06  0:07 [RFP] iio: Support of gesture sensor as a standard IIO sensor Pandruvada, Srinivas
2018-01-06  0:07 ` Pandruvada, Srinivas
2018-01-06  0:20 ` Alan Cox
2018-01-06  0:20   ` Alan Cox
2018-01-06 13:12   ` Jonathan Cameron
2018-01-06 13:12     ` Jonathan Cameron
2018-01-06 17:43     ` Pandruvada, Srinivas
2018-01-06 17:43       ` Pandruvada, Srinivas
2018-01-18 22:40 ` Pavel Machek
2018-01-20 15:19   ` Jonathan Cameron [this message]
2018-01-20 20:31     ` Pandruvada, Srinivas
2018-01-20 20:31       ` Pandruvada, Srinivas
2018-01-27 22:09       ` Pavel Machek
2018-01-27 22:55         ` Pandruvada, Srinivas
2018-01-27 22:55           ` Pandruvada, Srinivas
2018-01-28  8:40           ` Pavel Machek
2018-01-28  9:38             ` 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=20180120151908.1d438aaf@archlinux \
    --to=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=srinivas.pandruvada@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.