| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Changes to match libakm change to get raw acc data from
driver and to allow setting acc driver delay separately
from mag/orientation driver.
Change-Id: Ibe5648f1395334ef3bf5975ec0660f10199c9833
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
|
|
| |
This reverts commit 339031d332706f21cbce560ca379e7624cad8316.
|
|
|
|
| |
This reverts commit e3d3b3173b5258f3629e1e2d0c1692270262e8c1.
|
|
|
|
| |
This reverts commit 749e2d79ec72c186019456f60ce7f3dd18b2f68b.
|
|
|
|
|
|
|
|
|
| |
Changes to match libakm change to get raw acc data from
driver and to allow setting acc driver delay separately
from mag/orientation driver.
Change-Id: I7cfa7f5076e0735c17931558687c4cdf96959ac3
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
|
|
|
|
|
|
| |
By using EV_REL instead of EV_ABS, sensors can get continous events
even though they're not changed.
Change-Id: I2341c0d1a1cdec223328796355ebf0210a9dea5e
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
| |
also change the magnetic field sensor reported resolution
from 1/256 to 1/16. I'm not sure how it can be 1/256 given that LSB is
1/16 uT. This seems more correct.
Factorize a few values in the header file.
Change-Id: Ifd479e431b10584d3bdd28fc1ca189e5402ea3cc
|
|
|
|
| |
Change-Id: Id9adf56b499c9a5f6b84d1b5796cf10313fd69c7
|
|
|
|
|
|
|
|
|
|
| |
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 sensor range/resolution data correctly
from datasheets and driver specifications
Change-Id: If636e8f54581e7e95f838cb66eed9d7a15a7378a
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
| |
Change-Id: I75f3d0baeae13ff6f10947252b173a062a66d74a
|
|
|
|
|
|
|
| |
Because the kernel now passes the sum of accel values instead of each raw value
Change-Id: Id5d254fd3200a778811f52df89c4fc286fe91613
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
|
|
|
| |
Gryoscope kernel driver uses 2000dps,
so changed HAL to report gryscope values with correct unit
Change-Id: I8b05684cb7e0c79f5cefb28c197f4b2e1ad768da
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
|
|
|
|
|
| |
Instead of removing 'FETCH_FULL_EVENT_BEFORE_RETURN' code,
make it check out whether gyrscope is enabled or disabled
and it will not go to 'again' label ceaselessly when gyroscope disabled
in order to not affect the other senors.
Change-Id: I11a09208a997d476724c70cbc4402ba6a163d8de
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
|
|
| |
Renaming the libsensors from crespo to herring
Change-Id: Id44d10210cb7e301c990b6d2de2e2d95ac338a16
Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
|
|
|
|
|
|
|
|
|
| |
This change modifies the AKMSensor portion of the sensor HAL to
use libakm. Previously this code communicated with the AKM
daemon and the magnetometer driver using a misc device.
Change-Id: Icbbd6f00de0257ca9bf4d4942b82c519f15429f4
Signed-off-by: Adam Hampson <ahampson@sta.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Accelerometer name was wrong. So was manufacturer for a couple
of drivers.
Change-Id: If096e12c4185693638549bc88c360fab3b93606d
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
|
|
|
|
|
| |
Fix delays to be int64_t nanoseconds. Needs corresponding driver fix.
Change-Id: I5a780c3743d91df70fcd1274c5b32ac58c68ac2b
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
|
|
|
| |
Change-Id: I62301df6e4e8cb177cd900230e961db8f9256721
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
| |
Change-Id: Ieb3b329b669ee9789dd4822b538e9eba1f53d91f
Signed-off-by: tim.sk.lee <tim.sk.lee@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>
|