Hi David,
Thanks for replying.
I have already tried what you have suggested. Driver mma8451 working fine
for embedded linux(yocto) but for android only event is generating which we
can see using “getevent ” command. I have a sensors.default.so in
/system/lib/hw and libsensorservice.so in /system/lib. Any file i am missing
in android so that android screen is not rotating from landscape to portrait
and vice versa. If possible can you share how the information pass from
mma8451 to user space and what files are required in android to pass event
of accelerometer sensor.
Regards
Rahul Thakre| Software Developer