Hi,
I am having custom board with fxos8700 sensor. Sensor is getting probed successfully. Also using i2c-tools i am getting data from sensor. But i could not find sensor entry under /dev/input/eventX of linux. I can see /dev/FreescaleAccelerometer entry.
What could be reason for this?? Also are there any applications (games) through which i can verify accelerometer data??
Thanks,
Prathamesh
Hi David,
Thanks for the reply. I am not using android platform. I am working on ubuntu core system.
I have gone through the driver you have shared, it looks different than the one which i have in my linux kernel.
I am using 3.14.52 kernel.
Thanks,
Prathamesh
Hi,
You can use the evtest application for testing the senor.
Maybe it's necessary to enable the sensor, for example enabling FXOS8700 on the i.MX7D SabreSD board:
$ echo 1 > /sys/devices/virtual/misc/FreescaleAccelerometer/enable
$ echo 1 > /sys/devices/virtual/misc/FreescaleMagnetometer/enable
Best regards,
Breno Lima
Hi Breno,
Thanks for your reply. But i do not have FreescaleAccelerometer under /sys/devices/virtual/misc/ path.
Do you know wt could be the reason?
Thanks,
Prathamesh
Hi,
Are you using the driver located at drivers/misc/fxos8700.c? Check if it's enabled in kernel menuconfig and also your dts file.
Maybe the following commits can help:
linux-imx.git - i.MX Linux Kernel
linux-imx.git - i.MX Linux Kernel
Regards,
Breno Lima