wiktorek140

Untitled

Aug 14th, 2018
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sh-3.2# test_sensors
  2. Hardware module ID: sensors
  3. Hardware module Name: Motorola Sensors Module
  4. Hardware module Author: Motorola
  5. Hardware module API version: 0x1
  6. Hardware HAL API version: 0x0
  7. Poll device version: 0x1030001
  8. API VERSION 0.1 (legacy): 0x1
  9. API VERSION 0.1: 0x65537
  10. API VERSION 1.0: 0x16777217
  11. API VERSION 1.1: 0x16842753
  12. API VERSION 1.2: 0x16908289
  13. API VERSION 1.3: 0x16973825
  14. Got 8 sensors
  15. === Sensor 0 ==
  16. Name: 3-axis Accelerometer
  17. Vendor: Kionix
  18. Version: 0x1
  19. Handle: 0x1
  20. Type: 1
  21. maxRange: 78
  22. resolution: 0
  23. power: 0 mA
  24. minDelay: 10000
  25.  
  26.  
  27.  
  28. === Sensor 1 ==
  29. Name: Ambient Light sensor
  30. Vendor: TAOS
  31. Version: 0x1
  32. Handle: 0x2
  33. Type: 5
  34. maxRange: 27000
  35. resolution: 1
  36. power: 0 mA
  37. minDelay: 0
  38.  
  39.  
  40.  
  41. === Sensor 2 ==
  42. Name: Proximity sensor
  43. Vendor: TAOS
  44. Version: 0x1
  45. Handle: 0x3
  46. Type: 8
  47. maxRange: 100
  48. resolution: 100
  49. power: 3 mA
  50. minDelay: 0
  51.  
  52.  
  53.  
  54. === Sensor 3 ==
  55. Name: Display Rotation sensor
  56. Vendor: Motorola
  57. Version: 0x1
  58. Handle: 0x4
  59. Type: 65536
  60. maxRange: 4
  61. resolution: 1
  62. power: 0 mA
  63. minDelay: 0
  64.  
  65.  
  66.  
  67. === Sensor 4 ==
  68. Name: Flat Up
  69. Vendor: Motorola
  70. Version: 0x1
  71. Handle: 0x5
  72. Type: 65537
  73. maxRange: 1
  74. resolution: 1
  75. power: 0 mA
  76. minDelay: 0
  77.  
  78.  
  79.  
  80. === Sensor 5 ==
  81. Name: Flat Down
  82. Vendor: Motorola
  83. Version: 0x1
  84. Handle: 0x6
  85. Type: 65538
  86. maxRange: 1
  87. resolution: 1
  88. power: 0 mA
  89. minDelay: 0
  90.  
  91.  
  92.  
  93. === Sensor 6 ==
  94. Name: Stowed
  95. Vendor: Motorola
  96. Version: 0x1
  97. Handle: 0x7
  98. Type: 65539
  99. maxRange: 1
  100. resolution: 1
  101. power: 0 mA
  102. minDelay: 0
  103.  
  104.  
  105.  
  106. === Sensor 7 ==
  107. Name: Camera Activation sensor
  108. Vendor: Motorola
  109. Version: 0x1
  110. Handle: 0x8
  111. Type: 65540
  112. maxRange: 1
  113. resolution: 1
  114. power: 0 mA
  115. minDelay: 0
  116.  
  117.  
  118.  
  119. *** Error in `test_sensors': free(): invalid pointer: 0xb6b4508c ***
  120. Aborted
  121. sh-3.2#
RAW Paste Data