Problems Reading Accelerometer Device

Simon Kagstrom simon.kagstrom at
Wed Nov 26 18:03:19 CET 2008

On Wed, 26 Nov 2008 11:28:23 +0100
Michael Tansella <michael-tansella at> wrote:

> I want to read out the Acc device and for me it is important to get
> really every measurement.
> I read the wiki and the gestures source code but it didnt't help.
> I set the samplerate to 400 Hz and though I think the time between
> two (x y z separator) measurements should be ca 2,5 ms, but in my
> logfile you can see that there are sometimes 30 ms. So I think I
> loose some values.

Do you have a threshold set? If so, you could try to disable it by
writing 0 to /sys/.../lis302dl.x/threshold.

// Simon

More information about the devel mailing list