[PATCH 5/5]: lis302dl-wakeup-configuration.patch
andy at openmoko.com
Fri Oct 17 11:46:32 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| Hi Simon,
| thanks for your work.
| On Wed, Oct 15, 2008 at 08:15:07PM +0200, Simon Kagstrom wrote:
|> It only supports one of the two lis302dl interrupt sources now (which
|> only connected one on the openmoko).
| Why is there only one connected?
We meddled around with it on GTA02 A6, since the two interrupt sources
are programmable the same and at any given time it seems only one active
source does something useful, we used one interrupt per sensor.
On GTA03 we have one sensor and use both interrupts again.
|> echo 1 1 1 180 0 1 > wakeup
| Please note that there is a "single value per sysfs node" policy in the
| mainline kenrel, so this will unlikely get merged.
| I understand what you're trying to do, and it makes a lot of sense to
| 'atomic' in one sysfs write. But still, the abovementioned policy is
That's good to know, there are other debugging sysfs that I have done
which take <register index> <value> to poke them in...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel