[PATCH 0/1]: Acceleration threshold configuration
Simon Kagstrom
simon.kagstrom at gmail.com
Sun Oct 12 20:52:44 CEST 2008
Howdy everyone!
Further accelerometer spamming. The patch in the next mail implements
an interface for setting a acceleration threshold for the input to keep
the freerunner-on-a-table quiet.
Some discussion points:
* I've based this on the bitbang-all-the-way-baby from the Andy branch.
My experiments with spi_async() have not been very successful - I'm
seeing missed interrupts just like with the "plain" workqueue
implementation, but in this case it's actually harder to loop until
the status is OK - the completion callback is called from a
workqueue, so submitting other stuff (with reg_read()) isn't
guaranteed to actually execute.
* This patch will break (the anyway non-working) acceleration wakeup
implementation. However, I'm thinking that we should just change that
to be set when the device is suspended anyway.
* I'd like some more testing of this patch!
* I'm slightly worried about the working hours for Andy, Werner and the
others, don't you have 40h weeks at Openmoko? :-)
(The last point *is* actually serious)
// Simon
More information about the openmoko-kernel
mailing list