Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh-3.2# test_sensors
- Hardware module ID: sensors
- Hardware module Name: Motorola Sensors Module
- Hardware module Author: Motorola
- Hardware module API version: 0x1
- Hardware HAL API version: 0x0
- 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 8 sensors
- === Sensor 0 ==
- Name: 3-axis Accelerometer
- Vendor: Kionix
- Version: 0x1
- Handle: 0x1
- Type: 1
- maxRange: 78
- resolution: 0
- power: 0 mA
- minDelay: 10000
- === Sensor 1 ==
- Name: Ambient Light sensor
- Vendor: TAOS
- Version: 0x1
- Handle: 0x2
- Type: 5
- maxRange: 27000
- resolution: 1
- power: 0 mA
- minDelay: 0
- === Sensor 2 ==
- Name: Proximity sensor
- Vendor: TAOS
- Version: 0x1
- Handle: 0x3
- Type: 8
- maxRange: 100
- resolution: 100
- power: 3 mA
- minDelay: 0
- === Sensor 3 ==
- Name: Display Rotation sensor
- Vendor: Motorola
- Version: 0x1
- Handle: 0x4
- Type: 65536
- maxRange: 4
- resolution: 1
- power: 0 mA
- minDelay: 0
- === Sensor 4 ==
- Name: Flat Up
- Vendor: Motorola
- Version: 0x1
- Handle: 0x5
- Type: 65537
- maxRange: 1
- resolution: 1
- power: 0 mA
- minDelay: 0
- === Sensor 5 ==
- Name: Flat Down
- Vendor: Motorola
- Version: 0x1
- Handle: 0x6
- Type: 65538
- maxRange: 1
- resolution: 1
- power: 0 mA
- minDelay: 0
- === Sensor 6 ==
- Name: Stowed
- Vendor: Motorola
- Version: 0x1
- Handle: 0x7
- Type: 65539
- maxRange: 1
- resolution: 1
- power: 0 mA
- minDelay: 0
- === Sensor 7 ==
- Name: Camera Activation sensor
- Vendor: Motorola
- Version: 0x1
- Handle: 0x8
- Type: 65540
- maxRange: 1
- resolution: 1
- power: 0 mA
- minDelay: 0
- *** Error in `test_sensors': free(): invalid pointer: 0xb6b4508c ***
- Aborted
- sh-3.2#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement