Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bacon test_sensors
[root@Sailfish nemo]# test_sensors
Hardware module ID: sensors
Hardware module Name: QTI Sensors Module
Hardware module Author: Qualcomm Technologies, Inc.
Hardware module API version: 0x1
Hardware HAL API version: 0x100
Poll device version: 0x1030001
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 17 sensors
=== Sensor 0 ==
Name: Proximity
Vendor: QTI
Version: 0x1
Handle: 0x30
Type: 8
maxRange: 5
resolution: 5
power: 0 mA
minDelay: 0
=== Sensor 1 ==
Name: Gravity
Vendor: QTI
Version: 0x0
Handle: 0x1d
Type: 9
maxRange: 0
resolution: 0
power: 0 mA
minDelay: 1000000
=== Sensor 2 ==
Name: Linear Acceleration
Vendor: QTI
Version: 0x0
Handle: 0x1e
Type: 10
maxRange: 0
resolution: 0
power: 0 mA
minDelay: 1000000
=== Sensor 3 ==
Name: Step Detector
Vendor: QTI
Version: 0x0
Handle: 0x2b
Type: 18
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 4 ==
Name: Step Counter
Vendor: QTI
Version: 0x0
Handle: 0x2c
Type: 19
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 5 ==
Name: Significant Motion Detector
Vendor: QTI
Version: 0x0
Handle: 0x2f
Type: 17
maxRange: 1
resolution: 1
power: 0 mA
minDelay: -1
=== Sensor 6 ==
Name: Tilt Detector
Vendor: QTI
Version: 0x0
Handle: 0x37
Type: 22
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 7 ==
Name: AMD
Vendor: QTI
Version: 0x0
Handle: 0x21
Type: 33171006
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 8 ==
Name: RMD
Vendor: QTI
Version: 0x0
Handle: 0x22
Type: 33171007
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 9 ==
Name: VMD
Vendor: QTI
Version: 0x0
Handle: 0x23
Type: 33171008
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 10 ==
Name: Basic Gestures
Vendor: QTI
Version: 0x0
Handle: 0x25
Type: 33171000
maxRange: 7
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 11 ==
Name: Tap
Vendor: QTI
Version: 0x0
Handle: 0x26
Type: 33171001
maxRange: 6
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 12 ==
Name: Facing
Vendor: QTI
Version: 0x0
Handle: 0x27
Type: 33171002
maxRange: 3
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 13 ==
Name: Gyro Tap Secondary
Vendor: QTI
Version: 0x0
Handle: 0x29
Type: 33171001
maxRange: 6
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 14 ==
Name: Pedometer
Vendor: QTI
Version: 0x0
Handle: 0x2a
Type: 33171009
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 15 ==
Name: PEDESTRIAN-ACTIVITY-MONITOR
Vendor: QTI
Version: 0x0
Handle: 0x2d
Type: 33171010
maxRange: 65535
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 16 ==
Name: Motion Accel
Vendor: QTI
Version: 0x0
Handle: 0x2e
Type: 33171011
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 1000000
*** Error in `test_sensors': free(): invalid pointer: 0xb6d6a0a8 ***
Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.