Re: [RFP] iio: Support of gesture sensor as a standard IIO sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jan 2018 23:40:26 +0100
Pavel Machek <pavel@xxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux