Accelerometer

Welcome to the Accelerometer Sensor  wiki.

Introduction
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

Design



 * 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
 * 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.

 Accelerometer Driver

Defect Status Summary
Here is the summary of completed, ongoing and planned defect fixes in the Accelerometer driver.

 Accelerometer Driver

FAQ
TBD

SR: ACCELEROMETER-SENSOR.0000
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.

Owner
Hemanth V 

Contributors
Hemanth V 

Patches Merged in kernel.org
None

Recent Submissions to Open Source

 * SR ACCELEROMETER-SENSOR.0000
 * https://patchwork.kernel.org/patch/95884/
 * https://patchwork.kernel.org/patch/96022/

Current Status of Patches in Omapzoom Tree
None