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

Simon Kagstrom simon.kagstrom at gmail.com
Fri Oct 17 18:23:27 CEST 2008

On Fri, 17 Oct 2008 11:34:53 +0200
Harald Welte <laforge at openmoko.org> wrote:

> >    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...

OK. Well, I'll cook up a new patch someday then. However, the interface
won't be pretty if we supply multiple files for this.

Perhaps it's OK to allow only setting of e.g., the threshold value and
let the others be "implicit", i.e., less configurability but leaner
interface. Or alternatively put everything in a hex value.

// Simon

More information about the openmoko-kernel mailing list