accelerometer driver

Wolfgang Spraul wolfgang at openmoko.com
Thu Aug 28 06:31:43 CEST 2008


Andy,
from a driver perspective, do you like our accelerometer chips? (ST  
LIS302DL)
Are you aware of other accelerometer chips with better Linux mainline  
support, or generally better?
Wolfgang

On Aug 26, 2008, at 11:57 PM, Andy Green wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | It seems like the accelerometers have the following:
> |
> | sensitive to losing an edge trigger
>
> We just suspect it, nobody showed it yet... it would probably be a bug
> in the driver handling or s3c stuff rather than accelerometer  
> "feature".
>
> | occur at a periodic rate
> | access conflicts with other drivers so should be done outside of irq
>
> I have a nice patch coming that just does it bitbang the whole way  
> using
> IRQs off as locking throughout.
>
> | Does it make sense to just turn off the irq and have the driver  
> use a
> | delayed work queue to poll at a given rate?
>
> Interrupts are at least somewhat synchronized to the source, I think  
> it
> will suffer from dropped samples otherwise.  But, at some point we  
> have
> to take more radical measures if we don't solve it...
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAki0J/cACgkQOjLpvpq7dMqi5QCeLfmGtEa7fsKOsvJxuWKSD3k8
> lJAAn07iXJaI+syIEqrBGold9CKeA+wm
> =9h5o
> -----END PGP SIGNATURE-----
>




More information about the openmoko-kernel mailing list