Re: [RFC] Add Input IOCTL for accelerometer devices

Felipe Balbi
2009-05-19T10:42:48Z

Hi,

On Tue, May 19, 2009 at 04:41:24AM +0200, ext Kim Kyuwon wrote:
> > what if you wanna use the accelerometer as joystick for gaming ? Imagine
> > a portable device...
>
> So I said that accelerometer driver can use input_register_device,
> input_register_polled_device functions.

exactly...

> Good point. We should consider the extensibility. I agree a sensor
> framework that abstracts input_dev. However we should discuss with Jean
> Delvare about the boundary between lm-sensors and input(?)-sensors
>
> * However we should first confirm and review that Jonathan's iio can be
> the solution for input(?)-sensors *

sure, makes sense to me

> > But then comes another question: what to do with
> > magnetometers, gyroscopes, etc etc ??
>
> If we make a extensible sensor driver, I think we can add these new etc
> sensors in the future. step by step.

agreed here. But we have to think that this might get extended, so we
should start thinking of an abstraction layer that could evolve for
magnetometers, gyroscopes and other sensors

--
balbi