accelerometer driver

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

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

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

> 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
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora -
> iEYEARECAAYFAki0J/cACgkQOjLpvpq7dMqi5QCeLfmGtEa7fsKOsvJxuWKSD3k8
> lJAAn07iXJaI+syIEqrBGold9CKeA+wm
> =9h5o

More information about the openmoko-kernel mailing list