summaryrefslogtreecommitdiff
path: root/6515/libsensors_iio
AgeCommit message (Collapse)Author
2015-05-19am a38914db: Invensense: 6515: adjust minDelay and maxDelay valuesNick Vaccaro
* commit 'a38914db2fd5b3192bfa8fbd46269aa860d7937b': Invensense: 6515: adjust minDelay and maxDelay values
2015-05-18Merge commit '9b7ebb51' into manualmergeNick Vaccaro
Change-Id: I22ed7a1963ca6a9f599c5e73a83af66cd4de8267
2015-05-18Invensense: 6515: adjust minDelay and maxDelay valuesNick Vaccaro
Adjust minDelay and maxDelay settings for Android Wear devices. Bug: 19575833 Change-Id: Ia8cc54a13865177a68a2d18108e1f6cf5fbe7ea6
2015-05-14Invensense: 6515: Update HAL to v5_2_0_L_RC26-2015-02-27Nick Vaccaro
Merged in the latest upgrade from Invensense, that purports to fix some cts sensor test failures and includes a better pedometer algorithm. Bug: 19575833 Bug: 16778026 Bug: 16702488 Change-Id: Iaf8eba248bb9aa97f7b6a5394e939370a4812776
2014-12-16am f8c01e46: Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."Ying Wang
* commit 'f8c01e46ab99e08b7d866836c8cb72f8c4239dbe': Cleanup Obsolete LOCAL_PRELINK_MODULE.
2014-12-16Cleanup Obsolete LOCAL_PRELINK_MODULE.Ying Wang
Bug: 18675947 Change-Id: I703fe42513b15755378d652077f8f7d070f6aad3
2014-12-10am e3804bc5: Merge "Remove checks for TARGET_SIMULATOR"Dmitriy Ivanov
* commit 'e3804bc5d0187112d9760e36b9a1e23a9a63bf9f': Remove checks for TARGET_SIMULATOR
2014-12-09Remove checks for TARGET_SIMULATORDmitriy Ivanov
Change-Id: I75bc0121233aa5577958dd32435dd8dcfced3a93
2014-11-21am 10de2beb: Merge "Fix some bugs caught by warnings."Dan Albert
* commit '10de2bebb7bc9793483858824143cfe21a5dff85': Fix some bugs caught by warnings.
2014-11-21Fix some bugs caught by warnings.Dan Albert
This code had several cases of trying to use memset(3) to zero out an array, but was using sizeof(char*) instead of the real size of the buffer, so I've fixed it up to just use calloc(3) instead. There were very obvious warnings for this. Along the lines of "warning: this doesn't do what you think it does". To avoid this kind of thing going unnoticed in the future, I've turned on -Werror and -Wall in the project. Change-Id: I06057976f1f4721dcf9acdd37f2cb8a64b7865a7
2014-10-22sensors: mpu6515: dont reference count SMD eventsandroid-5.1.1_r7android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1lollipop-mr1-devNick Vaccaro
Wakelock code should only ever hold wakelock across a single return and re-entry into poll(). Remove unneccesary SMD mutex Change-Id: I9774152f2326137259ceecb85a0430ffdc964124
2014-10-17sensors: mpu6515: grab wakelock on significant motion eventNick Vaccaro
The kernel sensor driver grabs a half second wakelock to allow time for this HAL to read the significant motion event from the kernel and grab its own wakelock. The HAL holds the wakelock until Sensor Services calls poll() again, assuring that Sensor Services has read the SMD event and will have grabbed its own wakelock. Bug: 16540661 Change-Id: I1c88cd9386a9f711e6cba81a14539b835f4e7414
2014-10-14sensors: mpu6515: fix memory corruption bugNick Vaccaro
Remove some superfluous code causing memory corruption. Bug: 17990213 Change-Id: I3a6b867a9b00df5638fb87d0eb454027b98617c5
2014-09-26Invensense: 6515: add SENSORS_DEVICE_API_VERSION_1_3 supportandroid-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-releaselollipop-devlollipop-cts-releaseNick Vaccaro
Update 6515 HAL to be SENSORS_DEVICE_API_VERSION_1_3 compliant Bug: 16952122 Change-Id: Iae9bd783236a0128b89949c49b62a7ff2cea98ec
2014-08-20strip invensense prebuilt librariesMark Salyzyn
Bug: 17162352 Change-Id: I032958a20c5782f8f548cf377c25d8e0fae00aa9
2014-06-29am 7ae170b4: am d29301d0: Invensense: 6515: fix flush completion for step ↵Nick Vaccaro
detector * commit '7ae170b477f3b6a7cdbe6bfcbe42240bfa075c8c': Invensense: 6515: fix flush completion for step detector
2014-06-29am 8099a732: am c6a022ca: Invensense: 6515: Spoof flush complete for step ↵Nick Vaccaro
counter * commit '8099a732b0339f73daa1b87e291b4f99b294f31b': Invensense: 6515: Spoof flush complete for step counter
2014-06-27Invensense: 6515: fix flush completion for step detectorNick Vaccaro
Fix a bug in the HAL that was delaying flush completion packet from getting delivered up to Sensor Services. Fix a compass calibration bug. Bug: 15316005 Bug: 15716657 Change-Id: Id9eba806ada8bc6dabb5f182683b015751a8c0d9
2014-06-27Invensense: 6515: Spoof flush complete for step counterNick Vaccaro
When flush is called for the step counter, allow the flush call to happen, and then issue a flush completion event. Bug: 15316005 Change-Id: I55bb3bc42c896ee6f9a222e5a09b519e64f4b09b
2014-06-19am ab67f29c: am 58fe70cf: Revert "Invensense: 6515: allow flush calls for ↵Nick Vaccaro
step detector" * commit 'ab67f29c5f31ad0c90a2f2fed70afe71ca9e5464': Revert "Invensense: 6515: allow flush calls for step detector"
2014-06-19Revert "Invensense: 6515: allow flush calls for step detector"Nick Vaccaro
This reverts commit c994cff5873e223100a9f4f2ce9281bec460ef16. This fixes step counter behavior, but breaks CTS tests for testBatchAndFlush and testBatchAndFlushWithHandler (b/15316005). Bug: 15695965 Change-Id: I9660c11c8811fdfc207d66137667b5a781ac41fe
2014-06-16am 48a2e8ad: am e677ba07: Merge "Invensense: 6515: allow flush calls for ↵Justin Koh
step detector" into klp-modular-dev * commit '48a2e8adf58c35df55227e9baff6a12a12faf880': Invensense: 6515: allow flush calls for step detector
2014-06-16Merge "Invensense: 6515: allow flush calls for step detector" into ↵Justin Koh
klp-modular-dev
2014-06-15Invensense: 6515: allow flush calls for step detectorNick Vaccaro
Pass through calls for flush of step detector. Bug: 15316005 Change-Id: If36837b77e6f7021dfe127be53774b7bd72ffdee
2014-06-12am d0ba40f5: am 9478d39a: Invensense: 6515: fix compass data reporting when ↵Nick Vaccaro
pedometer on * commit 'd0ba40f540b676dcea65f8db04c1220aa43c2ea3': Invensense: 6515: fix compass data reporting when pedometer on
2014-06-12Invensense: 6515: fix compass data reporting when pedometer onNick Vaccaro
When step counter is on, no data was reported from compass when magnet is attached (device on charger), causing compass app to freeze. When magnet is attached, compass will now return the last good value it read, keeping the compass app happy. Bug: 15282844 Change-Id: Ib7102aac9d5a04cfdbf253be01809a1a192a81dc
2014-06-11am e8a1ad43: am 12c6e53c: Invensense: 6515: Send step counter event on ↵Nick Vaccaro
activation of sensor * commit 'e8a1ad4331dea19e1a4de533bdf459daee57a3d3': Invensense: 6515: Send step counter event on activation of sensor
2014-06-07Invensense: 6515: Send step counter event on activation of sensorNick Vaccaro
Rules for an "on-change" sensor type state "The HAL must return an event immediately when an on-change sensor is activated". An initial event was not being sent in the event of the step counter sensor being enabled, now it is. Bug: 15429158 Change-Id: I670bc2bdcbc0138193e1d39639d8ef71000bd436
2014-05-23am 365ddc02: am 1b7f982c: Invensense: 6515: fix build break for user buildsNick Vaccaro
* commit '365ddc02efe4cac1e87dd8e6736892843fd720c1': Invensense: 6515: fix build break for user builds
2014-05-23Invensense: 6515: fix build break for user buildsNick Vaccaro
Building for target PRODUCT_NAME-user broke due to makefile not having proper support for a "user" lunch target. Change-Id: I25e7e9dccbed30b516bbb9473af9625c8386e396
2014-05-19am 4afc6a7d: am 9794d8ab: Invensense: 6515: change factory calibration file ↵Nick Vaccaro
default path * commit '4afc6a7dba98d05660cc8d27dc79200fa9a725e4': Invensense: 6515: change factory calibration file default path
2014-05-19Invensense: 6515: change factory calibration file default pathNick Vaccaro
Default path for the factory calibration file for Accel and Gyro calibration data was /data, but /data will get cleared on a factory reset, causing the factory calibration data file to get deleted. The new path for the file is now /persist/inv_cal_data.bin. Bug: 15002683 Change-Id: I9f9d0a9e52122a6d829cb615cab0368a179022ef
2014-05-09am b1443cad: am f51dc826: Invensense: 6515: update HAL to 5.2.0 RC23Nick Vaccaro
* commit 'b1443cad64e60b4a158ca5d5b1c62c8f94377d35': Invensense: 6515: update HAL to 5.2.0 RC23
2014-05-08Invensense: 6515: update HAL to 5.2.0 RC23Nick Vaccaro
RC23 (driver and HAL combination) purports to fix the following RC22 issues: - Cadence fix to improve Step counter performance. - Batch mode wakes up device in suspend mode - Implement suspend_noirq method, removed unnecessary usleep - Handle bad compass data in HAL - Handle pressure support correctly in HAL Added the following fixes to RC23 HAL drop from Invensense: - fix bug caused when pressure sensor is disabled - remember pedometer poll rate - remove hard-coded pedometer poll time Bug: 14234011 Change-Id: I3e0a7b232d8047a66029b6af967752f9e653ab27
2014-05-07am ed6a3dbd: am e1df3ea6: Invensense: 6515: remember pedometer poll rateNick Vaccaro
* commit 'ed6a3dbd62fd3191bd9aaf4d72d72ae95f95e96b': Invensense: 6515: remember pedometer poll rate
2014-05-06Invensense: 6515: remember pedometer poll rateNick Vaccaro
The enableDmpPedometer call was hard-coding the pedometer poll period to 100mS. Save off the period passed to batch() as the new step count polling period instead of hard-coding it to 100mS. Bug: 14299562 Change-Id: Idc680c0a5d3c8bad7caf0db58336ea60d56a81de
2014-05-02am 6647e75f: am 56fa6bff: Invensense: 6515: remove hard-coded pedometer poll ↵Nick Vaccaro
time * commit '6647e75fb8fc0f07c8fe0f0ab1882d6ab8d949c9': Invensense: 6515: remove hard-coded pedometer poll time
2014-05-02Invensense: 6515: remove hard-coded pedometer poll timeNick Vaccaro
Previous code returned a hard-coded constant of 100mS when asked for pedometer polling time; change to use mStepCountPollTime instead. Bug: 14299562 Change-Id: I0e99f8b61da36093e6014cafe44088affbfb9033
2014-04-30am f6969d98: am b15903ff: Invensense: 6515: fix bug caused when pressure ↵Nick Vaccaro
sensor is disabled * commit 'f6969d9828673930b178c03231af03fd8fe5aa11': Invensense: 6515: fix bug caused when pressure sensor is disabled
2014-04-29Invensense: 6515: fix bug caused when pressure sensor is disabledNick Vaccaro
If building the Invensense HAL to not include a pressure sensor, the sensorlist returned from the HAL gets screwed up in that the sensor attributes reported by the HAL get off-by-one (i.e. sensor #2 reports attributes for sensor #3). Bug: 14368807 Change-Id: I9c1e634dc0f471dbb8eedf8d36bc8e2fdaf2ce67
2014-04-24Merge "Update driver to follow new sensor_t struct after inclusion of flags ↵Aravind Akella
and maxDelay fields."
2014-04-16Update driver to follow new sensor_t struct after inclusion of flags and ↵Aravind Akella
maxDelay fields. Change-Id: Ic0f6b4dba8b6ae5fe648bbb9b5a89fcf22c49848
2014-04-16Invensense: 6515: update HAL to 5.2.0 RC22Nick Vaccaro
RC22 purports to fix the following RC20 issues: - CTS for Sensor Module Fails for SensorTest - Resource leak in HAL - DMP not disabled after SMD fired - Pedometer pedometer_step_thresh is not consistently applied - Update rate handling when batch mode with PED or SMD - Orientation and rotation vector fix - Redundant wait after setting DLPF Bug: 13936932 Change-Id: Ieccfc76b6dddf414db4271afb612d3493f7df534
2014-04-10Update driver to follow new sensor_t format after inclusion of stringType ↵Aravind Akella
and requiredPermission Change-Id: Iee933348424d71bd93fe461583fe53e0bcca7550
2014-04-08DO NOT MERGE Update driver to follow new sensor_t format after inclusion of ↵Aravind Akella
stringType and requiredPermission This reverts commit 12339ff701e38057f6fc9f5739a9e7175f9f75c8. Change-Id: I56801a863ddcb721cf95f759e46566c8f43e1f4b
2014-04-05Revert "Update drivers to follow new sensor_t format"Etienne Le Grand
This reverts commit 50b4bc1c7f7e785f3548f26c80ce5e4267b09c72. Change-Id: I71d944f1ff350af82685ec91dd0b4f4c32867afa
2014-04-04Update drivers to follow new sensor_t formatJP Abgrall
This deals with inclusion of stringType and requiredPermission Change-Id: Ife22a545550aff3f410dd2e7a47d7c59f64d9d24
2014-04-02Invensense: 6515: Update MPU libraries to RC20Nick Vaccaro
Update the libmllite.so and libmplmpu.so binaries to RC20. Update sources for libraries. Remove obsolete MPLSensorSysAPi.cpp and MPLSensorSysApi.h. Change-Id: Ida5c2cdb97fba37574926cf5731e45e731f9d852
2014-03-31Invensense: 6515: disable pressure sensorNick Vaccaro
Fixes bug id 13729545 Change-Id: I1aa643aa63c447b4fd38d069d499c34552acc41d
2014-03-27Invensense: 6515: Import of Motion Apps 5.2.0 HAL RC20 ReleaseNick Vaccaro
Import latest Invensense HAL for use by devices using the 6515. Change-Id: I1b585df6882ea007ffafba44261283784d667c2a