History log of /hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8504ee554e5ca7014b3160b1cbeb4506e231338b 17-Dec-2012 JP Abgrall <jpa@google.com> MotionApps 5.1.2 release

* Fix race condition around enable/disable with GlobalHalMutex.
One instance could turn on "buffer/enable" causing another instance to
fail setting up sensors, which ends with
"HAL:ERR full data packet was not read"
The MPLSensor::mHALMutex is not sufficient in this case.
* Fix incorrect fprintf sysfs updates.
Using fprintf() delays writes, causing errors to go unnoticed,
and errors from fclose() which then flushes and sees the error
were being ignored.
* Switch to YAS53x vars.
* Add support for custom accel calibration loader function.
* Tweak calibration storage logic.
* Support for Low Power Quaternion (enabled by default)
* Support for DMP Screen Orientation (disabled by default)
* Clarify that readEvents() ignores arguments and return code.
* Tweak failed sysfs init handling.
* Simplifications/cleanups
. messages around write_sysfs_int() invocations.
. move common timestamp code out of Base into Support.
. sensor enabling code.
. remove some dead code.

* software/{build,core}...
. better support for IceCreamSandwich and JellyBean
. mllite, dmp register update
* software/simple_apps
. added gesture test

* Rebuild libmllite.so for RC9
* new libmplmpu.so for RC9 (and later)

Change-Id: Ie88a16c334fc7d0f0b3d2007e3005b5fd3e2b732
Signed-off-by: Mars Lee <mlee@invensense.com>
Signed-off-by: JP Abgrall <jpa@google.com>
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c
33ce91b37062fa63af192f5643de93f3beebe854 04-Oct-2012 JP Abgrall <jpa@google.com> MotionApps 5.1.1 release, with MA 5.1.0 for further merge review.

1. Removed all #ifdef in HAL's member APIs.
2. Added necessary comments as reference.
3. Made changes for coding style, optimization and so on per prior comments.
4. Now raw/calibrated gyroscope sensors could co-exist
Default sensor would be calibrated gyroscope sensor
for getDefaultSensor() call in Android.

* Correctly handle onPower()/masterEnable().
* Use the support functions for reading/writing sysfs.
1 line instead of 9 all over the place.
* Fix return code for {read,write}_sysfs_int():
was > 0 in case of failure instead of < 0.

Bug: 7211625
Change-Id: Ib49dab8ca0f48f45a2838de72f4f8ac011d0e68f
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c
64ca18f95225d0a86f7ccfd1d21c23971b9f77ae 26-Sep-2012 Ramanan Rajeswaran <ramanan@google.com> Revert "Official MA 5.1.2 - RC11 Release"

This reverts commit 6a4d9a48ffde124c498496f6dae1e77c2cae6864

Change-Id: I85c4b326a2adf930fcd4a64e4c4f36e99f4fa4cb
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c
6a4d9a48ffde124c498496f6dae1e77c2cae6864 22-Sep-2012 Rosa Chow <rchow@invensense.com> Official MA 5.1.2 - RC11 Release

Signed-off-by: Rosa Chow <rchow@invensense.com>
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c
7494581689b0fc1d8addd016b1c92d74d01f5ad4 16-Jun-2012 JP Abgrall <jpa@google.com> HACK: libsensors: Initial attempt at MotionApps 5.1 for MPU6050 + AKM8975

The code in this patch still needs work.
But checking it in will allow other parts of the sensor stack to have
something to work with.

1. Have sensor HAL for IIO driver, which uses MPU6050 + AKM8975 (on 2nd bus).
2. Include MPL binaries (libmllite.so/libmplmpu.so).
3. Include necessary header files.
4. remove light sensor dependency.
5. add missing include file.
6. modify the module name into "manta".
7. remove mlsdk directory.
8. Fix some known issues.
9. Sync up to June.12.
10. Tweak slightly so that it can be used with other sensors on manta and
doesn't break other devices that need a non IIO libsensors.

Change-Id: I0913a6df56fb0e99e9bae9ecc40ab03884d68124
Signed-off-by: Mars Lee <mlee@invensense.com>
/hardware/invensense/libsensors_iio/software/core/mllite/linux/ml_sysfs_helper.c