title: Cannot find sensor data in /sys/class/input or getevent in android using adb
body: <p>I am trying to capture the events generated by accelerometer and gyroscope sensors and put them into a log file. But I am not able to see any events for them. Only 6 events are being shown, but none is for these sensors.
  <a href="https://i.stack.imgur.com/YcMP7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YcMP7.png" alt="enter image description here"></a></p>
  
  <p>getevent is showing these values. I also checked inside sys/class/input which shows the same thing
  <a href="https://i.stack.imgur.com/aZe9z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aZe9z.png" alt="enter image description here"></a></p>
  
  <p>The /sys/class don't have any sensors directory as such for my mobile.
  So where can I look for the sensor data in sysfs or devfs?</p>