summaryrefslogtreecommitdiffstats
path: root/libsensors
Commit message (Collapse)AuthorAgeFilesLines
* tuna: Add ambient temperature sensor.Kyle Repinski2014-12-135-2/+104
| | | | | | | | | | | | This leverages the BMP180's ability to sense the temperature. Requires kernel change, but there are no adverse side-effects without the kernel change. Change-Id: Ibe2228d0ab30775556acb0a034f7f0904ed1b0b7 Signed-off-by: Kyle Repinski <repinski23@gmail.com> Conflicts: libsensors/sensors.cpp
* tuna: fix sensors build with 5.0Ziyann2014-12-131-3/+9
| | | | Change-Id: I2baeed3ad353ebeb94858c9edc0da78e41b09dcd
* tuna: update sensors to new layoutMichael Limb2014-12-131-1/+1
| | | | | 65xx has been added for hammerhead, need to update to reflect 60xx for tuna (manta needs this as well)
* Add liblogYing Wang2013-04-091-1/+1
| | | | | Bug: 8580410 Change-Id: I0aaa2bbe1702491079c1763de7d7e0c00cb8117f
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-7/+7
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
* am ece6e5bc: am 477abd91: sensors: Retry poll on EINTRArve Hjønnevåg2011-11-101-1/+3
|\ | | | | | | | | * commit 'cdf42b730b95b6a3ffb17c7a96452a606eb6d61b': sensors: Retry poll on EINTR
| * am 477abd91: sensors: Retry poll on EINTRArve Hjønnevåg2011-11-091-1/+3
| |\ | | | | | | | | | | | | * commit 'a0b9e472a70f4e380bfe06a25a44fb1242bf94ef': sensors: Retry poll on EINTR
| | * sensors: Retry poll on EINTRArve Hjønnevåg2011-11-091-1/+3
| | | | | | | | | | | | Change-Id: I29dec0d901ce56b385d03e24d354b1f3d2b13776
* | | am 63bb261a: Merge "sensors: Return a calculated lux value instead using the ↵Arve Hjønnevåg2011-11-023-40/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | current 8 entry table" into ics-mr1 * commit '8fcc12c67ec3f3eac78c1d275a007c374ffbc036': sensors: Return a calculated lux value instead using the current 8 entry table
| * | sensors: Return a calculated lux value instead using the current 8 entry tableArve Hjønnevåg2011-11-013-40/+8
| |/ | | | | | | | | | | | | | | | | | | | | The light sensor now uses the lux to current formula in the datasheet, I = 10 * log(Ev) uA, and multiplies the result by 4 as an attempt to correct for the glass in front of the sensor. Also update the config_autoBrightnessLevels table so the auto brightness change occurs at the same adc values as before (or close for 7.2 lux). Change-Id: I121ce0f23dca093c9607ac9447b9263f48507a09
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Iab0aa050fba57491f5cb7ed928f44a0fda7d1ea4
* SensorHAL: clear previous light value on enableVishnudev Ramakrishnan2011-10-212-0/+9
| | | | | | | | | | Sensor HAL changes to make light sensor value to be reported on enabling light sensor. - Ignore the dummy initial value -1 that is pushed by driver - Set previous light value to -1 on enable Change-Id: Iaa64fb02f4b82339ba96146d170ca447f409a5ad Signed-off-by: Vishnudev Ramakrishnan <vramakri@sta.samsung.com>
* SensorHAL: solve the issue that sensors get slowWon Hyoung Lee2011-10-191-7/+6
| | | | | | | | | | | | Solving the bug where residual events in input queue from one sensor that was disabled causes events from other sensors to not be returned until num events = count. The bug has the symptom that events from all sensors seem to be delayed. The bug was in readEvents() in SamsungSensorBase.cpp. Solution is to discard the residual events if sensor has been disabled already. Change-Id: I8c9e1ff741c8f2864d6bc7513c1163c41a178852 Signed-off-by: Won Hyoung Lee <whlee@sta.samsung.com>
* silence sensor HALMathias Agopian2011-10-101-2/+3
| | | | Change-Id: I2a2382a73ff6615cc1148ec838fa188964a9d1d4
* sensors: Let MPLSensor populate the sensor list with the sensors it providesArve Hjønnevåg2011-08-182-44/+10
| | | | | | | If the mpl library is not available we do not want the fused sensors from MPLSensor. Change-Id: If2ac70188db8c0319cc24dc546d60a34de1c986d
* Reference invensense headers in their new locationJean-Baptiste Queru2011-08-011-1/+1
| | | | Change-Id: Ic3f255d147f3b9fd59d7a3be1d807d1a7b67fed3
* tuna: sensors: Light sensor ADC calibration valuesVishnudev Ramakrishnan2011-07-191-9/+9
| | | | | | | | | | | Changed the light sensor ADC calibration values to the ones provided by proxima hardware team. Also corrected the comparison operator during adc to lux lookup to account for boundary values. Change-Id: I434f5bf8774f5eff0e639377db73c058a10f7d2d Signed-off-by: Vishnudev Ramakrishnan <vramakri@sta.samsung.com>
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-4/+0
| | | | | | Bug: 5010576 Change-Id: Id47575b409e10db2f101a6a5d3520c5933d94be2
* tuna: sensors: add light, proximity, pressure sensorsMarty Fouts2011-06-2911-4/+613
| | | | | | | | NOTE: - light sensor ADC values need to be calibrated. Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>
* ARM: omap4: tuna: Add input event reader to sensor HALMarty Fouts2011-06-295-7/+220
| | | | | Change-Id: I34a4a4dea8b30b22046889246f164c3ea40ab2a4 Signed-off-by: Danke Xie <d.xie@sta.samsung.com>
* Add sensors halArve Hjønnevåg2011-06-162-0/+409
Only the sensors from the invensense library are inclueded fro now. Change-Id: I997d38eb722e2e5c0b44168db8c70282fab407a6