History log of /device/samsung/tuna/libsensors/LightSensor.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35caa5b03a07682581f5ecc591142c73fc5a8781 26-Oct-2011 Arve Hjønnevåg <arve@android.com> sensors: Return a calculated lux value instead using the current 8 entry table

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
/device/samsung/tuna/libsensors/LightSensor.h
c1191a6c4c13d7b8bae00645b2b99f0347051cf7 13-Oct-2011 Vishnudev Ramakrishnan <vramakri@sta.samsung.com> SensorHAL: clear previous light value on enable

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>
/device/samsung/tuna/libsensors/LightSensor.h
cb410ba6658ed29c7ad59cc789ac95d95e912e0a 28-Jun-2011 Marty Fouts <mfouts@sta.samsung.com> tuna: sensors: add light, proximity, pressure sensors

NOTE:
- light sensor ADC values need to be calibrated.

Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb
Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>
/device/samsung/tuna/libsensors/LightSensor.h