summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-25manta: batching and timestamp issuesandroid-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-releaseAnna Si
Signed-off-by: Mark Salyzyn <salyzyn@google.com> Signed-off-by: Anna Si <asi@invensense.com> Bug: 18958411 Change-Id: Ie06912843e82811a6728cf0a67ce1cf801efa997
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-09-14Manta: libsensors_iio: limit 200Hz sampling rateMark Salyzyn
Bug: 14121320 Change-Id: I8b7e036cd2dc4ea01c245ba6051a90f9a5530702
2014-09-01libsensors_iio: warningsMark Salyzyn
- unused argument warning - print format error Change-Id: I25c3f2048d15ee70a0ae8a816c303344dce5b5ce
2014-08-20strip invensense prebuilt librariesMark Salyzyn
Bug: 17162352 Change-Id: I032958a20c5782f8f548cf377c25d8e0fae00aa9
2014-08-07Invensense: add opt-in line for the 60xx componentsNick Vaccaro
Add opt-in line so devices can sign up to use 60xx components. Prior to this fix, any device that wasn't a hammerhead, dory, or guppy defaulted to parsing the 60xx folder's makefiles, regardless of whether the device had an Invensense chip or not. This was causing anthias builds to break. Change-Id: Ifa2c0fb96e985f1c81e1f5631bf53a0662aee978
2014-08-06am 3cbb88c4: (-s ours) am a873878b: Exclude anthias from 60xx builds - DO ↵Nick Vaccaro
NOT MERGE * commit '3cbb88c4beee59eeffec93f3ef631da17dad0a49': Exclude anthias from 60xx builds - DO NOT MERGE
2014-08-06am a873878b: Exclude anthias from 60xx builds - DO NOT MERGENick Vaccaro
* commit 'a873878b974e445f4e73dbcabbe0f4eb9b7801b0': Exclude anthias from 60xx builds - DO NOT MERGE
2014-08-04Exclude anthias from 60xx builds - DO NOT MERGENick Vaccaro
Change-Id: I41f175bad243182ae5b3bf33ff3f3764e87a318b
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-28am d29301d0: Invensense: 6515: fix flush completion for step detectorNick Vaccaro
* commit 'd29301d07151fde33381ccafc3d43524c5ebc068': Invensense: 6515: fix flush completion for step detector
2014-06-28am c6a022ca: Invensense: 6515: Spoof flush complete for step counterNick Vaccaro
* commit 'c6a022ca9e5b696874fb3ce0cc988f949a06533e': 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-19am 58fe70cf: Revert "Invensense: 6515: allow flush calls for step detector"Nick Vaccaro
* commit '58fe70cf169ef13506bd49e61e2cbd4dc1bf02e3': 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-16am e677ba07: Merge "Invensense: 6515: allow flush calls for step detector" ↵Justin Koh
into klp-modular-dev * commit 'e677ba07721a9e16ca90bf6e95df52d92817d3f9': 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-12am 9478d39a: Invensense: 6515: fix compass data reporting when pedometer onNick Vaccaro
* commit '9478d39a0d83d276899e3f5c876785c7f14ba497': 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-10am 12c6e53c: Invensense: 6515: Send step counter event on activation of sensorNick Vaccaro
* commit '12c6e53cec1b0b1f5bbfde63724d8ebb72ae936e': 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-23am 1b7f982c: Invensense: 6515: fix build break for user buildsNick Vaccaro
* commit '1b7f982c6d10c33fd60fb01878ca25df141f3adf': 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-19am 9794d8ab: Invensense: 6515: change factory calibration file default pathNick Vaccaro
* commit '9794d8ab1673a2e19a02c95c40a087356249e2f6': 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-09am f51dc826: Invensense: 6515: update HAL to 5.2.0 RC23Nick Vaccaro
* commit 'f51dc826bb5e75a074a14c1227e750160b3fc694': 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-07am e1df3ea6: Invensense: 6515: remember pedometer poll rateNick Vaccaro
* commit 'e1df3ea6fb4c1af4069e0610a5a7a8634b786e99': 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-02am 56fa6bff: Invensense: 6515: remove hard-coded pedometer poll timeNick Vaccaro
* commit '56fa6bff099c045ff4241c156309c6d94ac03f49': 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-30am b15903ff: Invensense: 6515: fix bug caused when pressure sensor is disabledNick Vaccaro
* commit 'b15903ff47c3d5234f14919941b36bf26a96a82e': 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."