• Home
  • History
  • Annotate
  • only in /hardware/invensense/mlsdk/
History log of /hardware/invensense/mlsdk/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
425eccbf15c25c32cf073595d25ff50e51570c1b 10-Nov-2011 Rosa chow <rchow@invensense.com> Fix for sensor rate not updating correctly
Gyro sensor rate is not correct if accel is enabled, change sensor rate,
then enable gyro sensor.
.

Change-Id: I398bba660b34ed404a2ec156ad1f1a02dd6ed522
llite/ml.c
llite/mlFIFO.c
76c7c028ba3f0eeb17b7cf4709883ace0ffc83c5 15-Oct-2011 Jinkyu Song <jksong@sta.samsung.com> SensorHAL: Reset compass calibration

If compass calibration is not achieved for 10 seconds,
it starts over the whole calibration process.

Change-Id: Id362542985b464d10c99fa49ca465b1892ea5c5a
Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
llite/mlsupervisor.c
7f7785f89f4e04c27f0bb6cb11776778305f3c39 14-Oct-2011 Rosa Chow <rchow@invensense.com> SensorHAL: Handle the error flag for overflow or underflow

Invensense libmllite needs to be notified when either overflow or underflow
happens in raw values.
When HAL requires to measure hardware offset, coil init will be triggered.

Change-Id: I9076b3928ae5a26230ddd308c3a238a4721c1f87
llite/compass.c
llite/ml.h
llite/mlsupervisor.c
cd931d9a9454c53696036f523351719e94573b7c 12-Oct-2011 Jinkyu Song <jksong@sta.samsung.com> SensorHAL: Updated filter parameters for compass sensor

Filter parameters for the latest daughter board (Rev 0.7) have been applied.

Change-Id: I3b9936e68b6fff89c16cf029472ee3e353a8eb47
Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
llite/compass.h
99c9f115df32fd0c07cf097a31ad20706c5ec9b3 11-Oct-2011 Rosa Chow <rchow@invensense.com> Fixed problem with compass not calibrating without Gyro.
Previously, when loading a corrupted cal.bin file, compass
cannot calibrate at all without gyro turned on.
With this patch, compass calibrates within 2-5 seconds on the HSPA phone.

Change-Id: I42fba9277cb0886dc2dadfac7e502c4b48060129
llite/compass.c
llite/ml_stored_data.c
6592bab27cb76037a6f45498553c2392a49725e4 11-Oct-2011 Rosa Chow <rchow@invensense.com> Fixed verbose messages
'Actual ODR:' taken out.

Change-Id: I1e2dd99785ac95a02d44ac70ef3bafcae0eb212c
llite/mlFIFO.c
3e1893ee9f0c84d623fd4a1ec3fc01a5354f8cc2 01-Oct-2011 Mathias Agopian <mathias@google.com> Apply compass filter only on devices that need it

wether the filter is applied is defined in BoardConfig.mk

Change-Id: I32eedb82e7b42c8a7adc44352d981dca9ce6a986
ndroid.mk
llite/mlsupervisor.c
72c94288af64445c0d97a831c1aca6b73984a2a8 26-Sep-2011 Rosa Chow <rchow@invensense.com> Integrate Noise Filter Providied by Yamaha

This patch contains a software filter to reduce compass noise observed in LTE devices.
A new set of filter parameters provided by Yamaha has been applied.
A median filter has replaced the lowpass filter.
Filter parameters for Rev 0.2 daughter board have been applied.

Signed-off-by: Rosa Chow <rchow@invensense.com>
Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>

Change-Id: I1662ce146373d302e2af50d0d9708d904c188560
llite/compass.c
llite/compass.h
llite/mlsupervisor.c
be6c0220038706c329ea7e40bf07b1fa130977c8 09-Sep-2011 Rosa <rchow@invensense.com> Fix various issues with the sensor HAL

This commit fixes the following reported issues:
1) there are a lot of LOG spew
Silent Poll__setDelay and Poll__activiate LOG spew.
Changed "setDelay handle" to LOGD instead of of LOGE.

2) Gyro HAL reports a resolution of 0.28 rad/s, that is 16 deg/s. That seems wrong.
It appears the previous values we used was under the most sensitive settings, the new value is using an average setting instead.

3) The orientation sensor reports a name of "MPL Orientation (android deprecated format)". Please remove the "android deprecated format"
from the name.
Removed "android deprecated format"

4) MPL linear accel reports a max range of 10240.0 m/s^2. This seems wrong (that 1000+ Gs!!) Please rename to "MPL Linear Acceleration" (accel is not a word).
It appears that the dynamic sensor list does not recognize the accel id (or compass id) that were passed, causing the system to always read the initialized value. This is now fixed.
Renamed to MPL Linear Acceleration and MPL labels to be more humanly readable.

5) Fix for more accurate time stamps. This is a small subset of what we committed to Rocky's team and Kevin felt it was an easy change.
Instead of using system time stamp, the fix is to retrive timestamp directly from the driver when an IRQ is fired.

Change-Id: I8cfbd7cdecbd2e25613204ec1013e6079de97f37
llite/mldl_cfg_mpu.c
6d91ec48ca00591fbc07aee2853f242a93663ac8 12-Jul-2011 Kevin Powell <kpowell@invensense.com> update compass accuracy output when using default.

also correct problem with resetting default cal.
llite/mlsupervisor.c
c03325338444819ab2a129b94d9c982644624e47 30-Jul-2011 Kevin Powell <kpowell@invensense.com> merge fix for inv_get_accel_bias_float

Change-Id: If54592a18e507761430ba597fbb1e11c960a02a6
llite/mlarray.c
147e22fb3558b13baed2b0fcf0b5a25f8bcf540b 30-Jul-2011 Kevin Powell <kpowell@invensense.com> handle yas530 offsets and stored cal better.

yas530 has offset registers that need to be persisted along with any
compass bias information. These changes, along with the associated
kernel update make that possible. Note that this change breaks
compatibility with previous versions of libmpl.so.

Change-Id: I2e4e6e0cf6330397f0a9e2e0536ff00dcc6d7a3a
llite/compass.c
llite/compass.h
llite/ml.c
llite/ml.h
llite/ml_stored_data.c
llite/ml_stored_data.h
latform/include/linux/mpu.h
42331858975144405f95243be8427084ee7d478d 01-Aug-2011 Jean-Baptiste Queru <jbq@google.com> Invensense sensor code, moved to the open-source side

Change-Id: I616c13fdbc2235e400660f6f7a97f879b30879fc
ndroid.mk
llite/accel.c
llite/accel.h
llite/compass.c
llite/compass.h
llite/dmpDefault.c
llite/dmpDefault.h
llite/dmpDefaultMantis.c
llite/dmpKey.h
llite/dmpconfig.txt
llite/dmpmap.h
llite/invensense.h
llite/ml.c
llite/ml.h
llite/mlBiasNoMotion.c
llite/mlBiasNoMotion.h
llite/mlFIFO.c
llite/mlFIFO.h
llite/mlFIFOHW.c
llite/mlFIFOHW.h
llite/mlMathFunc.c
llite/mlMathFunc.h
llite/mlSetGyroBias.c
llite/mlSetGyroBias.h
llite/ml_mputest.c
llite/ml_mputest.h
llite/ml_stored_data.c
llite/ml_stored_data.h
llite/mlarray.c
llite/mlarray_legacy.c
llite/mlcontrol.c
llite/mlcontrol.h
llite/mldl.c
llite/mldl.h
llite/mldl_cfg.h
llite/mldl_cfg_mpu.c
llite/mldmp.c
llite/mldmp.h
llite/mlinclude.h
llite/mlstates.c
llite/mlstates.h
llite/mlsupervisor.c
llite/mlsupervisor.h
llite/pressure.c
llite/pressure.h
lutils/checksum.c
lutils/checksum.h
lutils/mputest.c
lutils/mputest.h
lutils/slave.h
latform/include/i2c.h
latform/include/linux/mpu.h
latform/include/log.h
latform/include/mlmath.h
latform/include/mlos.h
latform/include/mlsl.h
latform/include/mltypes.h
latform/include/mpu3050.h
latform/include/stdint_invensense.h
latform/linux/kernel/mpuirq.h
latform/linux/kernel/slaveirq.h
latform/linux/kernel/timerirq.h
latform/linux/log_linux.c
latform/linux/log_printf_linux.c
latform/linux/mlos_linux.c
latform/linux/mlsl_linux_mpu.c