Welcome to the Accelerometer Sensor wiki.
This webpage describes the Accelerometer software development effort, mainly its current status and features planned in the road map.
At present, accelerometer is supported only on OMAP4 platforms which uses the CMA3000 Tri-axis Accelerometer sensor. It can detect acceleration in all 3 axis i.e X, Y, Z. In addition, an accelerometer can detect free fall and change of state i.e motion by generating events.
Accelerometers can be used for games, free fall detection and also for activity monitoring.
List of Features Supported
- On OMAP4
- X-Axis Acceleration Data: Acceleration Data on X-axis in millig via /dev/eventXX
- Y-Axis Acceleration Data: Acceleration Data on Y-axis in millig via /dev/eventXX
- Z-Axis Acceleration Data: Acceleration Data on Z-axis in millig via /dev/eventXX
- Free fall event: Event generated when free fall interrupt detected via /dev/eventXX
- Mode Change: Allows changing of CMA3000 mode at runtime via sysfs
- Motion Detection Threshold Value: Allows read and update via sysfs
- Motion and Free fall detection time: Allows read and update via sysfs
- Free fall threshold value: Allows read and update via sysfs
- Input Subsystem
- This is a generic Linux framework for all input devices like keyboard, mouse, touchscreen and defines a standard set of events. It interfaces to user space through /sys/class/input interface.
- Evdev provides a generic way for input device events to be accessible under /dev/input/eventX .
- Accelerometer Driver
- This interfaces with CMA3000-D01 accelerometer chip via GPIO and I2C bus. GPIO line is used for generating interrupts while I2C bus for accessing registers. The driver allows setting threshold values like motion detection, free fall detection and motion/free fall detection time.
Feature Status Summary
Here is the summary of completed, ongoing and planned features in the Accelerometer driver.
|ID||Title||Target Week||Upstream Status||Link to Patches||Priority||Owner||Dev Status||Comments & Link to Details|
|ACCL01||Support for accelerometer sensor through Linux Input subsystem||NA||Under External Review||https://patchwork.kernel.org/patch/95884/ https://patchwork.kernel.org/patch/96022/||NA||Hemanth||Released in L24.6||See details|
Defect Status Summary
Here is the summary of completed, ongoing and planned defect fixes in the Accelerometer driver.
|ID||Title||Target Week||Upstream Status||Link to Patches||Features Impacted||Priority||Owner||Dev Status||Comments & Link to Details|
|Nothing to Report||NA||NA||NA||NA||NA||NA||NA||NA||NA|
Feature Status Details
Accelerometer sensors shall be supported through the linux input interface: Supported
Defect Status Details
None reported so far
Future Development Plan
None at present
Information on Testing Procedures
To be added.
Submit Your Ideas Here
Please list them as separate subsections (use ===title===). Please include your name, email ID and date for easy processing.
Hemanth V <email@example.com>
Hemanth V <firstname.lastname@example.org>
Patches Merged in kernel.org
Recent Submissions to Open Source
- SR ACCELEROMETER-SENSOR.0000
Current Status of Patches in Omapzoom Tree