Re: [RFC] Add Input IOCTL for accelerometer devices

From: Felipe Balbi
Date: Tue May 19 2009 - 06:42:51 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/