And don't forget the Android sensor HAL for connecting the driver to the framework I know this is not the device driver but the driver will not work in the system without this code either.
Sample is here http://git.omapzoom.org/?p=device/ti/blaze.git;a=blob;f=sensors/sensors.c;h=85baf13ed32a491c48e93f9f54ee76dc25bd5ef9;hb=refs/heads/froyo On Oct 24, 8:25 pm, Vikram <vikrampand...@gmail.com> wrote: > 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/mis... > > http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/input/mis... > > http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/input/mis... -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel