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/MPLSensor.cpp
|
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/MPLSensor.cpp
|
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/MPLSensor.cpp
|
ac5129a60eb420290835e7cb39f7f577a0b83f70 |
|
22-Jun-2012 |
JP Abgrall <jpa@google.com> |
libsensors_iio: Don't segfault when constructor fails when device absent Currently too much work is been done in the constructor. If a device is not there in the kernel, the constructor will fail to correctly initialize, and will leave a bunch of uninitialized strings that when used will cause segfaults. So now the classes have an isValid() method to be used after construction. If false, the object should be destroyed. Added extra checks to locate failed initialization. Change-Id: I3f767f9dc0b0f19b66d034a683444baed771a5db
/hardware/invensense/libsensors_iio/MPLSensor.cpp
|
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/MPLSensor.cpp
|