[PATCH 5/5]: lis302dl-wakeup-configuration.patch

Andy Green andy at openmoko.com
Fri Oct 17 11:46:32 CEST 2008


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

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
is the
|> 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
have this
| 'atomic' in one sysfs write.  But still, the abovementioned policy is
there...

That's good to know, there are other debugging sysfs that I have done
which take <register index> <value> to poke them in...

- -Andy

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

iEYEARECAAYFAkj4XvMACgkQOjLpvpq7dMqyXQCdFLCn52Rp8KjDEuVQ4xDJkaau
BKoAoITBMKJvj2hCQXLmiTRISLJNyjal
=Wm1N
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list