On Oct 23, 10:47 pm, ajay <mna...@gmail.com> wrote: > hi, > thanks actully i wanted a guide to start with writing an acclerometer > driver for android.
No use reinventing the wheel. See sample accelerometer drivers done on OMAP already(in k.org or in android) and derive your work accordingly: Here is omap TI android kernel reference of the driver: http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/input/misc/cma3000_d0x.c;h=c99c7e87dfbb4c78d19f822278ba9055f1aef000;hb=p-android-omap-2.6.35 http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/input/misc/cma3000_d0x.h;h=7af3f4af5a72a8aced9608893909f89ece55c418;hb=p-android-omap-2.6.35 http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/input/misc/cma3000_d0x_i2c.c;h=41f845c196fb09f08d8ac174eef13f711f4dec4e;hb=p-android-omap-2.6.35 -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel