| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The Crespo light sensor will report 4 bogus events that appear to be based
on the value at the time the sensor was disabled when the sensor is reenabled.
These events cause problems with monotonically increasing algorithm
in the Power Manager ALS support.
Change-Id: I6c53f9c93276921d359107df8ee0279579c50092
Signed-off-by: Mike Lockwood <lockwood@google.com>
|
|
|
|
| |
Change-Id: I75f3d0baeae13ff6f10947252b173a062a66d74a
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our initial LightSensor HAL returned the raw adc from the driver.
Now we implement an initial conversion from adc to lux levels.
It's not perfect, but lux varies quite a bit anyway and the levels
are so large that precision isn't generally as important as being
in the right ballpark. We can ask HW team to do get more precision
if necessary.
Change-Id: I7ad09bb13831b8100c255ab9cd7287a4b684619d
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
Goes with kernel drivers. Modeled after NexusOne version that uses
input framework. We removed the old device nodes and add rules
to make the new sysfs attributes accessible with the right permissions.
Change-Id: I61e12da6c553eee664cebee9b9b9a77f9d099020
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|