Accelerometer problem

Andy Green andy at openmoko.com
Thu Jul 10 11:56:40 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| On the OM2007.2 images it is the neod which opens the accelerometers. No
| reason for doing so, even more as neod starts to eat 50% CPU, because
| the am's send both 100 events per second...
|
| If anybody is interested, I recompiled the neod without this and without
| the click-sound. Drop me a mail.
|
| No more probs with the am's and everything a lot faster.

Well I am glad to hear it can be made stable, because I did believe I
fixed the instability last patch set.

However I don't get why neod sucking on the input device too makes
trouble (other than the CPU load or whatever).  The input layer in Linux
takes care about copying the input content around consistently so
everyone with the input device open gets one copy of what's happening.
Ie, the accel driver is not aware that there are multiple apps
listening.  I guess it is a bug in the accel driver somehow still, but a
much less worrying one that the SPI sharing difficulties until now.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkh13NIACgkQOjLpvpq7dMoTVACgi1QGg4kfcmbZGqADQ32MoYs5
oY8AnRoW3TxtWyXaHyyZJF2BT8GDXj6B
=57p/
-----END PGP SIGNATURE-----



More information about the openmoko-devel mailing list