Skip to content

Instantly share code, notes, and snippets.

@r0kk3rz
Created December 23, 2016 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r0kk3rz/21e2d78db9394ba5afe2cb427b0472a7 to your computer and use it in GitHub Desktop.
Save r0kk3rz/21e2d78db9394ba5afe2cb427b0472a7 to your computer and use it in GitHub Desktop.
[root@Sailfish lib]# test_sensors
Hardware module ID: sensors
Hardware module Name: Qualcomm Sensors Module
Hardware module Author: Qualcomm Technologies, Inc.
Hardware module API version: 0x1
Hardware HAL API version: 0x100
Poll device version: 0x1010001
API VERSION 0.1 (legacy): 0x1
API VERSION 0.1: 0x65537
API VERSION 1.0: 0x16777217
API VERSION 1.1: 0x16842753
API VERSION 1.2: 0x16908289
API VERSION 1.3: 0x16973825
Got 5 sensors
=== Sensor 0 ==
Name: Gravity
Vendor: Qualcomm
Version: 0x1
Handle: 0x10
Type: 9
maxRange: 0
resolution: 0
power: 0 mA
minDelay: 16666
=== Sensor 1 ==
Name: Linear Acceleration
Vendor: Qualcomm
Version: 0x1
Handle: 0x11
Type: 10
maxRange: 0
resolution: 0
power: 0 mA
minDelay: 16666
=== Sensor 2 ==
Name: Step Detector
Vendor: Qualcomm
Version: 0x1
Handle: 0x1e
Type: 18
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 3 ==
Name: Step Counter
Vendor: Qualcomm
Version: 0x1
Handle: 0x1f
Type: 19
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 4 ==
Name: Significant Motion Detector
Vendor: Sony
Version: 0x1
Handle: 0x22
Type: 17
maxRange: 1
resolution: 1
power: 0 mA
minDelay: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment