* Using uinput
@ 2010-08-30 17:49 Jonathan Cameron
2010-08-31 18:24 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Cameron @ 2010-08-30 17:49 UTC (permalink / raw)
To: linux-iio@vger.kernel.org, Manuel Stahl, Song, Barry
Hi All,
In a thread to do with the cma3000 accelerometer on lkml Dmitry (input maintainer)
in passing mentioned that an iio to input bridge might exist in userspace
using uinput.
Looks to me like this might kill two birds with one stone for us.
* Would finally provide a route for all those who want their sensor
drivers in input because they want to use them for games.
* Would provide a fairly good test of the generality of the user space interfaces.
What do people think of this rather than an in kernel bridge?
Given it would trivially have access to all of the info on what the sensor is producing
it actually looks much easier to do than the kernel bridge (which was going to need
a userspace configuration element or a lot of changes to our internal structure).
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using uinput
2010-08-30 17:49 Using uinput Jonathan Cameron
@ 2010-08-31 18:24 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2010-08-31 18:24 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio@vger.kernel.org, Manuel Stahl, Song, Barry
On 08/30/10 18:49, Jonathan Cameron wrote:
> Hi All,
>
> In a thread to do with the cma3000 accelerometer on lkml Dmitry (input maintainer)
> in passing mentioned that an iio to input bridge might exist in userspace
> using uinput.
>
> Looks to me like this might kill two birds with one stone for us.
>
> * Would finally provide a route for all those who want their sensor
> drivers in input because they want to use them for games.
> * Would provide a fairly good test of the generality of the user space interfaces.
>
> What do people think of this rather than an in kernel bridge?
>
> Given it would trivially have access to all of the info on what the sensor is producing
> it actually looks much easier to do than the kernel bridge (which was going to need
> a userspace configuration element or a lot of changes to our internal structure).
>
If anyone is curious, I just cc'd the list in on the mega lkml thread because
my post includes a quick and dirty hacked together bridge. It works.
Annoying my test platform is currently rather unstable (stargate2).
Git bisect fun tomorrow.
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-31 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 17:49 Using uinput Jonathan Cameron
2010-08-31 18:24 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox