Skip to content

Instantly share code, notes, and snippets.

@Spartaner25
Created February 4, 2017 11:53
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 Spartaner25/9a8a6b38767552d88b04ed4927e915fe to your computer and use it in GitHub Desktop.
Save Spartaner25/9a8a6b38767552d88b04ed4927e915fe to your computer and use it in GitHub Desktop.
OSS Sensors, stuck at inv_start_mpl
01-31 09:18:26.021 1660 2164 D SensorService: nuSensorService starting...
01-31 09:18:26.040 1660 2164 W linker : /system/lib/libmllite.so: unused DT entry: type 0xf arg 0x137b
01-31 09:18:26.050 1660 2164 V Sensors : HAL:MPLSensor constructor : numSensors = 7
01-31 09:18:26.050 1660 2164 V Sensors : HAL:sysfs:echo 1 > /sys/class/invensense/mpu/power_state (49985290490)
01-31 09:18:26.137 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/enable (50072434156)
01-31 09:18:26.137 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/gyro_fifo_enable (50072580823)
01-31 09:18:26.137 1660 2164 V Sensors : HAL:MPL:inv_gyro_was_turned_off
01-31 09:18:26.138 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/gyro_enable (50072679323)
01-31 09:18:26.185 431 1175 I ServiceManager: Waiting for service sensorservice...
01-31 09:18:26.205 1660 1711 I ServiceManager: Waiting for service sensorservice...
01-31 09:18:26.225 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/accl_fifo_enable (50160277323)
01-31 09:18:26.225 1660 2164 V Sensors : HAL:MPL:inv_accel_was_turned_off
01-31 09:18:26.225 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/accl_enable (50160407573)
01-31 09:18:26.325 1660 2164 V Sensors : HAL:Chip ID=MPU6500
01-31 09:18:26.325 1660 2164 I Sensors : path open /dev/input/event3
01-31 09:18:26.339 1660 2164 I Sensors : path open /dev/input/event0
01-31 09:18:26.349 1660 2164 I Sensors : path open /dev/input/event6
01-31 09:18:26.366 1660 2164 I Sensors : path open /dev/input/event5
01-31 09:18:26.379 1660 2164 I Sensors : path open /dev/input/event4
01-31 09:18:26.379 1660 2164 V Sensors : HAL:Gyro mpu_int_fd MPU6500 opened : 54
01-31 09:18:26.379 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/gyro_fifo_enable (50314083740)
01-31 09:18:26.379 1660 2164 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/accl_fifo_enable (50314158323)
01-31 09:18:26.379 1660 2164 V Sensors : HAL:gyro temperature path: /sys/class/invensense/mpu/temperature
01-31 09:18:26.379 1660 2164 V Sensors : HAL:temperature_fd opened: /sys/class/invensense/mpu/temperature
01-31 09:18:26.379 1660 2164 V Sensors : HAL:sysfs:cat /sys/class/invensense/mpu/temp_scale (50314261490)
01-31 09:18:26.379 1660 2164 V Sensors : HAL:Temparature scale used 340
01-31 09:18:26.379 1660 2164 V Sensors : HAL:sysfs:cat /sys/class/invensense/mpu/temp_offset (50314326490)
01-31 09:18:26.379 1660 2164 V Sensors : HAL:Temperature offset used -521
01-31 09:18:26.379 1660 2164 V Sensors : HAL:sysfs:cat /sys/class/invensense/mpu/accl_fs (50314388406)
01-31 09:18:26.379 1660 2164 V Sensors : HAL:Accel FSR used 16
01-31 09:18:26.380 1660 2164 V Sensors : Set accelerometer low power polling to 0us
01-31 09:18:26.380 1660 2164 I Sensors : InvenSense MPL 5.0.3
01-31 09:18:26.381 1660 2164 E : ../../../../../software/core/mllite/mpl.c|inv_start_mpl|66 returning 22
01-31 09:18:26.381 1660 2164 E Sensors : HAL:inv_start_mpl() failed
01-31 09:18:26.381 1660 2164 E : device/quanta/fg6q/sensors/MPLSensor.cpp|int MPLSensor::inv_constructor_init()|391 returning 22
01-31 09:18:26.381 1660 2164 I MPL-storeload: /data/inv_cal_data.bin size = 5116
01-31 09:18:26.382 1660 2164 I MPL-storeload: Bytes read = 5116
01-31 09:18:26.382 1660 2164 V Sensors : HAL:Calibration file successfully loaded
01-31 09:18:26.382 1660 2164 V Sensors : HAL:sysfs:cat /sys/class/invensense/mpu/gyro_matrix (50317200323)
01-31 09:18:26.382 1660 2164 V Sensors : HAL:gyro mounting matrix: +0 -1 +0 +1 +0 +0 +0 +0 +1
01-31 09:18:26.382 1660 2164 V Sensors : HAL:sysfs:cat /sys/class/invensense/mpu/accl_matrix (50317293156)
01-31 09:18:26.382 1660 2164 V Sensors : HAL:accel mounting matrix: +0 -1 +0 +1 +0 +0 +0 +0 +1
01-31 09:18:26.382 1660 2164 V Sensors : HAL:sysfs:echo 1 > /sys/class/invensense/mpu/enable (50317385990)
01-31 09:18:26.430 1660 2164 V Sensors : MPLSensor::getFd returning 54
01-31 09:18:26.430 1660 2164 I Sensors : path open /dev/input/event3
01-31 09:18:26.436 1660 2164 I Sensors : path open /dev/input/event0
01-31 09:18:26.444 1660 2164 I Sensors : path open /dev/input/event6
01-31 09:18:26.453 1660 2164 I Sensors : path open /dev/input/event5
01-31 09:18:26.461 1660 2164 I Sensors : path open /dev/input/event4
01-31 09:18:26.466 1660 2164 I Sensors : path open /dev/input/event2
01-31 09:18:26.474 1660 2164 I Sensors : path open /dev/input/event1
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor RotationVector (handle 4) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor LinearAccel (handle 5) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor Gravity (handle 6) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor Gyro (handle 0) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor Accelerometer (handle 1) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor MagneticField (handle 2) dis -> dis
01-31 09:18:26.474 1660 2164 V Sensors : HAL:enable - sensor Orientation (handle 3) dis -> dis
01-31 09:18:26.475 1660 2164 I : System server: sensor init done.
01-31 09:18:26.475 1660 2181 D SensorService: nuSensorService thread starting...
01-31 09:18:26.476 1660 2180 D SensorService: new thread SensorEventAckReceiver
01-31 09:18:27.186 1660 1707 V Sensors : HAL:enable - sensor Accelerometer (handle 1) dis -> en
01-31 09:18:27.186 1660 1707 V Sensors : HAL:Accelerometer sensor state change what=1
01-31 09:18:27.186 1660 1707 V Sensors : HAL:handle = 1
01-31 09:18:27.186 1660 1707 V Sensors : HAL:flags = 1
01-31 09:18:27.186 1660 1707 V Sensors : HAL:enable : mEnabled = 2
01-31 09:18:27.186 1660 1707 V Sensors : HAL:sen_mask= 0x70
01-31 09:18:27.186 1660 1707 V Sensors : HAL:enableSensors - sensors: 0x70
01-31 09:18:27.186 1660 1707 V Sensors : HAL:enableSensors - disable gyro
01-31 09:18:27.186 1660 1707 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/gyro_fifo_enable (51121198906)
01-31 09:18:27.186 1660 1707 E Sensors : HAL:write fd 69 returned 'Operation not permitted' (1)
01-31 09:18:27.186 1660 1707 E Sensors : HAL:enable gyro failed
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL:inv_gyro_was_turned_off
01-31 09:18:27.186 1660 1707 V Sensors : HAL:sysfs:echo 0 > /sys/class/invensense/mpu/gyro_enable (51121318740)
01-31 09:18:27.186 1660 1707 E Sensors : HAL:write fd 69 returned 'Operation not permitted' (1)
01-31 09:18:27.186 1660 1707 V Sensors : setDelay : 20000000 ns, (50.00 Hz)
01-31 09:18:27.186 1660 1707 V Sensors : HAL:wanted rate for all sensors : 20000000 ns, mpl rate: 20000 us, (50.00 Hz)
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL gyro sample rate: 20000
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL accel sample rate: 20000
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL compass sample rate: 20000
01-31 09:18:27.186 1660 1707 E Sensors : int MPLSensor::writeAccelFifoRate(uint64_t) ERR setting /sys/class/invensense/mpu/accl_delay to 20000us
01-31 09:18:27.186 1660 1707 V Sensors : setDelay : 20000000 ns, (50.00 Hz)
01-31 09:18:27.186 1660 1707 V Sensors : HAL:wanted rate for all sensors : 20000000 ns, mpl rate: 20000 us, (50.00 Hz)
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL gyro sample rate: 20000
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL accel sample rate: 20000
01-31 09:18:27.186 1660 1707 V Sensors : HAL:MPL compass sample rate: 20000
01-31 09:18:27.186 1660 1707 E Sensors : int MPLSensor::writeAccelFifoRate(uint64_t) ERR setting /sys/class/invensense/mpu/accl_delay to 20000us
01-31 09:18:27.189 1660 1708 V Sensors : setDelay : 100000000 ns, (10.00 Hz)
01-31 09:18:27.189 1660 1708 V Sensors : HAL:wanted rate for all sensors : 100000000 ns, mpl rate: 100000 us, (10.00 Hz)
01-31 09:18:27.189 1660 1708 V Sensors : HAL:MPL gyro sample rate: 100000
01-31 09:18:27.189 1660 1708 V Sensors : HAL:MPL accel sample rate: 100000
01-31 09:18:27.189 1660 1708 V Sensors : HAL:MPL compass sample rate: 100000
01-31 09:18:27.189 1660 1708 E Sensors : int MPLSensor::writeAccelFifoRate(uint64_t) ERR setting /sys/class/invensense/mpu/accl_delay to 100000us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment