sysfs entry for accelerometer range
daniel at openmoko.org
Fri Jul 25 18:44:14 CEST 2008
On Fri, 25 Jul 2008 16:41:11 +0100
Andy Green <andy at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Somebody in the thread at some point said:
> | Hi,
> | could we have a sysfs entry that allows us to switch the resolution
> of | the accelerometer between 2/8g?
> | Andy, you are the one most familiar with the accelerometers I
> believe, | could you add that feature?
> | That would be great since Paul-Valentin Borza, the student working
> on | accelerometer based gesture recognition reported that the
> default +-2g | range is too small for some gestures. 4g would be
> ideal, but | unfortunately our hardware can only switch between 2 or
> 8g. | I wonder if it would make sense to have one in 2 and one in 8g
> mode so | we have the accuracy at low g and the range...
> Allegedly, you can echo "9.2" into these guys
It works, thanks! I just tried it with 8 which didn't work, but 9.2 is
the typical value.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080725/95d916b8/attachment.pgp
More information about the openmoko-kernel