Skip to content

Instantly share code, notes, and snippets.

@Demon000
Created September 8, 2017 09:22
Show Gist options
  • Save Demon000/9f01a8b9ff761403df33f6096ccea38d to your computer and use it in GitHub Desktop.
Save Demon000/9f01a8b9ff761403df33f6096ccea38d to your computer and use it in GitHub Desktop.
DUMP OF SERVICE sensorservice:
Sensor Device:
Total 31 h/w sensors, 31 running:
0x00000001) active-count = 1; sampling_period(ms) = {20.0}, selected = 20.00 ms; batching_period(ms) = {2147483.8}, selected = 2147483.75 ms
Sensor List:
0x00000001) LSM6DB0 Accelerometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.accelerometer(1) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (1024, 0) events | non-wakeUp |
0x00000002) LSM6DB0 Magnetometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.magnetic_field(2) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (910, 0) events | non-wakeUp |
0x00000003) LSM6DB0 Magnetometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.magnetic_field_uncalibrated(14) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | non-wakeUp |
0x00000004) LSM6DB0 Gyroscope Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gyroscope(4) | perm: n/a
continuous | minRate=5.00Hz | maxRate=200.00Hz | FIFO (max,reserved) = (1024, 0) events | non-wakeUp |
0x00000005) LSM6DB0 Gyroscope Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gyroscope_uncalibrated(16) | perm: n/a
continuous | minRate=5.00Hz | maxRate=200.00Hz | FIFO (max,reserved) = (585, 0) events | non-wakeUp |
0x00000006) LSM6DB0 Significant Motion Sensor | STMicroelectronics | ver: 1 | type: android.sensor.significant_motion(17) | perm: n/a
one-shot | maxDelay=0us | minDelay=-1us | no batching | wakeUp |
0x00000007) LSM6DB0 iNemoEngine Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.rotation_vector(11) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | non-wakeUp |
0x00000008) LSM6DB0 iNemoEngine Game Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.game_rotation_vector(15) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | non-wakeUp |
0x00000009) LSM6DB0 Step Detector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.step_detector(18) | perm: n/a
special-trigger | maxDelay=0us | minDelay=0us | FIFO (max,reserved) = (1365, 0) events | non-wakeUp |
0x0000000a) LSM6DB0 iNemoEngine Orientation Sensor | STMicroelectronics | ver: 1 | type: android.sensor.orientation(3) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (546, 0) events | non-wakeUp |
0x0000000b) LSM6DB0 iNemoEngine Linear Acceleration Sensor | STMicroelectronics | ver: 1 | type: android.sensor.linear_acceleration(10) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | non-wakeUp |
0x0000000c) LSM6DB0 iNemoEngine Gravity Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gravity(9) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | non-wakeUp |
0x0000000d) LSM6DB0 Step Counter Sensor | STMicroelectronics | ver: 1 | type: android.sensor.step_counter(19) | perm: n/a
on-change | maxDelay=0us | minDelay=0us | FIFO (max,reserved) = (1024, 0) events | non-wakeUp |
0x0000000e) LSM6DB0 iNemoEngine GeoMagnetic Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.geomagnetic_rotation_vector(20) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | non-wakeUp |
0x0000000f) LSM6DB0 Activity Sensor | STMicroelectronics | ver: 1 | type: com.st.activity(65539) | perm: n/a
on-change | maxDelay=0us | minDelay=0us | FIFO (max,reserved) = (1365, 0) events | non-wakeUp |
0x00000010) LSM6DB0 Tilt Sensor | STMicroelectronics | ver: 1 | type: android.sensor.tilt_detector(22) | perm: n/a
special-trigger | maxDelay=0us | minDelay=0us | no batching | wakeUp |
0x00000011) LSM6DB0 Accelerometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.accelerometer(1) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (1024, 0) events | wakeUp |
0x00000012) LSM6DB0 Magnetometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.magnetic_field(2) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (910, 0) events | wakeUp |
0x00000013) LSM6DB0 Magnetometer Sensor | STMicroelectronics | ver: 1 | type: android.sensor.magnetic_field_uncalibrated(14) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | wakeUp |
0x00000014) LSM6DB0 Gyroscope Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gyroscope(4) | perm: n/a
continuous | minRate=5.00Hz | maxRate=200.00Hz | FIFO (max,reserved) = (1024, 0) events | wakeUp |
0x00000015) LSM6DB0 Gyroscope Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gyroscope_uncalibrated(16) | perm: n/a
continuous | minRate=5.00Hz | maxRate=200.00Hz | FIFO (max,reserved) = (585, 0) events | wakeUp |
0x00000016) LSM6DB0 iNemoEngine Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.rotation_vector(11) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | wakeUp |
0x00000017) LSM6DB0 iNemoEngine Game Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.game_rotation_vector(15) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | wakeUp |
0x00000018) LSM6DB0 Step Detector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.step_detector(18) | perm: n/a
special-trigger | maxDelay=0us | minDelay=0us | FIFO (max,reserved) = (1365, 0) events | wakeUp |
0x00000019) LSM6DB0 iNemoEngine Orientation Sensor | STMicroelectronics | ver: 1 | type: android.sensor.orientation(3) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (546, 0) events | wakeUp |
0x0000001a) LSM6DB0 iNemoEngine Linear Acceleration Sensor | STMicroelectronics | ver: 1 | type: android.sensor.linear_acceleration(10) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | wakeUp |
0x0000001b) LSM6DB0 iNemoEngine Gravity Sensor | STMicroelectronics | ver: 1 | type: android.sensor.gravity(9) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (585, 0) events | wakeUp |
0x0000001c) LSM6DB0 Step Counter Sensor | STMicroelectronics | ver: 1 | type: android.sensor.step_counter(19) | perm: n/a
on-change | maxDelay=0us | minDelay=0us | FIFO (max,reserved) = (1024, 0) events | wakeUp |
0x0000001d) LSM6DB0 iNemoEngine GeoMagnetic Rotation Vector Sensor | STMicroelectronics | ver: 1 | type: android.sensor.geomagnetic_rotation_vector(20) | perm: n/a
continuous | minRate=5.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (431, 0) events | wakeUp |
0x0000001e) Ambient Light Sensor | Capella | ver: 1 | type: android.sensor.light(5) | perm: n/a
on-change | minRate=170.01Hz | maxRate=170.01Hz | no batching | non-wakeUp |
0x0000001f) Proximity Sensor | Capella | ver: 1 | type: android.sensor.proximity(8) | perm: n/a
on-change | minRate=100.00Hz | maxRate=100.00Hz | no batching | wakeUp |
0x5f636779) Corrected Gyroscope Sensor | AOSP | ver: 1 | type: android.sensor.gyroscope(4) | perm: n/a
continuous | maxDelay=0us | maxRate=200.00Hz | no batching | non-wakeUp |
0x5f676172) Game Rotation Vector Sensor | AOSP | ver: 3 | type: android.sensor.game_rotation_vector(15) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f676273) Gyroscope Bias (debug) | AOSP | ver: 1 | type: android.sensor.accelerometer(1) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f67656f) GeoMag Rotation Vector Sensor | AOSP | ver: 3 | type: android.sensor.geomagnetic_rotation_vector(20) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f677276) Gravity Sensor | AOSP | ver: 3 | type: android.sensor.gravity(9) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f6c696e) Linear Acceleration Sensor | AOSP | ver: 3 | type: android.sensor.linear_acceleration(10) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f726f76) Rotation Vector Sensor | AOSP | ver: 3 | type: android.sensor.rotation_vector(11) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
0x5f797072) Orientation Sensor | AOSP | ver: 1 | type: android.sensor.orientation(3) | perm: n/a
continuous | maxDelay=0us | maxRate=100.00Hz | no batching | non-wakeUp |
Fusion States:
9-axis fusion disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 >
game fusion(no mag) disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 >
geomag fusion (no gyro) disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 >
Recent Sensor events:
Proximity Sensor: last 5 events
1 (ts=156.328115460, wall=12:08:31.731) 5.00, 0.00, 0.00,
2 (ts=171.092081599, wall=12:08:47.584) 5.00, 0.00, 0.00,
3 (ts=190.884088831, wall=12:09:07.333) 5.00, 0.00, 0.00,
4 (ts=800.176047296, wall=12:19:16.396) 5.00, 0.00, 0.00,
5 (ts=832.292494315, wall=12:19:48.513) 5.00, 0.00, 0.00,
LSM6DB0 iNemoEngine Gravity Sensor: last 10 events
1 (ts=106.220280791, wall=12:07:41.666) 0.00, 0.00, 0.00,
2 (ts=106.260174125, wall=12:07:41.666) 0.00, 0.00, 0.00,
3 (ts=106.740165739, wall=12:07:42.144) -0.44, -0.22, 9.79,
4 (ts=106.820289802, wall=12:07:42.266) -0.44, -0.22, 9.79,
5 (ts=106.860170947, wall=12:07:42.266) -0.45, -0.21, 9.79,
6 (ts=155.052171971, wall=12:08:30.536) -0.48, -0.19, 9.79,
7 (ts=155.132268429, wall=12:08:30.536) -0.48, -0.19, 9.79,
8 (ts=155.172196085, wall=12:08:30.660) -0.49, -0.19, 9.79,
9 (ts=155.212392439, wall=12:08:30.660) -0.41, -0.22, 9.80,
10 (ts=155.252161762, wall=12:08:30.660) -0.45, -0.21, 9.79,
LSM6DB0 Significant Motion Sensor: last 1 events
1 (ts=833.828970460, wall=12:19:50.095) 1.00,
LSM6DB0 Accelerometer Sensor: last 50 events
1 (ts=863.229657480, wall=12:20:19.450) -0.28, -0.20, 9.75,
2 (ts=863.249734980, wall=12:20:19.470) -0.27, -0.19, 9.79,
3 (ts=863.269813313, wall=12:20:19.490) -0.28, -0.19, 9.76,
4 (ts=863.289883313, wall=12:20:19.510) -0.27, -0.18, 9.77,
5 (ts=863.309967740, wall=12:20:19.531) -0.30, -0.19, 9.78,
6 (ts=863.330041803, wall=12:20:19.551) -0.29, -0.19, 9.77,
7 (ts=863.350117271, wall=12:20:19.571) -0.28, -0.19, 9.77,
8 (ts=863.370193678, wall=12:20:19.591) -0.28, -0.19, 9.77,
9 (ts=863.390270917, wall=12:20:19.611) -0.28, -0.19, 9.79,
10 (ts=863.410349094, wall=12:20:19.631) -0.27, -0.19, 9.75,
11 (ts=863.430418573, wall=12:20:19.651) -0.27, -0.21, 9.77,
12 (ts=863.450496855, wall=12:20:19.671) -0.27, -0.20, 9.77,
13 (ts=863.470583105, wall=12:20:19.691) -0.28, -0.20, 9.77,
14 (ts=863.490655448, wall=12:20:19.711) -0.28, -0.20, 9.77,
15 (ts=863.510730292, wall=12:20:19.731) -0.30, -0.19, 9.77,
16 (ts=863.530803990, wall=12:20:19.751) -0.30, -0.18, 9.77,
17 (ts=863.550881490, wall=12:20:19.771) -0.28, -0.19, 9.78,
18 (ts=863.570956334, wall=12:20:19.791) -0.28, -0.19, 9.76,
19 (ts=863.591034823, wall=12:20:19.812) -0.28, -0.19, 9.77,
20 (ts=863.611109719, wall=12:20:19.832) -0.29, -0.20, 9.76,
21 (ts=863.631188938, wall=12:20:19.852) -0.28, -0.20, 9.77,
22 (ts=863.651263000, wall=12:20:19.872) -0.29, -0.20, 9.79,
23 (ts=863.671343053, wall=12:20:19.892) -0.27, -0.18, 9.76,
24 (ts=863.691426021, wall=12:20:19.914) -0.29, -0.19, 9.77,
25 (ts=863.711501959, wall=12:20:19.932) -0.30, -0.19, 9.76,
26 (ts=863.731577948, wall=12:20:19.952) -0.30, -0.19, 9.78,
27 (ts=863.751653625, wall=12:20:19.972) -0.30, -0.19, 9.74,
28 (ts=863.771732792, wall=12:20:19.992) -0.30, -0.18, 9.76,
29 (ts=863.791808678, wall=12:20:20.012) -0.28, -0.20, 9.78,
30 (ts=863.811886750, wall=12:20:20.032) -0.27, -0.22, 9.77,
31 (ts=863.831954355, wall=12:20:20.052) -0.28, -0.21, 9.77,
32 (ts=863.852029823, wall=12:20:20.072) -0.27, -0.20, 9.75,
33 (ts=863.872109927, wall=12:20:20.093) -0.26, -0.18, 9.74,
34 (ts=863.892187688, wall=12:20:20.112) -0.27, -0.18, 9.77,
35 (ts=863.912270761, wall=12:20:20.133) -0.28, -0.19, 9.76,
36 (ts=863.932344146, wall=12:20:20.153) -0.29, -0.17, 9.79,
37 (ts=863.952422948, wall=12:20:20.174) -0.30, -0.20, 9.81,
38 (ts=863.972496855, wall=12:20:20.193) -0.28, -0.19, 9.79,
39 (ts=863.992571646, wall=12:20:20.213) -0.27, -0.20, 9.77,
40 (ts=864.012651594, wall=12:20:20.233) -0.27, -0.20, 9.77,
41 (ts=864.032727636, wall=12:20:20.254) -0.28, -0.20, 9.76,
42 (ts=864.052804511, wall=12:20:20.274) -0.27, -0.20, 9.78,
43 (ts=864.072881594, wall=12:20:20.294) -0.29, -0.18, 9.76,
44 (ts=864.092963729, wall=12:20:20.314) -0.29, -0.19, 9.79,
45 (ts=864.113039459, wall=12:20:20.334) -0.29, -0.19, 9.77,
46 (ts=864.133127427, wall=12:20:20.354) -0.30, -0.18, 9.76,
47 (ts=864.153196750, wall=12:20:20.374) -0.28, -0.20, 9.78,
48 (ts=864.173280292, wall=12:20:20.397) -0.29, -0.18, 9.76,
49 (ts=864.193356802, wall=12:20:20.414) -0.27, -0.18, 9.77,
50 (ts=864.213429250, wall=12:20:20.434) -0.27, -0.20, 9.77,
Active sensors:
LSM6DB0 Accelerometer Sensor (handle=0x00000001, connections=1)
Socket Buffer size = 984 events
WakeLock Status: not held
Mode : NORMAL
1 active connections
Connection Number: 0
Operating Mode: NORMAL
ando | WakeLockRefCount 0 | uid 10026 | cache size 0 | max cache size 0
LSM6DB0 Accelerometer Sensor 0x00000001 | status: First flush pending | pending flush events 0
0 direct connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment