BMA150 Linux device driver

  1. About project
  2. Source code
  3. Install and build
  5. Documentation
  6. Support

About project

This driver implements support for Bosch Sensortec's BMA150 accelerometer sensors. This driver is also fully compatible
with the SMB380 and BMA023 versions of the chip.
The driver is interfaced through the input layer and sends ABS_X, ABS_Y and ABS_Z events. It supports a polled setup
and an interrupt driven setup.

The driver is configured through platform data and contains the following settings:

Source code

This driver has been accepted by the Linux kernel community and can be found in versions > 3.1.

The latest Unixphere source tar-balls can be found in the download section. If you want to browse the git repository, it can be found at

Install and build

The driver can be installed and built as a module by issuing the following commands:
$ tar zxvf bma150.tar.gz
$ cd bma150
$ make

To cross-compile the driver you need to point to the target's kernel tree:
$ tar zxvf bma150.tar.gz
$ cd bma150
$ ARCH=<target architecture> CROSS_COMPILE=<path to your cross-compiler> \
  KDIR=<path to your kernel tree> make



The full datasheet for the BMA150 chip can be found here:


To report a bug or submit a patch to the driver, please drop a mail to our mailing list:
For patches, the same rules as for the Linux kernel applies.