[PATCH] lis302dl-debug.patch: /sys debug files for the accelerometers
andy at openmoko.com
Sun Oct 5 18:14:27 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| Debug support for lis302dl. Allows lis302dl registers to be displayed
| and modified in the /sys filesystem. Can be useful during development,
| but is obviously in an end-user system.
| +config INPUT_LIS302DL_DEBUG
There's already a "dump" sysfs, doesn't it cover this enough?
These /sys guys are actually mapping direct to selected registers, you
have to read the datasheet to understand what CTRL1 meaning is for
example, seems to me you might as well get the full dump and pick out
the interesting ones.
-----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