On Sun, 05 Oct 2008 17:14:27 +0100 Andy Green <[EMAIL PROTECTED]> wrote:
> 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. > > There's already a "dump" sysfs, doesn't it cover this enough? dump is read-only, this patch allows changing the registers. Some actions, e.g., HP filter reset, is also done by *reading* a register, so dumping all registers could affect behavior in uninteneded ways. (And personally I think it's easier to use) Anyway, I won't push for this to be applied, but I know I've had use for it locally. I'm looking a bit at setting a threshold for the interrupts, and this makes it easier to test without writing the code. // Simon
